This database [sthpw] does not exist - Printable Version +- TACTIC Open Source (http://forum.southpawtech.com) +-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3) +--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4) +--- Thread: This database [sthpw] does not exist (/showthread.php?tid=213) |
This database [sthpw] does not exist - listy - 04-18-2021 Code: ERROR DURING TASK EXECUTION What it could be? Tactic 4.8, py3 RE: This database [sthpw] does not exist - remkonoteboom - 06-24-2021 Sorry, I completely missed this. I am not sure what is calling it exactly. It would be really useful to know what "self" is in this line: File "/opt/tactic/tactic/src/tactic/command/scheduler.py", line 237, in _do_execute Batch(site=self.site, login_code=self.user, project_code=self.project,ticket=self.login_ticket) It would be a class that is derived from SchedulerTask. Know what kind of task this is (rather than this base class) would point to what task is trying to be run and like where it is being called from. RE: This database [sthpw] does not exist - listy - 03-05-2022 This error keeps repating from time to time. I don't know how to fix it RE: This database [sthpw] does not exist - remkonoteboom - 03-05-2022 To figure this out, I would need to know what "self" is on: "/opt/tactic/tactic/src/tactic/command/scheduler.py", line 237. It would be very useful to just put in a print statement: Code: print("SchedulerTask:self: ", self) on line 236. Once we know what "self" is, we can look at what task class is actually being executed. Otherwise it would just be guessing. RE: This database [sthpw] does not exist - listy - 04-19-2022 stderr.log does not print anything except Exceptions, so even if i add prints i can't get the moment where i get error in stderr.log and match it with the prints. Anyway i have added prints, and it looks like this: SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.RefreshTask object at 0x7fc63c4ac100> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_cache_tasks.<locals>.DirtyTask object at 0x7fc63c4ac070> SchedulerTaskelf: <pyasm.web.cache_startup.CacheStartup.start_basic_tasks.<locals>.DatabaseCloseTask object at 0x7fc63c4ac2b0> |