GateOne icon indicating copy to clipboard operation
GateOne copied to clipboard

Uncaught exception in /ws

Open jamtholee opened this issue 12 years ago • 1 comments

When I run gateone, it sticks saying "attempting to connect to gateone server", and the logs display this error message:

[E 140909 13:58:48 websocket:372] Uncaught exception in /ws
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/tornado-4.0.1-py2.7-linux-x86_64.egg/tornado/websocket.py", line 369, in _run_callback
        callback(*args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 1650, in open
        self.send_js(os.path.join(GATEONE_DIR, 'static', js_file))
      File "/usr/local/lib/python2.7/dist-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 3047, in send_js
        self.send_js_or_css(path, 'js', **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/gateone-1.2.0-py2.7.egg/gateone/core/server.py", line 3006, in send_js_or_css
        mtime = os.stat(path).st_mtime
    OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/gateone-1.2.0-py2.7.egg/gateone/static/doT.js'
[I 140909 13:58:48 server:1734] {"ip_address": "xxx.xxx.xxx.xxx", "upn": "ANONYMOUS"} WebSocket closed (ANONYMOUS xxx.xxx.xxx.xxx).
[I 140909 13:58:48 server:677] All user sessions have terminated.

jamtholee avatar Sep 09 '14 18:09 jamtholee

Yeah, this was my fault for forgetting to 'git add' that file. I fixed this issue earlier today. If you just 'git pull' then re-install it should work properly now.

Please grab the latest code and confirm. Thanks!

liftoff avatar Sep 09 '14 19:09 liftoff