Are you on the latest versions of IPython, IJulia, and all the relevant 
emacs packages (websocket, ein, etc.)? I had to upgrade a few things to get 
it to work. Does IJulia work fine with the browser interface?

On Thursday, April 10, 2014 3:26:12 PM UTC-5, Andrew Dabrowski wrote:
>
> OK, I just tried that, here's the error message inside emacs.
>
> Error (websocket): in callback `on-open': Cannot send message to a closed 
> websocket: cl-struct-websocket-frame, text, 
> "{\"header\":{\"msg_id\":\"208d1398-c01e-4ec6-8adc-1a6dce1db927\", 
> \"username\":\"username\", 
> \"session\":\"85698e6e-818d-4543-b5ee-71c3dc60cdc8\", 
> \"msg_type\":\"execute_request\"}, \"metadata\":{}, 
> \"content\":{\"code\":\"__import__('sys').stdout.write(__import__('os').getcwd())\",
>  
> \"silent\":true, \"user_variables\":[], \"user_expressions\":{}, 
> \"allow_stdin\":false}, \"parent_header\":{}}", nil, t
> Error (websocket): in callback `on-open': Wrong type argument: arrayp, nil
> Error (websocket): in callback `on-close': Wrong type argument: arrayp, 
> nil
>
>
>
> The notebook opens but in read-only mode.  When I try restarting the 
> kernel the ipython server spits out the following.
>
> 2014-04-10 16:23:34.389 [NotebookApp] Kernel restarted: 23d7d2dc-37ad-4e1a
> -a6a0-e6fc23a82935
> 2014-04-10 16:23:34.397 [NotebookApp] WARNING | Cross Origin WebSocket 
> Attempt.
> 2014-04-10 16:23:34.398 [tornado.application] ERROR | Uncaught exception 
> in /kernels/23d7d2dc-37ad-4e1a-a6a0-e6fc23a82935/shell
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 303, 
> in wrapper
>     return callback(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py"
> , line 114, in open
>     raise web.HTTPError(404)
> HTTPError: HTTP 404: Not Found
> ERROR:tornado.application:Uncaught exception in /kernels/23d7d2dc-37ad-
> 4e1a-a6a0-e6fc23a82935/shell
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 303, 
> in wrapper
>     return callback(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py"
> , line 114, in open
>     raise web.HTTPError(404)
> HTTPError: HTTP 404: Not Found
> 2014-04-10 16:23:34.399 [NotebookApp] WARNING | Cross Origin WebSocket 
> Attempt.
> 2014-04-10 16:23:34.403 [tornado.application] ERROR | Uncaught exception 
> in /kernels/23d7d2dc-37ad-4e1a-a6a0-e6fc23a82935/iopub
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 303, 
> in wrapper
>     return callback(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py"
> , line 114, in open
>     raise web.HTTPError(404)
> HTTPError: HTTP 404: Not Found
> ERROR:tornado.application:Uncaught exception in /kernels/23d7d2dc-37ad-
> 4e1a-a6a0-e6fc23a82935/iopub
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 303, 
> in wrapper
>     return callback(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py"
> , line 114, in open
>     raise web.HTTPError(404)
> HTTPError: HTTP 404: Not Found
> 2014-04-10 16:23:34.404 [tornado.application] ERROR | Uncaught 
> exception,closing connection
> .
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/tornado/iostream.py", line 341, 
> in wrapper
>     callback(*args)
>   File "/usr/lib/python2.7/site-packages/tornado/stack_context.py", line 
> 331, in wrapped
>     raise_exc_info(exc)
>   File "/usr/lib/python2.7/site-packages/tornado/stack_context.py", line 
> 302, in wrapped
>     ret = fn(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/tornado/httpserver.py", line 217, 
> in _on_connection_close
>     callback()
>   File "/usr/lib/python2.7/site-packages/tornado/stack_context.py", line 
> 331, in wrapped
>     raise_exc_info(exc)
>   File "/usr/lib/python2.7/site-packages/tornado/stack_context.py", line 
> 302, in wrapped
>     ret = fn(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 
> 274</span
> ...

Reply via email to