tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

Can't execute cell #166

Open maelick opened 9 years ago

maelick commented 9 years ago

Using Debian Lenny, IPython 2.3 and latest EIN available on MELPA I got the following error when trying to execute a cell:

Error (websocket): in callback `on-open': Cannot send message to a closed websocket: cl-struct-websocket-frame, text, "{\"header\":{\"msg_id\":\"0e5b1014-619b-4b04-abb9-843cbb5d421b\", \"username\":\"username\", \"session\":\"a8c6cfd2-5d7d-4580-9339-dd4b6f81986d\", \"msg_type\":\"execute_request\"}, \"metadata\":{}, \"content\":{\"code\":\"__import__('sys').stdout.write(__import__('os').getcwd())\", \"silent\":true, \"user_variables\":[], \"user_expressions\":{}, \"allow_stdin\":true}, \"parent_header\":{}}", nil, t
Error (websocket): in callback `on-open': error: "ein:$websocket-onopen accessing a non-ein:$websocket"
Error (websocket): in callback `on-close': error: "ein:$websocket-onclose accessing a non-ein:$websocket"

However I still can open and save the notebook.

millejoh commented 9 years ago

Could you run 'ein:dev-bug-report-template and post the results here?

Also, could you check what version of tornado you are running? Version prior to 4.0 have known issues with ein.

Note that the ein you downloaded from MELPA is probably this one. tkf hasn't commited to his project in many a moon.