gevent-socketio
gevent-socketio copied to clipboard
Bottle reloader fails with gevent-socketio
I've recently started using gevent-socketio + bottle and I'm loving it. There's one issue that bothers a bit (not a show stopper though): Bottle's reloader functionality seems to break with gevent-socketio. This gist has a minimal working example showing the bug.
Things work alright, but when I edit the file and save it, I get the following error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/Users/test/envVis/lib/python2.7/site-packages/bottle.py", line 3154, in run
thread.interrupt_main()
KeyboardInterrupt
FWIW, my setup is:
- OS X 10.7
- python 2.7 with virtualenv
- gevent 1.0
- gevent-socketio 0.3.5
- bottle 0.12.5
Any ideas on what could be going wrong or how to fix it?