{"action":"created","issue":{"url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/57","labels_url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/57/comments","events_url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/57/events","html_url":"https://github.com/millejoh/emacs-ipython-notebook/issues/57","id":83727521,"number":57,"title":"execute-cell doesn't work on password-protected notebook server","user":{"login":"krvkir","id":4031219,"avatar_url":"https://avatars.githubusercontent.com/u/4031219?v=3","gravatar_id":"","url":"https://api.github.com/users/krvkir","html_url":"https://github.com/krvkir","followers_url":"https://api.github.com/users/krvkir/followers","following_url":"https://api.github.com/users/krvkir/following{/other_user}","gists_url":"https://api.github.com/users/krvkir/gists{/gist_id}","starred_url":"https://api.github.com/users/krvkir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krvkir/subscriptions","organizations_url":"https://api.github.com/users/krvkir/orgs","repos_url":"https://api.github.com/users/krvkir/repos","events_url":"https://api.github.com/users/krvkir/events{/privacy}","received_events_url":"https://api.github.com/users/krvkir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-01T22:40:30Z","updated_at":"2015-07-07T20:35:08Z","closed_at":null,"body":"## Check list\r\n\r\n- [X] Read the \"Avoiding Common Emacs Traps\" section\r\n  - attempt to start zeroein as described in manual gave nothing: emacs seems to ignore lisp code in zeroein.el, the only strange message I noticed was \"eval-buffer: Buffer is read-only: #<buffer *Messages*>\"\r\n- [X] Does IPython works from the web browser?\r\n- [X] Confirm the problem was not due to badly compiled\r\n  files by removing all the `*.elc` files from source directory of EIN and\r\n  its dependencies.\r\n- [X] Confirm that the libraries are loaded as expected and are at the required version.\r\n  (You can check the location in the \"System info\" section below)\r\n\r\n## Description of the problem\r\n\r\nWhen running the ipython notebook server protected with password, attempt to execute any cell in any notebook fails with \"Kernel is not ready yet!\" message.\r\n\r\n## Steps to reproduce the problem\r\n\r\n1. configure ipython notebook to use password (as described in http://ipython.org/ipython-doc/1/interactive/public_server.html)\r\n - create ~/.ipython/profile_nbserver/ipython_notebook_config.py\r\n - add into it the line `c.NotebookApp.password = \"your-password-sha1-hash\"`\r\n2. run `ipython notebook --profile=nbserver`\r\n3. open some notebook with ein and run any cell\r\n - `ein:notebooklist-login RET <port> RET <password>`\r\n - `ein:notebooklist-open`\r\n - open any notebook\r\n - run any cell with `ein:worksheet-execute-cell`\r\n4. now comment the line with the password in ipython_notebook_config.py\r\n5. open some notebook and execute cell -- it works\r\n\r\n## Expected output\r\n\r\n> ein: [warn] Kernel is not ready yet! (or closed already.)\r\n\r\n\r\n## Your EIN configuration (in .emacs.d/init.el or somewhere else)\r\n\r\nno special configuration (all configs have default values)\r\n\r\n## Your IPython configuration\r\n\r\n1. What is your IPython version? (run `ipython --version`):\r\n3.1.0\r\n\r\n2. How do you start IPython? (e.g., `ipython notebook --port 9999`):\r\n(see \"Steps to reproduce the problem\")\r\n\r\n3. What is your IPython notebook port number or URL?:\r\nlocalhost:8888 or localhost:9999 (seems like port does not make difference)\r\n\r\n## Additional information (if any)\r\n- tried running the server on two archlinux machines\r\n- tried connecting to server from archlinux and windows 7 computers\r\n\r\n## System info:\r\n\r\n```cl\r\n`ein:dev-sys-info' produce: (void-variable python-version)```\r\n\r\n<-- Have no idea what is it, few days ago I tried generating report and system info was here...\r\n\r\nWhile creating this buffer the following message apprears:\r\n\"Eager macro-expansion failure: (error \"(ein:$kernel-stdin-activep kernel) is not a valid place expression\") \""},"comment":{"url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/comments/119328445","html_url":"https://github.com/millejoh/emacs-ipython-notebook/issues/57#issuecomment-119328445","issue_url":"https://api.github.com/repos/millejoh/emacs-ipython-notebook/issues/57","id":119328445,"user":{"login":"millejoh","id":4049168,"avatar_url":"https://avatars.githubusercontent.com/u/4049168?v=3","gravatar_id":"","url":"https://api.github.com/users/millejoh","html_url":"https://github.com/millejoh","followers_url":"https://api.github.com/users/millejoh/followers","following_url":"https://api.github.com/users/millejoh/following{/other_user}","gists_url":"https://api.github.com/users/millejoh/gists{/gist_id}","starred_url":"https://api.github.com/users/millejoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millejoh/subscriptions","organizations_url":"https://api.github.com/users/millejoh/orgs","repos_url":"https://api.github.com/users/millejoh/repos","events_url":"https://api.github.com/users/millejoh/events{/privacy}","received_events_url":"https://api.github.com/users/millejoh/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T20:35:08Z","updated_at":"2015-07-07T20:35:08Z","body":"Another thing to check - make sure you are downloading websocket from melpa and not gnu, I noticed when I download the 1.4 version from gnu I see the same behavior that you do.\r\n\r\nIn my (partial) defense - I didn't even know until I tried downloading from melpa that there was also a package in elpa. I guess in general life is much better now in Emacs with package management, but maybe not so much in this case."}}