You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-08-20 08:03:14,829 [ERROR] --- Logging error ---
2019-08-20 08:03:14,829 [ERROR] Traceback (most recent call last):
2019-08-20 08:03:14,829 [ERROR] File "/usr/lib/python3.6/logging/__init__.py", line 998, in emit
2019-08-20 08:03:14,829 [ERROR] self.flush()
2019-08-20 08:03:14,829 [ERROR] File "/usr/lib/python3.6/logging/__init__.py", line 978, in flush
2019-08-20 08:03:14,829 [ERROR] self.stream.flush()
2019-08-20 08:03:14,829 [ERROR] BrokenPipeError: [Errno 32] Broken pipe
2019-08-20 08:03:14,829 [ERROR] Call stack:
2019-08-20 08:03:14,830 [ERROR] File "/usr/bin/sr_subscribe", line 11, in <module>
2019-08-20 08:03:14,830 [ERROR] load_entry_point('metpx-sarracenia==2.19.4b2', 'console_scripts', 'sr_subscribe')()
2019-08-20 08:03:14,830 [ERROR] File "/home/peter/src/sarracenia/sarra/sr_subscribe.py", line 2195, in main
2019-08-20 08:03:14,830 [ERROR] subscribe.exec_action(action,old)
2019-08-20 08:03:14,830 [ERROR] File "/home/peter/src/sarracenia/sarra/sr_instances.py", line 301, in exec_action
2019-08-20 08:03:14,830 [ERROR] elif action == 'start' : self.start_parent()
2019-08-20 08:03:14,830 [ERROR] File "/home/peter/src/sarracenia/sarra/sr_instances.py", line 778, in start_parent
2019-08-20 08:03:14,830 [ERROR] self.start()
2019-08-20 08:03:14,831 [ERROR] File "/home/peter/src/sarracenia/sarra/sr_subscribe.py", line 1925, in start
2019-08-20 08:03:14,831 [ERROR] self.run()
2019-08-20 08:03:14,831 [ERROR] File "/home/peter/src/sarracenia/sarra/sr_subscribe.py", line 1695, in run
2019-08-20 08:03:14,831 [ERROR] self.connect()
2019-
it goes on with a full stack trace... Guess: a dummy logger is used at the beginning, and it isn't getting overridden. This is probably related to the root cause of the ssh not exiting thing, because the dummy logger likely doesn't re-direct file descriptors. except the message is in the log... hmm... puzzling..
This is was produced by running sr_subscribe start cclean_f91 and looking at the log...
The text was updated successfully, but these errors were encountered:
petersilva
changed the title
error message...
self.flush() not found error message...
Aug 20, 2019
looks like after things initialize it goes away, and things work... but a couple of pages of errors on startup is weird. also, I added debug to the configuration during testing.
@benlapETS I expect the work you have done to fix the logging & re-direction will fix this.
After #240 is done, probably check this, and will not be able to reproduce anymore... easy win.
it goes on with a full stack trace... Guess: a dummy logger is used at the beginning, and it isn't getting overridden. This is probably related to the root cause of the ssh not exiting thing, because the dummy logger likely doesn't re-direct file descriptors. except the message is in the log... hmm... puzzling..
This is was produced by running sr_subscribe start cclean_f91 and looking at the log...
The text was updated successfully, but these errors were encountered: