PyClient race condition setting up log object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Invalid
|
Low
|
Alex Harrington |
Bug Description
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/
File "XiboClient.py", line 897, in run
<type 'exceptions.
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/
File "XiboClient.py", line 3464, in run
File "XiboClient.py", line 1706, in next
File "/usr/lib/
File "/usr/lib/
<type 'exceptions.
Unhandled exception in thread started by
Error in sys.excepthook:
no longer affects: | xibo/1.2 |
no longer affects: | xibo/1.3 |
Changed in xibo: | |
milestone: | 1.4.0-rc1 → 1.5.0 |
Seems to be some kind of race where the log object hasn't been fully instantiated before the DownloadManager parses RequiredFiles.
It's odd because the log object is created and started before the DownloadManager is - so perhaps need to look at some way of locking the startup of subsequent objects until the log object is happy.