Intermitent xibo errors after a shutdown

Asked by james agada

Intermittently I get this error after restarting the python client or the entire box. I have to restart the client several times before it then starts working.

[12-01-14 15:31:29.875] WARNING: Could not find font face Arial. Using sans instead.
Exception in thread Thread-8 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "XiboClient.py", line 897, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'log'
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "XiboClient.py", line 3464, in run
  File "XiboClient.py", line 1706, in next
  File "/usr/lib/python2.6/threading.py", line 337, in release
  File "/usr/lib/python2.6/threading.py", line 274, in notify
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Unhandled exception in thread started by
Error in sys.excepthook:

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

I'm assuming this is with the 1.2.x series client?

It's probably a race condition looking at the line that triggers it.

If you're using run_always.sh, the Python interpreter will exit with an error code and the loop in run_always will fire it straight back up as many times as it takes to get it running cleanly. You don't need to keep executing it.

If it's not restarting it for some reason, then I need to know what exit code the Python interpreter is giving or you can tweek run_always to not care if the client is exited cleanly and always restart it.

Alex

Can you help with this problem?

Provide an answer of your own, or ask james agada for more information if necessary.

To post a message you must log in.