01-05-2021, 09:36 AM
(01-04-2021, 05:03 PM)listy Wrote: Ok. What about stdout.log, and exceptions log?
The last error in the stdout.log is based on a task that I tried to run before the update -
Code:
method: set_application_state ({'ticket': 'dafcca5237b3086dc39', 'project': 'short_film', 'language': 'javascript'}, 'top_layout', 'main_body', 'tactic.ui.tools.SchemaToolWdg', {'class_name': 'tactic.ui.tools.SchemaToolWdg', 'width': '1500', 'height': '600', 'path': '/Admin_views/project_admin/project_schema', 'element_name': 'project_schema', 'help_alias': 'advanced-schema-configuration', 'title': 'Project Schema'}, {}, {})
request_id: 140159899113216 - #0000047
timestamp: 2020-12-21 19:46:03
user: admin
simple method: <function ApiXMLRPC.get_widget at 0x7f79bf09b048>
ticket: dafcca5237b3086dc39
( 'tactic.ui.panel.TableLayoutWdg',
{ 'args': { 'element_names': 'namespace,search_type,title,description,database,table_name,has_table,class_name,color',
'expand_on_load': True,
'group_elements': [],
'search_keys': [ 'sthpw/search_object?id=142',
'sthpw/search_object?id=141',
'sthpw/search_object?id=146',
'sthpw/search_object?id=148',
'sthpw/search_object?id=145',
'sthpw/search_object?id=144'],
'search_type': 'sthpw/search_type'
So there's been no error from anything recent since I made the update.
Also I couldn't find the exceptions log.
Please can you tell me where I'll find that?
This is the last error in the stderr.log -
Code:
ERROR DURING TASK EXECUTION
Traceback (most recent call last):
File "/opt/tactic/tactic/src/tactic/command/kronos.py", line 842, in threadedcall
self.execute()
File "/opt/tactic/tactic/src/tactic/command/kronos.py", line 490, in execute
self.action(*self.args, **self.kw)
File "/opt/tactic/tactic/src/tactic/command/scheduler.py", line 231, in _do_execute
Batch(site=self.site, login_code=self.user, project_code=self.project)
File "/opt/tactic/tactic/src/pyasm/security/batch.py", line 58, in __init__
self._do_login()
File "/opt/tactic/tactic/src/pyasm/security/batch.py", line 84, in _do_login
security.login_as_batch(self.login_code)
File "/opt/tactic/tactic/src/pyasm/security/security.py", line 1449, in login_as_batch
self._login = Login.get_by_login(login_name, use_upn=True)
File "/opt/tactic/tactic/src/pyasm/security/security.py", line 253, in get_by_login
search = Search("sthpw/login")
File "/opt/tactic/tactic/src/pyasm/search/search.py", line 102, in __init__
project = Project.get_by_code(project_code)
File "/opt/tactic/tactic/src/pyasm/biz/project.py", line 223, in get_by_code
return super(Project, cls).get_by_code(project_name)
File "/opt/tactic/tactic/src/pyasm/search/search.py", line 5616, in get_by_code
search = Search( cls.SEARCH_TYPE )
File "/opt/tactic/tactic/src/pyasm/search/search.py", line 229, in __init__
raise SearchException('This database [%s] does not exist' %self.database)
pyasm.search.search.SearchException: This database [sthpw] does not exist