Thanks for the input guys. I modified ioloop.py to pass on KeyError,
however I just ran into another case (two lines above the current call
I added the exception for):
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/opt/belvedere/notify/listener.py", line 453, in run
tornado.ioloop.IOLoop.instance().start()
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py",
line 325, in start
fd, events = self._events.popitem()
KeyError: 'popitem(): dictionary is empty'
Any idea what that could be about? I've never seen it before. Should I
wrap that call in a try and pass on KeyError again?
Cheers
Nick