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 connect to notebook server #154

Open yoavfreund opened 9 years ago

yoavfreund commented 9 years ago

I have been using ipython for a while, decided to give EIN a try today.

I tried connecting to a server running locally and to a remote server, failed in both cases. The errors from emacs are attached.

Yoav

REQUEST [error] Error from parser ein:json-read: (json-readtable-error) ein: [error] Error (parse-error) while opening notebook list at the server 8888. user-error: Minibuffer window is not active REQUEST [error] Error from parser ein:json-read: (json-readtable-error) ein: [error] Error (parse-error) while opening notebook list at the server 8888. byte-code: Beginning of buffer [7 times] Saved text from "ein: [error] Error (parse-error) while o" delete-backward-char: Text is read-only ein: [error] Error (error) while opening notebook list at the server https://ec2-54-164-6-46.compute-1.amazonaws.com:8888/tree. ein: [error] Error (error) while opening notebook list at the server https://ec2-54-164-6-46.compute-1.amazonaws.com:8888.

dvnmk commented 9 years ago

Here same problem, Are you using the EIN from MELPA? try using EIN from https://github.com/millejoh/emacs-ipython-notebook, not from MELPA.

vt5491 commented 9 years ago

I had a similar problem too. I downloaded the version suggested by dvnmk, and now it works. Unfortunately, since it's now working, I don't have the exact syntax of the original error message, which I recall as being different but similar from the original post (but something about a json error).

So it appears there's something about the MELPA version that is broken.

millejoh commented 9 years ago

MELPA was updated last night and the recipe for ein updated to point to my fork. Update ein from the emacs package listing and you should be ready to go!

twiecki commented 9 years ago

Will this also affect what get's installed via el-get-install?

millejoh commented 9 years ago

You will have to update the recipe, I think. From a quick look of https://github.com/dimitri/el-get it appears the recipe there is still pointing at tkf/emacs-ipython-notebook. Not sure if this gets updated automatically from MELPA or if someone needs to submit an issue/pull request.