liftoff / GateOne

Gate One is an HTML5-powered terminal emulator and SSH client
http://liftoffsoftware.com/Products/GateOne
Other
6.28k stars 924 forks source link

Multiprocessor exception on startup. #310

Open lbstoller opened 10 years ago

lbstoller commented 10 years ago

Checkout from an hour ago, FreeBSD 8.2. I thought you had fixed this a few commits ago. See log below.

[I 131001 11:17:11 gateone:3515] Using api authentication [I 131001 11:17:11 gateone:3644] Loaded global plugins: help.js [I 131001 11:17:11 gateone:4619] Listening on https://_:1090/ [I 131001 11:17:11 gateone:4639] Process running with pid 60200 [E 131001 11:19:12 ioloop:472] Exception in callback <function wrapped at 0x2852c4fc> Traceback (most recent call last): File "/usr/X11R6/lib/python2.7/site-packages/tornado/ioloop.py", line 458, in _run_callback callback() File "/usr/X11R6/lib/python2.7/site-packages/tornado/stack_context.py", line 331, in wrapped raise_exc_info(exc) File "/usr/X11R6/lib/python2.7/site-packages/tornado/stack_context.py", line 302, in wrapped ret = fn(_args, _kwargs) File "/usr/local/gateone/go_async.py", line 153, in shutdown self.executor.shutdown(wait=wait) AttributeError: 'MultiprocessRunner' object has no attribute 'executor' [E 131001 11:19:12 ioloop:472] Exception in callback <function wrapped at 0x2858ed14> Traceback (most recent call last): File "/usr/X11R6/lib/python2.7/site-packages/tornado/ioloop.py", line 458, in _run_callback callback() File "/usr/X11R6/lib/python2.7/site-packages/tornado/stack_context.py", line 331, in wrapped raise_exc_info(exc) File "/usr/X11R6/lib/python2.7/site-packages/tornado/stack_context.py", line 302, in wrapped ret = fn(_args, _kwargs) File "/usr/local/gateone/go_async.py", line 153, in shutdown self.executor.shutdown(wait=wait) AttributeError: 'MultiprocessRunner' object has no attribute 'executor' [I 131001 11:19:57 gateone:4642] Caught KeyboardInterrupt. Killing sessions... [I 131001 11:19:57 gateone:4647] Clearing cache_dir: /var/gateone/cache [I 131001 11:19:57 gateone:4650] pid file removed. [W 131001 11:19:57 utils:1060] Could not open pidfile (/var/run/gateone.pid). You *may have to kill gateone.py manually (probably not).

liftoff commented 10 years ago

I did fix that... But apparently I broke it again? Not sure what the deal is but I'll add a check inside AsyncRunner to prevent that exception from cropping up. It'll be in the next commit.