Closed cthorey closed 10 years ago
There are a few other threads about this issue. Here's one quick fix that requires a small patch to ipython: http://stackoverflow.com/questions/22202182/error-on-websocket-when-try-to-use-ipython-notebook-in-emacs
Thanks, the workaround works indeed. I close the issue
Check list
*.elc
files from source directory of EIN and its dependencies did not solve the problem.Description of the problem you have
I can start the notebook but when it opens, I got this error with
Error (websocket): in callback
on-open': Cannot send message to a closed websocket: cl-struct-websocket-frame, text, "{\"header\":{\"msg_id\":\"32f22d3b-dca1-492f-afc4-1c7470366eb1\", \"username\":\"username\", \"session\":\"4722f4f4-f027-4ce2-be93-14ac8af3e3b8\", \"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, nilEach time a compile a cell, i got the same error.
In ipython, i got an error as well :
2014-06-25 11:06:37.471 [NotebookApp] WARNING | Cross Origin WebSocket Attempt. 2014-06-25 11:06:37.471 [tornado.application] ERROR | Uncaught exception in /kernels/587835ea-d394-4367-bdb8-63c22e5511c2/shell
Steps to reproduce the problem
Expected output
Your EIN configuration (in .emacs.d/init.el or somewhere else)
Your IPython configuration
ipython --version
):1.2.1ipython notebook --port 9999
): ipython notebookAdditional information (if any)
Try with different port, no improvment
System info: