Have you checked the debug option in .ini file? I see it raises the "tgext.socketio.server.DebugModeForbiddenException" that states "The SocketIO server currently doesn't work with debug mode enabled. Set debug=false", maybe it's just that?
On Sun, Nov 2, 2014 at 7:57 PM, Jean-Denis Girard <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi list, > > I wanted to test tgext.socketio with my application, but it seems to be > incompatible with , here is the error I got: > > (tg234)[jdg@tiare astportal3]$ gearbox serve --debug --conf=tiare.ini > > > 08:52:43,743 INFO [tgscheduler.scheduler] Starting the scheduler... > > > Traceback (most recent call last): > > > File "/home/SysNux/tg234/bin/gearbox", line 9, in <module> > > > load_entry_point('gearbox==0.0.6', 'console_scripts', 'gearbox')() > > > File "/home/SysNux/tg234/lib/python2.7/site-packages/gearbox/main.py", > line 94, in main > > return gearbox.run(args) > > > File "/home/SysNux/tg234/lib/python2.7/site-packages/cliff/app.py", > line 215, in run > > result = self.run_subcommand(remainder) > > > File "/home/SysNux/tg234/lib/python2.7/site-packages/cliff/app.py", > line 280, in run_subcommand > > result = cmd.run(parsed_args) > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/cliff/command.py", line > 50, in run > > self.take_action(parsed_args) > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/gearbox/commands/serve.py", > line 281, in take_action > > serve() > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/gearbox/commands/serve.py", > line 271, in serve > > server(app) > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", > line 189, in server_wrapper > > **context.local_conf) > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/paste/deploy/util.py", > line 55, in fix_call > > val = callable(*args, **kw) > > > File > "/home/SysNux/tg234/lib/python2.7/site-packages/tgext/socketio/server.py", > line 21, in socketio_server_runner > > raise DebugModeForbiddenException("The SocketIO server currently > doesn't work " > > tgext.socketio.server.DebugModeForbiddenException: The SocketIO server > currently doesn't work with debug mode enabled. Set debug=false > > 08:52:43,772 INFO [tgscheduler.scheduler] Shutting down the > scheduler... > > Error in atexit._run_exitfuncs: > > > Traceback (most recent call last): > > > File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs > > > func(*targs, **kargs) > > > File > > "/home/SysNux/tg234/lib/python2.7/site-packages/TGScheduler-1.6.3-py2.7.egg/tgscheduler/scheduler.py", > line 31, in stop_scheduler > > si.stop() > > > File > > "/home/SysNux/tg234/lib/python2.7/site-packages/TGScheduler-1.6.3-py2.7.egg/tgscheduler/kronos.py", > line 782, in stop > > self.thread.join() > > > File "/usr/lib64/python2.7/threading.py", line 950, in join > > > self.__block.wait() > > > File "/usr/lib64/python2.7/threading.py", line 339, in wait > waiter.acquire() > File "_semaphore.pyx", line 112, in > gevent._semaphore.Semaphore.acquire (gevent/gevent._semaphore.c:3004) > File "/home/SysNux/tg234/lib/python2.7/site-packages/gevent/hub.py", > line 331, in switch > return greenlet.switch(self) > LoopExit: This operation would block forever > Error in sys.exitfunc: > Traceback (most recent call last): > File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File > > "/home/SysNux/tg234/lib/python2.7/site-packages/TGScheduler-1.6.3-py2.7.egg/tgscheduler/scheduler.py", > line 31, in stop_scheduler > si.stop() > File > > "/home/SysNux/tg234/lib/python2.7/site-packages/TGScheduler-1.6.3-py2.7.egg/tgscheduler/kronos.py", > line 782, in stop > self.thread.join() > File "/usr/lib64/python2.7/threading.py", line 950, in join > self.__block.wait() > File "/usr/lib64/python2.7/threading.py", line 339, in wait > waiter.acquire() > File "_semaphore.pyx", line 112, in > gevent._semaphore.Semaphore.acquire (gevent/gevent._semaphore.c:3004) > File "/home/SysNux/tg234/lib/python2.7/site-packages/gevent/hub.py", > line 331, in switch > return greenlet.switch(self) > gevent.hub.LoopExit: This operation would block forever > > > > Thanks, > - -- > Jean-Denis Girard > > SysNux Systèmes Linux en Polynésie française > http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27 > -----BEGIN PGP SIGNATURE----- > > iEYEARECAAYFAlRWfpIACgkQuu7Rv+oOo/jC5wCfT7IHgL6wxvlwGLKZIwa7bKNb > CIgAn3W4gAbl/6I9pGDZKuMa0LJQTLNA > =aiZr > -----END PGP SIGNATURE----- > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

