UniversalDevicesInc/Polyglot

Threading sceduler IndexError

Opened this issue · 0 comments

My harmonyhub crashed in self.run and not sure there is anything we can do in polyglot to fix this?

ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub: Exception in thread scheduler_thread:
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub: Traceback (most recent call last):
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub:   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub:     self.run()
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub:   File "/usr/lib/python2.7/threading.py", line 763, in run
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub:     self.__target(*self.__args, **self.__kwargs)
ERROR    [03-30-2017 10:53:56] polyglot.nodeserver_manager: harmonyhub:   File "/usr/local/lib/python2.7/dist-packages/sleekxmpp/xmlstream/xmlstream.py", l
ine 1784, in _scheduler_thread
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub:     self.scheduler.process(threaded=False)
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub:   File "/usr/local/lib/python2.7/dist-packages/sleekxmpp/xmlstream/scheduler.py", l
ine 144, in process
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub:     self._process()
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub:   File "/usr/local/lib/python2.7/dist-packages/sleekxmpp/xmlstream/scheduler.py", l
ine 153, in _process
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub:     wait = self.schedule[0].next - time.time()
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub: IndexError: list index out of range
ERROR    [03-30-2017 10:53:57] polyglot.nodeserver_manager: harmonyhub: 

I haven't searched around for a solution, just putting this here so I can look into it when time allows, and may be of interest to others for random failures.