millejoh / emacs-ipython-notebook Goto Github PK
View Code? Open in Web Editor NEWJupyter notebook client in Emacs
Home Page: http://millejoh.github.io/emacs-ipython-notebook/
License: GNU General Public License v3.0
Jupyter notebook client in Emacs
Home Page: http://millejoh.github.io/emacs-ipython-notebook/
License: GNU General Public License v3.0
EIN does not currently support nbformat v4 as described in IPEP 17 and implemented in ipython/ipython#6045.
This breaks support with 3.0.0-dev, but the ipython developers eventually plan to backport the new format to IPython 2.4, so the clock is ticking.
I'm trying to use the python debugger (pdb
or ideally ipdb
) and run into some issues:
Inserted and executed import pdb; pdb.set_trace()
and expected to get a *gud*
buffer (Debugger mode).
StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.
In [1]:
import pdb; pdb.set_trace()
--Call--
> /usr/local/lib/python2.7/dist-packages/IPython/core/displayhook.py(222)__call__()
-> def __call__(self, result=None):
Truncated Traceback (Use C-c C-x to view full TB):
/usr/local/lib/python2.7/dist-packages/IPython/kernel/zmq/kernelbase.pyc in raw_input(self, prompt)
644 if not self._allow_stdin:
645 raise StdinNotImplementedError(
--> 646 "raw_input was called, but this frontend does not support input requests."
647 )
648 return self._input_request(prompt,
StdinNotImplementedError: raw_input was called, but this frontend does not support input requests.
Given that it is feasible:
Present a buffer in Debugger mode running the debugger.
Like on travis, running tests fails on my machine.
make travis-ci-testein -e IPY_VERSION=3.0.0
Excerpt:
Test ein:testing-get-untitled0-or-create condition:
(error "ein:$notebook-kernel accessing a non-ein:$notebook")
FAILED 7/7 ein:testing-get-untitled0-or-create
Ran 7 tests, 0 results as expected, 7 unexpected (2015-04-01 12:22:55+0200)
7 unexpected results:
FAILED ein:notebook-execute-current-cell-pyout-image
FAILED ein:notebook-execute-current-cell-question
FAILED ein:notebook-execute-current-cell-simple
FAILED ein:notebook-execute-current-cell-stream
FAILED ein:notebook-request-help
FAILED ein:testing-delete-untitled0
FAILED ein:testing-get-untitled0-or-create
Full output:
I am running Ubuntu vivid, with emacs 24.4.1 and ipython 3.1.0. I have checked out your emacs-ipython-notebook repository, and I am running lisp/zeroin.el
When I am in emacs, none of the ein: commands work at all.
Apparently we lost this capability in the move from IPython 1.0 to 2.x.
Findings so far:
ein:notebooklist-login
works insofar as opening the notebook list tree. Creating and deleting notebooks work.After running into another issue I try to follow the Quick try without my own ~/.emacs.d
to investigate if I caused the problem myself.
I find that the Quick try method fails to open a new notebook, required to test for the initial issue.
Any advise on what ["I did"|"went"|"is"] wrong?
*.elc
files from source directory of EIN andStart ipython notebook
(3.0.0)
Run 'Quick try"
git clone git://github.com/millejoh/emacs-ipython-notebook.git
cd emacs-ipython-notebook/
lisp/zeroein.el
Select [New Notebook]
A new notebook
None (zeroein.el)
ipython --version
): 3.0.0ipython notebook --port 9999
): ipython notebookemacs Messages :
ein: [info] Opened notebook list at 8888 with path
ein: [info] Creating a new notebook at ...
ein: [info] New notebook. Port: 8888, Path:
ein: [info] Creating a new notebook ()... Done.
ein: [info] Opening notebook Untitled3.ipynb...
ein: [info] Reading nbformat4 notebook.
ein: [info] Worksheet Untitled3.ipynb is ready
ein: [info] Opened notebook list at 8888 with path
ein: [info] Kernel started: 5acfc06a-48cb-45c6-89b5-e02ea091d8ed
ein: [info] Starting channels WS: "ws://127.0.0.1:8888/api/kernels/5acfc06a-48cb-45c6-89b5-e02ea091d8ed/channels?session_id=5b48f585-3a03-4bca-89b2-1130bb8aeaec"
error in process filter: condition-case: Error response received from websocket server
error in process filter: Error response received from websocket server
ipython notebook output:
$ ipython notebook
[I 14:53:42.069 NotebookApp] Using existing profile dir: u'/home/kidmose/.ipython/profile_default'
[I 14:53:42.072 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 14:53:42.083 NotebookApp] Serving notebooks from local directory: /home/kidmose/git-reps/nalm/machine-learning
[I 14:53:42.083 NotebookApp] 0 active kernels
[I 14:53:42.083 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 14:53:42.083 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
(process:21215): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[I 14:53:58.600 NotebookApp] Creating new notebook in
[I 14:53:58.719 NotebookApp] Kernel started: 5acfc06a-48cb-45c6-89b5-e02ea091d8ed
[W 14:53:58.994 NotebookApp] Blocking Cross Origin WebSocket Attempt. Origin: kidmose.eng.au.dk, Host: 127.0.0.1
[W 14:53:58.995 NotebookApp] 403 GET /api/kernels/5acfc06a-48cb-45c6-89b5-e02ea091d8ed/channels?session_id=5b48f585-3a03-4bca-89b2-1130bb8aeaec (127.0.0.1) 264.62ms referer=None
("EIN system info"
:emacs-version
"GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-03-07 on lamiak, modified by Debian"
:emacs-bzr-version nil
:window-system x
:emacs-variant nil
:os
(:uname
"Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
"
:lsb-release
"No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17.1 Rebecca
Release: 17.1
Codename: rebecca
")
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:request
(:backend curl)
:ein
(:version "0.3.7a43f34"
:source-dir "/home/kidmose/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "0.93.1")
(:name "request"
:path "~/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep t
:version-var mumamo:version
:version "0.91")
(:name "auto-complete"
:path "~/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/emacs-ipython-notebook/lib/python/python.el"
:featurep nil
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
Hi, again much thanks for your efforts. One thing I miss from the web view is the red "shutdown" button. Not only does it allow me to shutdown a notebook, but it also serves as an indicator to which notebook I've been working on. I have dozens of notebooks (that are often copies), so the red shutdown button is a quick visual indicator of which notebook to resume using.
Would love to have a [Shutdown] "button" in the notebook list on the right side similar to the [Open] and [Delete] on the left side.
*.elc
files from source directory of EIN andWhen running the ipython notebook server protected with password, attempt to execute any cell in any notebook fails with "Kernel is not ready yet!" message.
c.NotebookApp.password = "your-password-sha1-hash"
ipython notebook --profile=nbserver
ein:notebooklist-login RET <port> RET <password>
ein:notebooklist-open
ein:worksheet-execute-cell
ein: [warn] Kernel is not ready yet! (or closed already.)
no special configuration (all configs have default values)
ipython --version
):ipython notebook --port 9999
):`ein:dev-sys-info' produce: (void-variable python-version)```
<-- Have no idea what is it, few days ago I tried generating report and system info was here...
While creating this buffer the following message apprears:
"Eager macro-expansion failure: (error "(ein:$kernel-stdin-activep kernel) is not a valid place expression") "
Thanks for your efforts to keep this project going.
Am running ipython 2.2. I can load a notebook, but when I try to execute a cell get the following:
websocket-send: Cannot send message to a closed websocket
Running ein:notebooklist-open
will lead to error
REQUEST [error] Error (error) while connecting to http://127.0.0.1:8889/api.
split-string: Wrong type argument: stringp, nil
When installing the current git version of ein, I get a compilation error on ein-mumamo.el that (require 'mumamo) fails. It appears that this is because mumamo is only on the load path after nxhtml is loaded, which is done only when needed.
I'm not sure what the best fix is--maybe just require nxhtml? It may not matter in practice, since I think the only real problem is that ein-mumamo.el doesn't get byte-compiled. But it's always a bit distressing to see compilation errors on a package installation.
This is with Aquamacs version 3.2 on Max OS X Yosemite, which is based on Emacs 24.4.51.2.
Since you're looking at semi-related EIN things I thought I'd toss this out there.
*.elc
files from source directory of EIN andAutocomplete doesn't play nicely with long arrays containing long strings.
longstring = '****************************************************************************************'
shortstring = '***'
shortarray = [shortstring + str(x) for x in range(12000)]
longarray = [longstring + str(x) for x in range(12000)]
shortarray[3]
and execute, it returns reasonably fast.
longarray[3]
it takes a noticeable (multi seconds, more than ten) amount of time to return.
If you go to another buffer and copy longarray[88]
and paste that into a cell, it returns immediately.
If you turn off autocomplete, none of these behaviors happen.
I expect accessing an array element to be fast regardless of the length of data inside of the array.
zeroein.el
ipython --version
):ipython notebook --port 9999
):("EIN system info"
:emacs-version
"GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57)
of 2015-04-18 on Matts-MacBook-Air.local"
:emacs-bzr-version nil
:window-system nil
:emacs-variant nil
:os
(:uname
"Darwin Matts-MacBook-Air.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
"
:lsb-release nil)
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:request
(:backend curl)
:ein
(:version "0.3.93b449b-dirty"
:source-dir "/Users/savoie/projects/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/projects/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/projects/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/projects/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep t
:version-var mumamo:version
:version "0.91")
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/projects/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/projects/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/projects/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/projects/emacs-ipython-notebook/lib/python/python.el"
:featurep t
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/projects/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/projects/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
As the subject says. For sure this problem is in IPython 3.0; not sure at the moment if it is also a problem in 2.x.
With ein:dev-start-debug enabled one can see IPython generate two pings. On the first ping websocket returns a pong, but goes quite on the second ping. Shortly afterwards IPython closes the websocket.
This appears to be an issue with websocket - but from looking at the code it is not obvious why websocket does not generate a pong on the second ping.
I have a remote notebook I access through ssh tunnel. When I open the notebook through my browser (Chrome), the ipython kernel will persist even if I close the tab/browser. I find this extremely useful for loading large data files, going and doing something else, then coming back and inspecting the data after it is loaded.
In ein, I've found that closing the window through C-x+k shuts down the kernel, which interferes with my workflow. I would like to request that C-x+k not shut down the kernel.
While submitting this issue I did discover a workaround: closing emacs with C-x+c will not shut down the kernel. Still I think it would be preferable if closing the buffer mimicked the behavior of closing a tab in the browser.
Thanks for all the work on ein, it is a really great & useful package. ipython notebooks are awesome, but having to write code in browser is very annoying -- being able to do so in emacs is a game changer for me.
When I try to use ace-jump with ein emacs stops responding. In the Messages buffer it states:
ace-jump-done: Wrong type argument: stringp, nil
I have to kill emacs as it no longer responds. Not sure if this is an ein error or ace-jump issue.
Same as tkf/emacs-ipython-notebook#156, repeated here so I don't forget about it.
Hello! I don't have a patch yet, but I'd like to start some discussion on how to support opening and saving notebooks that are inside subfolders.
Suppose IPython Notebook is run inside a folder with subfolders, e.g.
~/ipy-notebooks/
.../Archive/
../Foo1.ipynb
../Foo2.ipynb
Right now, EIN has no way to open a notebook that's inside a subfolder because we assume the notebook list is flattened list and not a full filesystem hierarchy. However, this seems to be the only assumption: if you evaluate something like (ein:notebook-open 8888 "Archive/Foo1.ipynb")
, then the notebook opens fine and you are able to evaluate things. Easy sneezy.
As a workaround, here's a (SUPER HACKY) function that you can use to just open a notebook directly:
(defvar ein-notebook-directory "~/ipy-notebooks") ;; TODO CHANGE THIS to your notebook folder!
(defun ein-find-notebook (port-or-url notebook-file)
"Open a notebook file"
(interactive
(list (ein:notebooklist-ask-url-or-port)
(ido-read-file-name "Open notebook: " ein-notebook-directory)))
(let ((notebook-path (file-relative-name notebook-file ein-notebook-directory)))
(ein:notebook-open port-or-url notebook-path)))
Now you can use ein-find-notebook
in a way that's similar to find-file
. You may have to remove the ido
part if you don't use ido
.
This completely sidesteps the ein:$notebooklist
functionality though, which is a shame since now we can't delete/create notebooks.
Second issue: Saving a notebook fails. Luckily, this is a simple fix in ein-notebook.el
:
diff --git a/lisp/ein-notebook.el b/lisp/ein-notebook.el
index 0b0cf07..43c17a9 100644
--- a/lisp/ein-notebook.el
+++ b/lisp/ein-notebook.el
@@ -606,8 +606,8 @@ of NOTEBOOK."
(ein:events-trigger (ein:$notebook-events notebook)
'notebook_saving.Notebook)
(let ((data `((content . ,content-data))))
- (push `(path . "") data)
- (push `(name . ,(ein:$notebook-notebook-name notebook)) data)
+ (push `(path . ,(file-name-directory (ein:$notebook-notebook-name notebook))) data)
+ (push `(name . ,(file-name-nondirectory (ein:$notebook-notebook-name notebook))) data)
(ein:query-singleton-ajax
(list 'notebook-save
(ein:$notebook-url-or-port notebook)
With the helper function and this short change, I'm able to use EIN perfectly now, even for notebooks with subfolders.
The latter seems like a simple change. I'm not sure how to fix the notebook list though; it could require a pretty complicated refactoring, eg. rewriting the notebook list to walk the entire file hierarchy exposed by the server, or maybe something simpler like adding a current file path parameter when we open the notebook list. I'm not familiar with that part of the codebase.
I haven't used EIN for a while, but it used to work fine. I just pulled the latest version and tried to open an existing notebook. ein:notebooklist-open works fine and shows the list of files as expected. However, when I click to open one of the notebooks, I get a message in the minibuffer saying "Entering debugger", and then Emacs hangs completely until I force it to quit.
If this is relevant, I'm using Emacs 24.5.1 and IPython 3.1 under OS X 10.10.3.
More info: When I try to create a new notebook, Emacs doesn't hang but I do get a readable dump from the debugger, which might be useful. I tried including it in this message, but github complains it's too long and it also doesn't seem to allow me to attach it as a zip or txt file. Do let me know if you'd like me to mail it to you.
*.elc
files from source directory of EIN andThe version is master: 68e14(March 11, 2015)
emacs -Q -l zeroin.el
Error:
error in process filter: condition-case: Error response received from websocket server
error in process filter: Error response received from websocket server
ipython --version
):ipython notebook --port 9999
):("EIN system info"
:emacs-version
"GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-03-07 on toyol, modified by Debian"
:emacs-bzr-version nil
:window-system x
:emacs-variant nil
:os
(:uname
"Linux sgu-VirtualBox 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:45:15 UTC 2015 i686 i686 i686 GNU/Linux
"
:lsb-release
"No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
")
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:request
(:backend curl)
:ein
(:version "0.3.68e14af"
:source-dir "/home/sgu/.emacs.d/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/.emacs.d/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "0.93.1")
(:name "request"
:path "~/.emacs.d/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/.emacs.d/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/.emacs.d/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep t
:version-var mumamo:version
:version "0.91")
(:name "auto-complete"
:path "~/.emacs.d/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/.emacs.d/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/.emacs.d/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/.emacs.d/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/.emacs.d/emacs-ipython-notebook/lib/python/python.el"
:featurep nil
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/.emacs.d/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/.emacs.d/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
As of c0a3a7d, submodule nxhtml points to a ref which is not a tree:
git submodule deinit .
make submodule
git submodule update --init
Submodule 'doc/eldomain' (https://github.com/millejoh/sphinx-eldomain.git) registered for path 'doc/eldomain'
Submodule 'lib/auto-complete' (https://github.com/auto-complete/auto-complete.git) registered for path 'lib/auto-complete'
Submodule 'lib/ert' (https://github.com/ohler/ert.git) registered for path 'lib/ert'
Submodule 'lib/fuzzy' (https://github.com/auto-complete/fuzzy-el.git) registered for path 'lib/fuzzy'
Submodule 'lib/markdown-mode' (https://github.com/defunkt/markdown-mode.git) registered for path 'lib/markdown-mode'
Submodule path 'doc/eldomain': checked out '523f8d52b41cba43f21b43718123947eea438f77'
Submodule path 'lib/auto-complete': checked out '03ac7481c2073146cc8e31a0bce7aea35151ea63'
Submodule path 'lib/ert': checked out '00aef6e43d44c6f25323d1a7bdfdc929a3b4ce04'
Submodule path 'lib/fuzzy': checked out 'b47d801d4e1ff67323eda4d602e78c31fbc5a08a'
Submodule path 'lib/markdown-mode': checked out 'c3f86536a33ae30263cb7dccd049758939e45082'
fatal: reference is not a tree: bcfc026d5136763efc3eeeb66e89c00de31f9814
Unable to checkout 'bcfc026d5136763efc3eeeb66e89c00de31f9814' in submodule path 'lib/nxhtml'
Makefile:29: recipe for target 'submodule' failed
make: *** [submodule] Error 1
Is it possible to set the cells' types? Set a cell to be a heading/text/etc.?
Jupyter now supports various backends, not just python. Can EIN do the same?
I turn on yasnippet global like this in my preferences.el
(require 'yasnippet)
(yas-global-mode 1)
and my ein setup is
(require 'ein)
(require 'websocket)
(require 'request)
(setq ein:use-auto-complete t)
(add-hook 'ein:connect-mode-hook 'ein:jedi-setup)
I can use yasnippet in python-mode but not in ein. Thanks,
2014-12-14 19:40:44.417 [NotebookApp] Using existing profile dir: u'/Users/yusup/.ipython/profile_default'
2014-12-14 19:40:44.423 [NotebookApp] Serving local MathJax from /Users/yusup/.ipython/nbextensions/mathjax/MathJax.js at /nbextensions/mathjax/MathJax.js
2014-12-14 19:40:44.454 [NotebookApp] Serving notebooks from local directory: /work/workspace/Python/Data-Science-45min-Intros
2014-12-14 19:40:44.454 [NotebookApp] 0 active kernels
2014-12-14 19:40:44.454 [NotebookApp] The IPython Notebook is running at: http://localhost:8888/
2014-12-14 19:40:44.454 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
INFO:tornado.access:302 GET /tree/ (::1) 0.55ms
2014-12-14 19:41:02.771 [NotebookApp] WARNING | Notebook k-means/K-means-Clustering.ipynb is not trusted
2014-12-14 19:41:03.427 [NotebookApp] Kernel started: 10a52fc7-7b4f-41ae-aab3-8b6f43b90c66
INFO:tornado.access:302 GET / (::1) 0.75ms
WARNING:tornado.access:404 GET /tree/api (::1) 14.29ms referer=None
WARNING:tornado.access:404 GET /api (::1) 2.51ms referer=None
WARNING:tornado.access:404 GET /api (::1) 2.30ms referer=None
WARNING:tornado.access:404 GET /tree/api (::1) 1.36ms referer=None
WARNING:tornado.access:404 GET /tree/api (::1) 1.96ms referer=None
INFO:tornado.access:302 GET /tree/ (::1) 0.49ms
INFO:tornado.access:302 GET /tree/ (::1) 0.59ms
INFO:tornado.access:302 GET /tree/ (::1) 0.44ms
WARNING:tornado.access:404 GET /api (::1) 1.36ms referer=None
INFO:tornado.access:302 GET /notebooks/api (::1) 1.24ms
WARNING:tornado.access:404 GET /files/api (::1) 1.81ms referer=None
WARNING:tornado.access:404 GET /notebook/api (::1) 1.69ms referer=None
INFO:tornado.access:302 GET /notebooks/api (::1) 0.58ms
WARNING:tornado.access:404 GET /files/api (::1) 1.78ms referer=None
In [3]: %version_information numpy,scipy,matplotlib,sympy
Out[3]:
Software versions
Python 2.7.9 64bit [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)]
IPython 2.3.1
OS Darwin 14.0.0 x86_64 i386 64bit
numpy 1.9.1
scipy 0.14.0
matplotlib 1.4.2
sympy 0.7.6
Sun Dec 14 19:52:37 2014 CST
(add-to-list 'load-path "~/.emacs.d/einv2")
(require 'ein2)
Is there any plans to make it installable from Melpa
?
Trying to kill the last line of a cell, or the only line in a cell results in the error
Text is read-only: #<buffer *ein: 8888/Untitled0.ipynb*>
I'm trying to use ein with jupyterhub (it's multiuser server for jupyter notebooks) and can't authorize in it (with ein:notebooklist-login).
PS I don't know will it be helpful but JupyterHub uses slightly different authorization page than Jupyter (with login field), and after authorization you get just regular Jupyter server.
PS I have very limited experience in emacs lisp but if you give me some clues where to look I'll try to implement the feature by myself.
EIN does not talk with the server. I can create a notebook from the notebooklist menu, but when I connect to it I get HTTPError: HTTP 403: Forbidden on the shell where I started iPython.
-> ipython notebook --port 9999
2015-02-15 22:53:34.015 [NotebookApp] Using existing profile dir: u'/home/knusper/.ipython/profile_default'
2015-02-15 22:53:34.021 [NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
2015-02-15 22:53:34.077 [NotebookApp] Serving notebooks from local directory: /home/knusper/python/python-scripts
2015-02-15 22:53:34.078 [NotebookApp] 0 active kernels
2015-02-15 22:53:34.078 [NotebookApp] The IPython Notebook is running at: http://localhost:9999/
2015-02-15 22:53:34.078 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
WARNING:tornado.access:404 GET /api (127.0.0.1) 25.06ms referer=None
INFO:tornado.access:302 GET /api/notebooks/ (127.0.0.1) 0.45ms
2015-02-15 22:53:58.697 [NotebookApp] Kernel started: f69fff92-6707-42c3-a97d-d76b600af907
2015-02-15 22:53:58.765 [NotebookApp] WARNING | Cross Origin WebSocket Attempt from None
ERROR:tornado.application:Uncaught exception in /api/kernels/f69fff92-6707-42c3-a97d-d76b600af907/shell
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tornado/websocket.py", line 322, in wrapper
return callback(_args, *_kwargs)
File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py", line 138, in open
raise web.HTTPError(403)
HTTPError: HTTP 403: Forbidden
2015-02-15 22:53:58.770 [NotebookApp] WARNING | Cross Origin WebSocket Attempt from None
ERROR:tornado.application:Uncaught exception in /api/kernels/f69fff92-6707-42c3-a97d-d76b600af907/iopub
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tornado/websocket.py", line 322, in wrapper
return callback(_args, *_kwargs)
File "/usr/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py", line 138, in open
raise web.HTTPError(403)
HTTPError: HTTP 403: Forbidden
ipython 2.2.0
ipython notebook --port 9999
http://localhost:9999/
Using the ipython notebook in the webbrowser works fine.
("EIN system info"
:emacs-version
"GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.14.2)
of 2014-10-15 on build05"
:emacs-bzr-version nil
:window-system x
:emacs-variant nil
:os
(:uname
"Linux knuspertop.site 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux
"
:lsb-release
"LSB Version: n/a
Distributor ID: openSUSE project
Description: openSUSE 13.2 (Harlequin) (x86_64)
Release: 13.2
Codename: Harlequin
")
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:request
(:backend curl)
:ein
(:version "0.3"
:source-dir "/home/knusper/.emacs.d/elpa/ein-20150215.934/")
:lib
((:name "websocket"
:path "~/.emacs.d/elpa/websocket-20141226.1957/websocket.elc"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/.emacs.d/elpa/request-20140316.417/request.elc"
:featurep t
:version-var request-version
:version "0.2.0")
(:name "auto-complete"
:path "~/.emacs.d/elpa/auto-complete-20150201.150/auto-complete.elc"
:featurep t
:version-var nil
:version nil)
(:name "auto-complete"
:path "~/.emacs.d/elpa/auto-complete-20150201.150/auto-complete.elc"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/.emacs.d/elpa/popup-20150116.1223/popup.elc"
:featurep t
:version-var popup-version
:version "0.5.2")
(:name "python"
:path "/usr/share/emacs/24.3/lisp/progmodes/python.elc"
:featurep t
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/.emacs.d/elpa/markdown-mode-20150121.1229/markdown-mode.elc"
:featurep t
:version-var markdown-mode-version
:version "2.0")))
*.elc
files from source directory of EIN andMust restart kernel of second notebook before it responds. When I create a new notebook, and take a simple action, then go back to the notebooklist and create another notebook, execute-cell puts an asterix in the brackets like the kernel is busy but never (a long time anyway) comes back. If I restart the kernel in the second notebook, it is responsive immediately.
I expect not to have to restart the kernel when I open two notebooks.
ipython --version
):3.1.1
ipython notebook --port 9999
):ipython notebook --notebook-dir=. --ip=0.0.0.0
888
I captured all sorts of logs.
Interestingly I think the string "Hello 2" shows up in the first websocket log.
ein:log-all
[info] Opened notebook list at 8888 with path @#<buffer *ein:notebooklist 8888*>
[info] Creating a new notebook at ... @#<buffer *ein:notebooklist 8888*>
[info] New notebook. Port: 8888, Path: @#<buffer *ein:notebooklist 8888*>
[info] Creating a new notebook ()... Done. @#<buffer *ein:notebooklist 8888*>
[info] Opening notebook Untitled.ipynb... @#<buffer *ein:notebooklist 8888*>
[debug] Opening notebook at Untitled.ipynb @#<buffer *ein:notebooklist 8888*>
[info] Reading nbformat4 notebook. @#<buffer *ein:notebooklist 8888*>
[info] Worksheet Untitled.ipynb is ready @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Notebook Untitled.ipynb is ready @#<buffer *ein:notebooklist 8888*>
[info] Kernel started: 7615bc15-8cf1-48e0-b42e-8005ea1f5c9d @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Starting channels WS: "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d/channels?session_id=10428c63-9511-4a1c-946d-45ae27757703" @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Opened notebook list at 8888 with path @#<buffer *ein:notebooklist 8888*>
[debug] EIN:KERNEL-RUN-AFTER-START-HOOK @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] EIN:KERNELINFO-UPDATE-ALL @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] (ein:kernel-live-p kernel) = t @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('socket').gethostname()) @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] code: __import__('sys').path.append('/Users/savoie/projects/emacs-ipython-notebook/lisp/') @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = connect_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=connect_reply msg_id=e11bc793-cf49-406b-a9e5-99b6d185a4cc @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=4dd7c997-e71f-44a8-b4dd-4718d7db69fa @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=31b875be-8ffd-434d-9cdd-bdcb39cf98b7 @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] (via run-at-time) onclose-arg changed to: (:ws-url "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d" :already-called-onclose nil :early nil) @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Requesting object info for AC candidate #("print" 0 5 ...) @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = inspect_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=inspect_reply msg_id=b46bdfb1-78ce-4b5a-aea3-6783acd57cdf @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = complete_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] cell-clear-output stdout=t stderr=t other=t @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = execute_input @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: maybe_reset_undo\.Worksheet @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: set_dirty\.Worksheet @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: maybe_reset_undo\.Worksheet @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=c86fb33f-3419-4b8d-aafb-d326a1a26ad4 @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Writing notebook Untitled.ipynb as nbformat 4. @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Saving output of type "stream" @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Checking property :output_type for output type 'stream' @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Checking property :text for output type 'stream' @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Checking property :stream for output type 'stream' @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: notebook_saving\.Notebook @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Saving content successful with status nil @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Notebook is saved. @#<buffer *ein: 8888/Untitled.ipynb*>
[debug] Event: notebook_saved\.Notebook @#<buffer *ein: 8888/Untitled.ipynb*>
[info] Creating a new notebook at ... @#<buffer *ein:notebooklist 8888*>
[info] New notebook. Port: 8888, Path: @#<buffer *ein:notebooklist 8888*>
[info] Creating a new notebook ()... Done. @#<buffer *ein:notebooklist 8888*>
[info] Opening notebook Untitled1.ipynb... @#<buffer *ein:notebooklist 8888*>
[debug] Opening notebook at Untitled1.ipynb @#<buffer *ein:notebooklist 8888*>
[info] Reading nbformat4 notebook. @#<buffer *ein:notebooklist 8888*>
[info] Worksheet Untitled1.ipynb is ready @#<buffer *ein: 8888/Untitled1.ipynb*>
[info] Notebook Untitled1.ipynb is ready @#<buffer *ein:notebooklist 8888*>
[info] Opened notebook list at 8888 with path @#<buffer *ein:notebooklist 8888*>
[info] Kernel started: 7615bc15-8cf1-48e0-b42e-8005ea1f5c9d @#<buffer *ein: 8888/Untitled1.ipynb*>
[info] Starting channels WS: "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d/channels?session_id=10428c63-9511-4a1c-946d-45ae27757703" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] EIN:KERNEL-RUN-AFTER-START-HOOK @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] EIN:KERNELINFO-UPDATE-ALL @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] (ein:kernel-live-p kernel) = t @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('socket').gethostname()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').path.append('/Users/savoie/projects/emacs-ipython-notebook/lisp/') @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "print" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "print" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] (via run-at-time) onclose-arg changed to: (:ws-url "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d" :already-called-onclose nil :early nil) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "Hello" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "Hello" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "Hello" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "Hello" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Requesting object info for AC candidate "Hello" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] cell-clear-output stdout=t stderr=t other=t @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_restarting\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[info] Restarting kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[info] Kernel started: 7615bc15-8cf1-48e0-b42e-8005ea1f5c9d @#<buffer *ein: 8888/Untitled1.ipynb*>
[info] Starting channels WS: "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d/channels?session_id=7615bc15-8cf1-48e0-b42e-8005ea1f5c9d" @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = shutdown_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[verbose] Got message not from this notebook. @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] EIN:KERNEL-RUN-AFTER-START-HOOK @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] EIN:KERNELINFO-UPDATE-ALL @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] (ein:kernel-live-p kernel) = t @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('socket').gethostname()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').path.append('/Users/savoie/projects/emacs-ipython-notebook/lisp/') @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = connect_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] no callback for: msg_type=connect_reply msg_id=092e654f-1cd9-44bb-a4b8-70908833b3ea @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=7b28df52-d7ba-4b05-a0d3-5f49c9837ed8 @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=199771e7-3811-4cee-9dc6-2bc59555f896 @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=394f1fda-57cf-4dfb-8d28-f9e830f1b84a @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] (via run-at-time) onclose-arg changed to: (:ws-url "ws://127.0.0.1:8888/api/kernels/7615bc15-8cf1-48e0-b42e-8005ea1f5c9d" :already-called-onclose nil :early nil) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] cell-clear-output stdout=t stderr=t other=t @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] code: __import__('sys').stdout.write(__import__('os').getcwd()) @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = execute_input @#<buffer *ein: 8888/Untitled1.ipynb*>
[verbose] Got message not from this notebook. @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled1.ipynb*>
[verbose] Got message not from this notebook. @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled1.ipynb*>
[verbose] Got message not from this notebook. @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = execute_input @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: maybe_reset_undo\.Worksheet @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: set_dirty\.Worksheet @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: maybe_reset_undo\.Worksheet @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_busy\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = stream @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: msg_type = status @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: status_idle\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-IOPUB-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE_CHANNELS-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: msg_type = execute_reply @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] no callback for: msg_type=execute_reply msg_id=4be6feb3-3b38-49f8-8fa1-da8811cdc850 @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] Event: execution_count\.Kernel @#<buffer *ein: 8888/Untitled1.ipynb*>
[debug] KERNEL--HANDLE-SHELL-REPLY: finished @#<buffer *ein: 8888/Untitled1.ipynb*>
I think the First notebook's Websocket log
[WS] Sending handshake, key: THaSaCPCgGCX/US/UTdfWg==, acceptance: elDfgHgUJIEizDuRvUQ85p2+AoY=
[WS] Websocket opened
[WS] Received: HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: elDfgHgUJIEizDuRvUQ85p2+AoY=
[WS] Checking for accept header: Sec-WebSocket-Accept: elDfgHgUJIEizDuRvUQ85p2+AoY=
[WS] Checking for upgrade header
[WS] Checking for connection header
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"e11bc793-cf49-406b-a9e5-99b6d185a4cc","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"connect_request"},"metadata":{},"content":{},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","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":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"4dd7c997-e71f-44a8-b4dd-4718d7db69fa","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').stdout.write(__import__('socket').gethostname())","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"31b875be-8ffd-434d-9cdd-bdcb39cf98b7","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').path.append('\/Users\/savoie\/projects\/emacs-ipython-notebook\/lisp\/')","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "e11bc793-cf49-406b-a9e5-99b6d185a4cc", "version": "5.0", "msg_type": "connect_request"}, "msg_type": "status", "msg_id": "1cd8ddd2-fafd-4490-8ba8-c341c8f0276d", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "1cd8ddd2-fafd-4490-8ba8-c341c8f0276d", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.968254"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "e11bc793-cf49-406b-a9e5-99b6d185a4cc", "version": "5.0", "msg_type": "connect_request"}, "msg_type": "status", "msg_id": "6c360902-bca3-4e72-a582-fbc6bf1b3c1b", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "6c360902-bca3-4e72-a582-fbc6bf1b3c1b", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.969084"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ{{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "e11bc793-cf49-406b-a9e5-99b6d185a4cc", "version": "5.0", "msg_type": "connect_request"}, "msg_type": "connect_reply", "msg_id": "53351a9e-f5e6-44c1-88e8-e450f93fd340", "content": {"control": 63920, "hb": 63921, "shell": 63917, "iopub": 63918, "stdin": 63919}, "header": {"username": "savoie", "version": "5.0", "msg_type": "connect_reply", "msg_id": "53351a9e-f5e6-44c1-88e8-e450f93fd340", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.968640"}, "channel": "shell", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "e8a3142a-2159-40bd-b3f8-1933f43413fe", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "e8a3142a-2159-40bd-b3f8-1933f43413fe", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.972020"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝc{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "0d967c21-ed22-45a5-98db-77e02dc34edf", "content": {"text": "/Users/savoie/Dropbox/projects/ein-test", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "0d967c21-ed22-45a5-98db-77e02dc34edf", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.974077"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "27d06213-7fbd-4d85-be56-805f428b2e52", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "27d06213-7fbd-4d85-be56-805f428b2e52", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.976134"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4dd7c997-e71f-44a8-b4dd-4718d7db69fa", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "1e53d639-ea08-4838-b812-f93a174461a5", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "1e53d639-ea08-4838-b812-f93a174461a5", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.977194"}, "channel": "iopub", "buffer
[WS] Received: s": [], "metadata": {}}๏ฟฝ~๏ฟฝS{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4dd7c997-e71f-44a8-b4dd-4718d7db69fa", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "b53f1e2c-b0d4-42dd-9433-91fc47986e9b", "content": {"text": "Matts-MacBook-Air.local", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "b53f1e2c-b0d4-42dd-9433-91fc47986e9b", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.978632"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4dd7c997-e71f-44a8-b4dd-4718d7db69fa", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "10740898-7e0f-4510-8f7f-e39fca1a8649", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "10740898-7e0f-4510-8f7f-e39fca1a8649", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.980195"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "5f9c6b42-e55d-4f3e-9f29-cb222c0c1b0a", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "c92e57f1-2804-4a8c-bf67-41f25fdd64e5", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "c92e57f1-2804-4a8c-bf67-41f25fdd64e5", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.975369"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "5d245f49-af33-4d79-8a38-da7340bea977", "status": "ok", "started": "2015-05-02T15:33:54.972309"}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "31b875be-8ffd-434d-9cdd-bdcb39cf98b7", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "7fbf3ae3-36db-48ed-9ff6-aa69571342ab", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "7fbf3ae3-36db-48ed-9ff6-aa69571342ab", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.980960"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "31b875be-8ffd-434d-9cdd-bdcb39cf98b7", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "6caa3063-9d21-42fc-82df-a9ffc817c82c", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "6caa3063-9d21-42fc-82df-a9ffc817c82c", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.983694"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4dd7c997-e71f-44a8-b4dd-4718d7db69fa", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "6be54e62-8d1d-4fdc-9511-2e1a980e11ca", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "6be54e62-8d1d-4fdc-9511-2e1a980e11ca", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.979799"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "5d245f49-af33-4d79-8a38-da7340bea977", "status": "ok", "started": "2015-05-02T15:33:54.977513"}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "31b875be-8ffd-434d-9cdd-bdcb39cf98b7", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_
[WS] Received: reply", "msg_id": "7e50319b-78f2-41a7-8588-822dc3701dae", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "7e50319b-78f2-41a7-8588-822dc3701dae", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:33:54.983302"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "5d245f49-af33-4d79-8a38-da7340bea977", "status": "ok", "started": "2015-05-02T15:33:54.981269"}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"547fe26e-8836-49ef-82ed-d78f06a2e6ad","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"p\n","cursor_pos":1},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "547fe26e-8836-49ef-82ed-d78f06a2e6ad", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "862dcbc6-98be-4700-83b9-a93ba74ab06f", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "862dcbc6-98be-4700-83b9-a93ba74ab06f", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.417863"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "547fe26e-8836-49ef-82ed-d78f06a2e6ad", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "151deb5c-3e2c-4360-9502-fa5f6600a45b", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "151deb5c-3e2c-4360-9502-fa5f6600a45b", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.426199"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "547fe26e-8836-49ef-82ed-d78f06a2e6ad", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "66b1674f-3b67-4134-8b5d-26602884eedf", "content": {"matches": ["%page", "pass", "%pastebin", "%pdb", "%pdef", "%pdoc", "%%perl", "%pfile", "%pinfo", "%pinfo2", "%popd", "pow", "%pprint", "%precision", "print", "%profile", "property", "%prun", "%%prun", "%psearch", "%psource", "%pushd", "%pwd", "%pycat", "%pylab", "%%pypy", "%%python", "%%python2", "%%python3"], "status": "ok", "cursor_start": 0, "cursor_end": 1, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "66b1674f-3b67-4134-8b5d-26602884eedf", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.425624"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"b46bdfb1-78ce-4b5a-aea3-6783acd57cdf","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"print","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "b46bdfb1-78ce-4b5a-aea3-6783acd57cdf", "version": "5.0", "msg_type": "inspect_request"}, "msg_type": "status", "msg_id": "f6a3c8a8-51ca-4a8f-aff0-857c73b75acd", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "f6a3c8a8-51ca-4a8f-aff0-857c73b75acd", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.905052"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "b46bdfb1-78ce-4b5a-aea3-6783acd57cdf", "version": "5.0", "msg_type": "inspect_request"}, "msg_type": "status", "msg_id": "40a00852-4b12-40dd-ac01-2ab2b1b97551", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "40a00852-4b12-40dd-ac01-2ab2b1b97551", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.906551"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝh{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "b46bdfb1-78ce-4b5a-aea3-6783acd57cdf", "version": "5.0", "msg_type": "inspect_request"}, "msg_type": "inspect_reply", "msg_id": "28d4a608-4f6c-45ce-b25b-f3f686a0c5ee", "content": {"status": "ok", "found": false, "data": {}, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "inspect_reply", "msg_id": "28d4a608-4f6c-45ce-b25b-f3f686a0c5ee", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:02.905913"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"cdae84d0-a755-4c4a-9f91-40886dbcf44f","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"H\n","cursor_pos":8},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "cdae84d0-a755-4c4a-9f91-40886dbcf44f", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "d69a6e6b-a702-4274-b03e-299bc48dfacc", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "d69a6e6b-a702-4274-b03e-299bc48dfacc", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.739468"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "cdae84d0-a755-4c4a-9f91-40886dbcf44f", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "df6883bb-7d4d-4495-9d53-9100cf2e405b", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "df6883bb-7d4d-4495-9d53-9100cf2e405b", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.741634"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "cdae84d0-a755-4c4a-9f91-40886dbcf44f", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "870f3bd2-52fd-40d6-9b5f-b2e5098da4da", "content": {"matches": ["%%HTML"], "status": "ok", "cursor_start": 7, "cursor_end": 8, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "870f3bd2-52fd-40d6-9b5f-b2e5098da4da", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.741073"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"ce68597f-c016-4f9f-9a1d-9ee8298fcabd","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"He\n","cursor_pos":9},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "ce68597f-c016-4f9f-9a1d-9ee8298fcabd", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "2de8c543-0b87-49a4-b399-d2e1a68ea3aa", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "2de8c543-0b87-49a4-b399-d2e1a68ea3aa", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.931899"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "ce68597f-c016-4f9f-9a1d-9ee8298fcabd", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "ab891a3a-c07a-44b4-9eed-d3a354abbefd", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "ab891a3a-c07a-44b4-9eed-d3a354abbefd", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.934012"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "ce68597f-c016-4f9f-9a1d-9ee8298fcabd", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "38a4172d-e1da-4285-86b2-d423e6100184", "content": {"matches": [], "status": "ok", "cursor_start": 7, "cursor_end": 9, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "38a4172d-e1da-4285-86b2-d423e6100184", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:04.933453"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"c0de141e-da53-4a5b-a351-10a85865c7d5","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"Hel\n","cursor_pos":10},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c0de141e-da53-4a5b-a351-10a85865c7d5", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "a8fea85d-5e85-4545-a699-cb34faf123c9", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "a8fea85d-5e85-4545-a699-cb34faf123c9", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.107487"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c0de141e-da53-4a5b-a351-10a85865c7d5", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "c2e63c32-e07c-4f9b-b801-1adc8e2db7bd", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "c2e63c32-e07c-4f9b-b801-1adc8e2db7bd", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.109571"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c0de141e-da53-4a5b-a351-10a85865c7d5", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "3b954274-6cce-4dbd-8aad-3f82604a5c3f", "content": {"matches": [], "status": "ok", "cursor_start": 7, "cursor_end": 10, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "3b954274-6cce-4dbd-8aad-3f82604a5c3f", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.109001"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"4de7e140-16da-49cf-9546-2d9fc01bf9a0","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"Hell\n","cursor_pos":11},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4de7e140-16da-49cf-9546-2d9fc01bf9a0", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "88386aac-2489-4a1b-98fc-65c400961880", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "88386aac-2489-4a1b-98fc-65c400961880", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.234108"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4de7e140-16da-49cf-9546-2d9fc01bf9a0", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "f64bca45-b8bf-484d-8b6f-446c0f474dd6", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "f64bca45-b8bf-484d-8b6f-446c0f474dd6", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.235744"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "4de7e140-16da-49cf-9546-2d9fc01bf9a0", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "492b21ab-2ac1-4e44-99ec-05533ef98c83", "content": {"matches": [], "status": "ok", "cursor_start": 7, "cursor_end": 11, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "492b21ab-2ac1-4e44-99ec-05533ef98c83", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.235289"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"dcd8dec9-8edd-45dc-a1c0-851e239cb6b2","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"Hello\n","cursor_pos":12},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "dcd8dec9-8edd-45dc-a1c0-851e239cb6b2", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "7a8b81c8-b778-428b-9886-1802a8bb919b", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "7a8b81c8-b778-428b-9886-1802a8bb919b", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.350523"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ:{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "dcd8dec9-8edd-45dc-a1c0-851e239cb6b2", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "status", "msg_id": "d247c05d-b40e-4afe-b134-bb0c53123a97", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "d247c05d-b40e-4afe-b134-bb0c53123a97", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.352304"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "dcd8dec9-8edd-45dc-a1c0-851e239cb6b2", "version": "5.0", "msg_type": "complete_request"}, "msg_type": "complete_reply", "msg_id": "38c9a852-4654-446c-8ee9-e0c57322373a", "content": {"matches": [], "status": "ok", "cursor_start": 7, "cursor_end": 12, "metadata": {}}, "header": {"username": "savoie", "version": "5.0", "msg_type": "complete_reply", "msg_id": "38c9a852-4654-446c-8ee9-e0c57322373a", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:05.351870"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"f1c862be-e450-4b4f-94a5-acb2260ff557","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"print \"Hello\"","silent":false,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"c86fb33f-3419-4b8d-aafb-d326a1a26ad4","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","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":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "f1c862be-e450-4b4f-94a5-acb2260ff557", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "715877fe-d108-4a95-a0ff-367d45cb93c8", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "715877fe-d108-4a95-a0ff-367d45cb93c8", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.036780"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ]{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "f1c862be-e450-4b4f-94a5-acb2260ff557", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_input", "msg_id": "8e25a8db-4ea3-4618-b860-273e0adff48f", "content": {"execution_count": 1, "code": "print \"Hello\""}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_input", "msg_id": "8e25a8db-4ea3-4618-b860-273e0adff48f", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.037269"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝC{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "f1c862be-e450-4b4f-94a5-acb2260ff557", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "7b3db098-ba1c-49e0-9276-0aa357e3cf5a", "content": {"text": "Hello\n", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "7b3db098-ba1c-49e0-9276-0aa357e3cf5a", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.038836"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "f1c862be-e450-4b4f-94a5-acb2260ff557", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "5245f493-5013-4a4c-bc48-84659ca21984", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "5245f493-5013-4a4c-bc48-84659ca21984", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.041001"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c86fb33f-3419-4b8d-aafb-d326a1a26ad4", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "1b9c860b-c387-4d27-8739-7dcbf9c8d762", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "1b9c860b-c387-4d27-8739-7dcbf9c8d762", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.042073"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝc{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c86fb33f-3419-4b8d-aafb-d326a1a26ad4", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "c6264c3c-7790-480f-92ec-6217836b2727", "content": {"text": "/Users/savoie/Dropbox/projects/ein-test", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "c6264c3c-7790-480f-92ec-6217836b2727", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.044300"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c86fb33f-3419-4b8d-aafb-d326a1a26ad4", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "fcfa2ccc-fe32-4c52-878d-ed65659eb2db", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "fcfa2ccc-fe32-4c52-878d-ed65659eb2db", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.046009"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "f1c862be-e450-4b4f-94a5-acb2260ff557", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "499c28a7-c1e2-4ec2-8bca-c84a72a91842", "content": {"status": "ok", "execution_count": 1, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "499c28a7-c1e2-4ec2-8bca-c84a72a91842", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.040240"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "5d245f49-af33-4d79-8a38-da7340bea977", "status": "ok", "started": "2015-05-02T15:34:07.037159"}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "10428c63-9511-4a1c-946d-45ae27757703", "msg_id": "c86fb33f-3419-4b8d-aafb-d326a1a26ad4", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "2eabb486-5b68-4ad2-b296-2883cd2a480c", "content": {"status": "ok", "execution_count": 1, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "2eabb486-5b68-4ad2-b296-2883cd2a480c", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:07.045606"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "5d245f49-af33-4d79-8a38-da7340bea977", "status": "ok", "started": "2015-05-02T15:34:07.042520"}}
[WS] Sending handshake, key: fFtMB3qeWGMwmQuGOgWzrw==, acceptance: BQSj2RKTKh3Z46XSyqex4jjjSnU=
[WS] Websocket opened
[WS] Received: HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: BQSj2RKTKh3Z46XSyqex4jjjSnU=
[WS] Checking for accept header: Sec-WebSocket-Accept: BQSj2RKTKh3Z46XSyqex4jjjSnU=
[WS] Checking for upgrade header
[WS] Checking for connection header
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"39f3d468-de93-4f59-bcf4-c29e745e6e40","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"connect_request"},"metadata":{},"content":{},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"0759c2a0-5d94-474e-a1c1-173bc5653df1","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","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":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"ca198918-a30c-4d5e-ade4-c84f898ea2ce","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').stdout.write(__import__('socket').gethostname())","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"e66cedc6-08e7-4496-b5ca-2f9243d1cbd7","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').path.append('\/Users\/savoie\/projects\/emacs-ipython-notebook\/lisp\/')","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"9d7f15c8-e4f1-443b-902d-239faeb2829f","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"p\n","cursor_pos":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"337c4fae-0a48-41e1-8979-52095d453c73","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"print","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"182a2a6b-3f05-4a5c-8bda-f183eae0ac7e","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"print","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"48d37619-b7eb-429e-919c-022201f33914","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"H\n","cursor_pos":8},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"298d83e3-11f8-4ba6-a7c9-a4952db53907","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"Hello","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"950129a7-30dd-4857-b9e9-42c7a510a997","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"Hello","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"442b249a-c745-4b55-896e-8d06fabe9fed","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"Hello","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"84eabfc1-743b-41d2-a142-5251c20bd607","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"Hello","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"48b146a1-ef09-45e6-b4ea-8fad2828e58b","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"inspect_request"},"metadata":{},"content":{"oname":"Hello","detail_level":1},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"b3e556f6-f328-418b-b8af-347000b43132","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"complete_request"},"metadata":{},"content":{"text":"","line":"print \"Hello 2\n","cursor_pos":14},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"a1202d77-4a96-4ec4-9bfa-33d1a8e5c447","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","msg_type":"execute_request"},"metadata":{},"content":{"code":"print \"Hello 2\"","silent":false,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"af19bc20-9536-4c81-8c62-b1cfe22573d2","username":"username","session":"10428c63-9511-4a1c-946d-45ae27757703","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":{},"channel":"shell"}
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Closing websocket
[WS] Sending frame, opcode: close payload: nil
[WS] State change to deleted
[WS] Received: ๏ฟฝ~๏ฟฝ^{"parent_header": {"username": "savoie", "version": "5.0", "msg_type": "shutdown_request", "msg_id": "97f231d4-7c29-4b5d-b02f-bac8403b3602", "session": "644fe1d4-95c3-43da-bf9c-95321486510d", "date": "2015-05-02T15:34:29.373988"}, "msg_type": "status", "msg_id": "1f86dc5d-5574-45aa-95bf-3e44da3abb47", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "1f86dc5d-5574-45aa-95bf-3e44da3abb47", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:29.375096"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝt{"parent_header": {"username": "savoie", "version": "5.0", "msg_type": "shutdown_request", "msg_id": "97f231d4-7c29-4b5d-b02f-bac8403b3602", "session": "644fe1d4-95c3-43da-bf9c-95321486510d", "date": "2015-05-02T15:34:29.373988"}, "msg_type": "shutdown_reply", "msg_id": "4eecf901-bda5-4720-8e84-614eb05164ea", "content": {"status": "ok", "restart": true}, "header": {"username": "savoie", "version": "5.0", "msg_type": "shutdown_reply", "msg_id": "4eecf901-bda5-4720-8e84-614eb05164ea", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:29.376082"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ^{"parent_header": {"username": "savoie", "version": "5.0", "msg_type": "shutdown_request", "msg_id": "97f231d4-7c29-4b5d-b02f-bac8403b3602", "session": "644fe1d4-95c3-43da-bf9c-95321486510d", "date": "2015-05-02T15:34:29.373988"}, "msg_type": "status", "msg_id": "d1adfd12-c727-4b60-90cf-65ee419abd6d", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "d1adfd12-c727-4b60-90cf-65ee419abd6d", "session": "3996e324-ab7a-44ac-bdac-bc90b3d69fef", "date": "2015-05-02T15:34:29.376786"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "45d98af3-18e0-4c36-b439-6021c948b693", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "45d98af3-18e0-4c36-b439-6021c948b693", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.623822"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ_{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_input", "msg_id": "22c9820d-acbd-405a-91f5-8a52fce40240", "content": {"execution_count": 1, "code": "print \"Hello 2\""}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_input", "msg_id": "22c9820d-acbd-405a-91f5-8a52fce40240", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.624341"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝE{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "c554ca40-0024-4fbd-b7b4-0fbcb1ccfacd", "content": {"text": "Hello 2\n", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "c554ca40-0024-4fbd-b7b4-0fbcb1ccfacd", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.626186"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "06f8e0c4-69e0-4b04-989c-525cca52a055", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "06f8e0c4-69e0-4b04-989c-525cca52a055", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.628241"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "3cbfecb6-486d-45df-ac56-3a872c39b277", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "3cbfecb6-486d-45df-ac56-3a872c39b277", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.662321"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝc{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "5b9dd498-8d69-49b9-80de-97bbe41c0f97", "content": {"text": "/Users/savoie/Dropbox/projects/ein-test", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "5b9dd498-8d69-49b9-80de-97bbe41c0f97", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.664448"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "49ca5baf-e9fe-46b9-8d4c-34bf82a64ad0", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "49ca5baf-e9fe-46b9-8d4c-34bf82a64ad0", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.666119"}, "channel": "iopub", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
I think the second websocket log
[WS] Sending handshake, key: YeXB/eU3hv9EZNEwQx7F8A==, acceptance: pAsm+oH5+wUSbdBL2ohA2EBgk2U=
[WS] Websocket opened
[WS] Received: HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: pAsm+oH5+wUSbdBL2ohA2EBgk2U=
[WS] Checking for accept header: Sec-WebSocket-Accept: pAsm+oH5+wUSbdBL2ohA2EBgk2U=
[WS] Checking for upgrade header
[WS] Checking for connection header
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"092e654f-1cd9-44bb-a4b8-70908833b3ea","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","msg_type":"connect_request"},"metadata":{},"content":{},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"7b28df52-d7ba-4b05-a0d3-5f49c9837ed8","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","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":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"199771e7-3811-4cee-9dc6-2bc59555f896","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').stdout.write(__import__('socket').gethostname())","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"394f1fda-57cf-4dfb-8d28-f9e830f1b84a","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","msg_type":"execute_request"},"metadata":{},"content":{"code":"__import__('sys').path.append('\/Users\/savoie\/projects\/emacs-ipython-notebook\/lisp\/')","silent":true,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ{{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "092e654f-1cd9-44bb-a4b8-70908833b3ea", "version": "5.0", "msg_type": "connect_request"}, "msg_type": "connect_reply", "msg_id": "3fd5feaf-d640-48c4-80a7-d4fc7e57ee86", "content": {"control": 63920, "hb": 63921, "shell": 63917, "iopub": 63918, "stdin": 63919}, "header": {"username": "savoie", "version": "5.0", "msg_type": "connect_reply", "msg_id": "3fd5feaf-d640-48c4-80a7-d4fc7e57ee86", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:30.440485"}, "channel": "shell", "buffers": [], "metadata": {}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "7b28df52-d7ba-4b05-a0d3-5f49c9837ed8", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "4c4349c2-1c7e-4a4b-a933-17b37f86cafd", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "4c4349c2-1c7e-4a4b-a933-17b37f86cafd", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:30.443981"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "ad96c944-0f3b-44e1-8bb6-9cb3d43c4dfa", "status": "ok", "started": "2015-05-02T15:34:30.441645"}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "199771e7-3811-4cee-9dc6-2bc59555f896", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "6eb9ed0f-ef6e-4c40-82fb-07cb9bf5d59f", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "6eb9ed0f-ef6e-4c40-82fb-07cb9bf5d59f", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:30.447248"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "ad96c944-0f3b-44e1-8bb6-9cb3d43c4dfa", "status": "ok", "started": "2015-05-02T15:34:30.445211"}}
[WS] Received: ๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "394f1fda-57cf-4dfb-8d28-f9e830f1b84a", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "de142001-6666-410c-b270-e3dc4bc18ef3", "content": {"status": "ok", "execution_count": 0, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "de142001-6666-410c-b270-e3dc4bc18ef3", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:30.450324"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "ad96c944-0f3b-44e1-8bb6-9cb3d43c4dfa", "status": "ok", "started": "2015-05-02T15:34:30.448625"}}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"319a3a14-2e8d-43a4-a0be-c58d4eaa988f","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","msg_type":"execute_request"},"metadata":{},"content":{"code":"print \"Hello 2\"","silent":false,"user_variables":[],"user_expressions":{},"allow_stdin":true},"parent_header":{},"channel":"shell"}
[WS] Sending frame, opcode: text payload: {"header":{"msg_id":"4be6feb3-3b38-49f8-8fa1-da8811cdc850","username":"username","session":"7615bc15-8cf1-48e0-b42e-8005ea1f5c9d","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":{},"channel":"shell"}
[WS] Received: ๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "45d98af3-18e0-4c36-b439-6021c948b693", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "45d98af3-18e0-4c36-b439-6021c948b693", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.623822"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ_{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_input", "msg_id": "22c9820d-acbd-405a-91f5-8a52fce40240", "content": {"execution_count": 1, "code": "print \"Hello 2\""}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_input", "msg_id": "22c9820d-acbd-405a-91f5-8a52fce40240", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.624341"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝE{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "c554ca40-0024-4fbd-b7b4-0fbcb1ccfacd", "content": {"text": "Hello 2\n", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "stream", "msg_id": "c554ca40-0024-4fbd-b7b4-0fbcb1ccfacd", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.626186"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "06f8e0c4-69e0-4b04-989c-525cca52a055", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "06f8e0c4-69e0-4b04-989c-525cca52a055", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.628241"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "319a3a14-2e8d-43a4-a0be-c58d4eaa988f", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "2337987a-6a14-45d3-8cb3-2466a9b62875", "content": {"status": "ok", "execution_count": 1, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "2337987a-6a14-45d3-8cb3-2466a9b62875", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.627570"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "ad96c944-0f3b-44e1-8bb6-9cb3d43c4dfa", "status": "ok", "started": "2015-05-02T15:34:33.624212"}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "3cbfecb6-486d-45df-ac56-3a872c39b277", "content": {"execution_state": "busy"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "3cbfecb6-486d-45df-ac56-3a872c39b277", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.662321"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝc{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "stream", "msg_id": "5b9dd498-8d69-49b9-80de-97bbe41c0f97", "content": {"text": "/Users/savoie/Dropbox/projects/ein-test", "name": "stdout"}, "header": {"username": "savoie", "version": "5.0", "msg_type"
[WS] Received: : "stream", "msg_id": "5b9dd498-8d69-49b9-80de-97bbe41c0f97", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.664448"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ9{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "status", "msg_id": "49ca5baf-e9fe-46b9-8d4c-34bf82a64ad0", "content": {"execution_state": "idle"}, "header": {"username": "savoie", "version": "5.0", "msg_type": "status", "msg_id": "49ca5baf-e9fe-46b9-8d4c-34bf82a64ad0", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.666119"}, "channel": "iopub", "buffers": [], "metadata": {}}๏ฟฝ~๏ฟฝ๏ฟฝ{"parent_header": {"username": "username", "session": "7615bc15-8cf1-48e0-b42e-8005ea1f5c9d", "msg_id": "4be6feb3-3b38-49f8-8fa1-da8811cdc850", "version": "5.0", "msg_type": "execute_request"}, "msg_type": "execute_reply", "msg_id": "deae6356-8f4e-421c-ba9e-9c7c56484c33", "content": {"status": "ok", "execution_count": 1, "user_expressions": {}, "payload": []}, "header": {"username": "savoie", "version": "5.0", "msg_type": "execute_reply", "msg_id": "deae6356-8f4e-421c-ba9e-9c7c56484c33", "session": "06d07432-0c65-415b-9ee4-0d4a76562654", "date": "2015-05-02T15:34:33.665585"}, "channel": "shell", "buffers": [], "metadata": {"dependencies_met": true, "engine": "ad96c944-0f3b-44e1-8bb6-9cb3d43c4dfa", "status": "ok", "started": "2015-05-02T15:34:33.662657"}}
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
[WS] Received: ๏ฟฝ
[WS] Sending frame, opcode: pong payload:
I am running under Anaconda
savoie@Matts-MacBook-Air ~/projects/emacs-ipython-notebook (upstream-master=)$ conda info
Current conda install:
platform : osx-64
conda version : 3.11.0
conda-build version : 1.11.0
python version : 2.7.9.final.0
requests version : 2.6.2
root environment : /Users/savoie/anaconda (writable)
default environment : /Users/savoie/anaconda
envs directories : /Users/savoie/anaconda/envs
package cache : /Users/savoie/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False
("EIN system info"
:emacs-version
"GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57)
of 2015-04-18 on Matts-MacBook-Air.local"
:emacs-bzr-version nil
:window-system nil
:emacs-variant nil
:os
(:uname
"Darwin Matts-MacBook-Air.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
"
:lsb-release nil)
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:request
(:backend curl)
:ein
(:version "0.3.edb0fd2-dirty"
:source-dir "/Users/savoie/projects/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/projects/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/projects/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/projects/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep t
:version-var mumamo:version
:version "0.91")
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/projects/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/projects/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/projects/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/projects/emacs-ipython-notebook/lib/python/python.el"
:featurep t
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/projects/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/projects/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
When trying to execute the contents of a notebook cell, I get the following error in my *Warnings*
buffer:
Error (websocket): in callback `on-open': Cannot send message to a closed websocket: cl-struct-websocket-frame, text, "{\"header\":{\"msg_id\":\"ff5b031e-ff89-4ccd-9612-dc0f70b4fd07\",\"username\":\"username\",\"session\":\"bb3b49f3-d742-44d9-b505-4453ae23efd6\",\"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': error: "ein:$websocket-onopen accessing a non-ein:$websocket"
Error (websocket): in callback `on-close': error: "ein:$websocket-onclose accessing a non-ein:$websocket"
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"
IPython prints the following in my shell:
2014-11-25 13:13:50.906 [NotebookApp] WARNING | Cross Origin WebSocket Attempt from Eriks-MacBook-Air.local
2014-11-25 13:13:50.906 [tornado.application] ERROR | Uncaught exception in /api/kernels/f92bbedf-4b7f-41ed-b2cb-9ceb13bb43a2/shell
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/tornado/websocket.py", line 322, in wrapper
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py", line 138, in open
"""
HTTPError: HTTP 403: Forbidden
OSX 10.10, IPython 2.3.1, Emacs 24.4, ein master HEAD
Doing import IPython.display
, however, does not cause ein to hang.
When there's a Python error in a cell of a notebook, I can get a nice traceback with C-c C-x
, but I cannot jump to the location of the error with RET
at least if the error does not origin in some external file. The message is File <ipython-input-87-7987bc9ea0c8> does not exist
or similar.
Looking at the code, this may not actually be supposed to work. Would it be hard to allow jumping to the line in a notebook buffer?
In any case, thanks a lot for keeping EIN alive!
So after putting this together, it may just be that you don't support notebook 4 versions yet? But here's a problem I'm seeing. Let me know if I can help.
*.elc
files from source directory of EIN andInvalid JSON notebook errors. When saving a notebook after doing a df.head() I get errors in my server console, and when I try to open the .ipynb file from a browser, I get an error "Notebook validation failed: Additional properties are not allowed (u'html' was unexpected): {....."
[E 14:50:32.727 NotebookApp] Notebook JSON is invalid: Additional properties are not allowed (u'html' was unexpected) ...<+ more>
full error here: https://gist.github.com/b74b22359497238f6de5
from pandas import Series, DataFrame
df =DataFrame( {'one' : Series([1., 2., 3.], index=['a', 'b', 'c']), 'two' : Series([1., 2., 3., 4.], index=['a', 'b', 'c', 'd'])})
df.head()
No errors in the server window on save.
No errors when a file is opened from a browser after being saved in ein.
lisp/zeroein.el
ipython --version
):$ ipython --version
3.1.0
ipython notebook --port 9999
):ipython notebook --notebook-dir=. --ip=0.0.0.0
8888
I am running under anaconda python.
savoie@Matts-MacBook-Air ~/Dropbox/projects/ein-test$ conda info
Current conda install:
platform : osx-64
conda version : 3.11.0
conda-build version : 1.11.0
python version : 2.7.9.final.0
requests version : 2.6.2
root environment : /Users/savoie/anaconda (writable)
default environment : /Users/savoie/anaconda
envs directories : /Users/savoie/anaconda/envs
package cache : /Users/savoie/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
is foreign system : False
("EIN system info"
:emacs-version
"GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57)
of 2015-04-18 on Matts-MacBook-Air.local"
:emacs-bzr-version nil
:window-system nil
:emacs-variant nil
:os
(:uname
"Darwin Matts-MacBook-Air.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
"
:lsb-release nil)
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:request
(:backend curl)
:ein
(:version "0.3.edb0fd2"
:source-dir "/Users/savoie/projects/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/projects/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/projects/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/projects/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep nil
:version-var nil
:version nil)
(:name "auto-complete"
:path "~/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/projects/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/projects/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/projects/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/projects/emacs-ipython-notebook/lib/python/python.el"
:featurep nil
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/projects/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/projects/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
I am using IPython 2.3.1 and EIN form MELPA. I can open the notebook list M-x ein:notebooklist-open RET RET
. I can also open a notebook, but then I cannot execute any cell.
*.elc
files from source directory of EIN andI am using IPython 2.3.1 and EIN form MELPA. I can open the notebook list M-x ein:notebooklist-open RET RET
. I can also open a notebook, but then I cannot execute any cell.
ipython notebook --ip=127.0.0.1
M-x ein:notebooklist-open RET RET
Executed python code in the notebook cell
;; ELPA packages
(add-to-list 'load-path "~/.emacs.d/")
ipython --version
):ipython notebook --port 9999
):ipython notebook --ip=127.0.0.1
Error (websocket): in callback `on-open': Cannot send message to a closed websocket: cl-struct-websocket-frame, text, "{\"header\":{\"msg_id\":\"316f999e-2fdc-4529-80e5-24c8bc6b0c74\", \"username\":\"username\", \"session\":\"ba9991c8-3e8e-4103-aded-474047269bef\", \"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
websocket-send: Cannot send message to a closed websocket
Blocking call to accept-process-output with quit inhibited!! [2 times]
REQUEST [error] Error (error) while connecting to http://127.0.0.1:8888/api.
ein: [info] Opened notebook list at 8888 with path
2015-01-30 14:51:37.043 [NotebookApp] Using existing profile dir: u'/users/gime_se/.ipython/profile_default'
2015-01-30 14:51:37.058 [NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
2015-01-30 14:51:37.070 [NotebookApp] Serving notebooks from local directory: /users/gime_se
2015-01-30 14:51:37.071 [NotebookApp] 0 active kernels
2015-01-30 14:51:37.071 [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
2015-01-30 14:51:37.071 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
(process:5487): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
2015-01-30 14:53:05.855 [tornado.access] WARNING | 404 GET /api (127.0.0.1) 4.81ms referer=None
2015-01-30 14:53:05.982 [tornado.access] 302 GET /api/notebooks/ (127.0.0.1) 0.39ms
2015-01-30 14:53:07.861 [NotebookApp] WARNING | Notebook /session_band_4_o2a.ipynb is not trusted
2015-01-30 14:53:08.035 [NotebookApp] Kernel started: c5a23594-9ee4-4bb8-9d3e-ca15aee087fb
2015-01-30 14:53:08.076 [NotebookApp] WARNING | Missing Origin header, rejecting WebSocket connection.
2015-01-30 14:53:08.076 [tornado.application] ERROR | Uncaught exception in /api/kernels/c5a23594-9ee4-4bb8-9d3e-ca15aee087fb/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/local/lib/python2.7/site-packages/IPython/html/base/zmqhandlers.py", line 147, in open
raise web.HTTPError(403)
HTTPError: HTTP 403: Forbidden
Python 2.7.6
tornado 3.1
pyzmq 13.0.0
("EIN system info"
:emacs-version
"GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.10.9)
of 2014-11-12 on cloud104"
:emacs-bzr-version nil
:window-system x
:emacs-variant nil
:os
(:uname
"Linux arete 3.11.10-25-default #1 SMP Wed Dec 17 17:57:03 UTC 2014 (8210f77) x86_64 x86_64 x86_64 GNU/Linux
"
:lsb-release
"LSB Version: n/a
Distributor ID: openSUSE project
Description: openSUSE 13.1 (Bottle) (x86_64)
Release: 13.1
Codename: Bottle
")
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
:request
(:backend curl)
:ein
(:version "0.3"
:source-dir "/users/gime_se/.emacs.d/elpa/ein-20150116.2001/")
:lib
((:name "websocket"
:path "~/.emacs.d/elpa/websocket-20141226.1957/websocket.elc"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/.emacs.d/elpa/request-20140316.417/request.elc"
:featurep t
:version-var request-version
:version "0.2.0")
(:name "auto-complete"
:path "~/.emacs.d/elpa/auto-complete-20150124.1523/auto-complete.elc"
:featurep nil
:version-var nil
:version nil)
(:name "auto-complete"
:path "~/.emacs.d/elpa/auto-complete-20150124.1523/auto-complete.elc"
:featurep nil
:version-var nil
:version nil)
(:name "popup"
:path "~/.emacs.d/elpa/popup-20150116.1223/popup.elc"
:featurep nil
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/.emacs.d/elpa/fuzzy-20131025.2343/fuzzy.elc"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/.emacs.d/elpa/pos-tip-20141122.512/pos-tip.elc"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "/usr/share/emacs/24.3/lisp/progmodes/python.elc"
:featurep t
:version-var nil
:version nil)
(:name "python-mode"
:path "~/.emacs.d/elpa/python-mode-20150117.955/python-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/.emacs.d/elpa/markdown-mode-20150121.1229/markdown-mode.elc"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/.emacs.d/elpa/smartrep-20140404.1714/smartrep.elc"
:featurep nil
:version-var nil
:version nil)))
Thanks for reviving EIN! It is a pleasure to be able to work with ipython notebooks in Emacs again. I am experiencing a technical issue, though:
Working with a notebook that contains some inline plots, after a while Emacs (version 24.3.1) gives me messages "Maximum string size exceeded" after trying to do virtually anything -- even M-x kill-emacs
only gives this message, but does nothing.
At least according to htop
there is not a lot of memory is consumed. Do you have any clou what could be going on?
It is more like a question than an issue. Right now I cannot open the large ipython notebook file. Is there any way to adjust the time out. I tried to change the time out in ein-query.el without any success. I always ended up the error messages for a large file [10MB] like this.
REQUEST [error] Callback is not called when stopping process! Explicitly calling from timer.
REQUEST [error] Error (timeout) while connecting to http://127.0.0.1:8888/api/notebooks
Believe this is because of a change in the Kernel messaging protocol.
Relevant code in ein:kernel-object-info-request
.
Github only index main repo principally.
I would suggest writing to GitHub and asking to be detached as "main" repo to be indexed and searchable. See last sentence of page.
Might be more difficult for people to find this though tkf repo and looking at network, but might improge google indexing.
Not sure when this began, but I'm getting cross contamination with names
(I guess it's going wrong after I do a restart of the kernel) Sorry for the flurry of bug reports.
I am correct in thinking each notebook should have it's own kernel process.
Cheers,
Matt
*.elc
files from source directory of EIN andkernels end up shared across notebooks leading to name collisions.
df = 'hello'
print df
df = 'hello'
print df
hello
Truncated Traceback (Use C-c C-x to view full TB):
<ipython-input-5-ccf38de77676> in <module>()
----> 1 print df
NameError: name 'df' is not defined
I was under the impression that each sheet had it's own kernel and names shouldn't be cross contaminated across them.
lisp/zeroein.el
ipython --version
):3.1.0
ipython notebook --port 9999
):ipython notebook --notebook-dir=. --ip=0.0.0.0
8888
("EIN system info"
:emacs-version
"GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57)
of 2015-04-15 on savoie-laptop.ad.int.nsidc.org"
:emacs-bzr-version nil
:window-system nil
:emacs-variant nil
:os
(:uname
"Darwin savoie-laptop.ad.int.nsidc.org 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
"
:lsb-release nil)
:image-types
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:image-types-available
(svg imagemagick png gif tiff jpeg xpm xbm pbm)
:request
(:backend curl)
:ein
(:version "0.3.fd6711c"
:source-dir "/Users/savoie/Dropbox/projects/emacs-ipython-notebook/lisp/")
:lib
((:name "websocket"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/websocket/websocket.el"
:featurep t
:version-var websocket-version
:version "1.3")
(:name "request"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/request/request.el"
:featurep t
:version-var request-version
:version "0.2.0alpha1")
(:name "auto-complete"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "mumamo"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/nxhtml/util/mumamo.el"
:featurep t
:version-var mumamo:version
:version "0.91")
(:name "auto-complete"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/auto-complete/auto-complete.el"
:featurep t
:version-var nil
:version nil)
(:name "popup"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/popup/popup.el"
:featurep t
:version-var nil
:version nil)
(:name "fuzzy"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/fuzzy/fuzzy.el"
:featurep nil
:version-var nil
:version nil)
(:name "pos-tip"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/pos-tip/pos-tip.el"
:featurep nil
:version-var nil
:version nil)
(:name "python"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/python/python.el"
:featurep t
:version-var nil
:version nil)
(:name "markdown-mode"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/markdown-mode/markdown-mode.el"
:featurep nil
:version-var nil
:version nil)
(:name "smartrep"
:path "~/Dropbox/projects/emacs-ipython-notebook/lib/smartrep/smartrep.el"
:featurep nil
:version-var nil
:version nil)))
The function ein:notebooklist-new-notebook-with-name
returns "Wrong type argument: arrayp, nil."
This then also happens with for instance for ein:junk-new
. Tried this on 3 different computers all giving the same result. Also happens when starting emacs using zeroein.el.
Unfortunately, I'm too bad at lisp to understand what's going on.
:)
Probably because code is calling a REST API that was deprecated in 2.x.
When I updated ein from the package listing to the current git version, I get an error:
...54/ein-contents-api.el locked by E34119@TX0GL... (pid 15104)
I think this is just because the file lisp/.#ein-contents.api.el got checked in by accident.
When I was trying to bring this up, i followed the markdown documentation, which says (require 'ein). But I found that wasn't enough, I also had to (require 'ein-loaddefs). I found by reading the source that ein.el only does (provide 'ein); I didn't see it having any way to do anything else. Maybe this is my misunderstanding, maybe the documentation needs a little more.
Hello. I'm company-mode user. I don't use auto-complete at all and I don't want any package installing it. Can you remove it from pkg dependencies?
Per pull request ipython/ipython#7389 IPython now multiplexes iopub, session, and stdin through one websocket connection instead of three.
I have been trying to figure out what attribute is setting the background for inline plots in EIN. The background for the plot seems to always take the default background color for my color theme, even though I'm changing the default background color for the major mode that it's contained in. I.e.:
(defun switch-color ()
"Switch default bg for ipython notebook."
(face-remap-add-relative 'default '((:background "white"))))
(add-hook 'ein:notebook-multilang-mode-hook 'switch-color)
This works for everything except for the inline plots that are generated.
I have also tried editing matplotlibrc, and have been able to change the coloring for different parts of the plot (ticks, axes, etc) with the exception of the background.
I don't know enough about how the plots are generated inline to figure out where they're inheriting their background color from. I've looking through the M-x customize-group options for ein, but haven't been able to find anything that affects the inline plot background.
When trying the opening sample, the very first one under https://github.com/millejoh/emacs-ipython-notebook where it says "screenshot," I get the graphics in a popup window and not inside emacs. The popup window is a hateful thing because it takes me out of emacs and then I have to touch the mouse to dismiss it and I've blown my mental cache & lost the advantages of using emacs. I looked around a long time for some info in the docs to address this, and didn't find any. If I end up figuring out how to fix this, I'll put it in the wiki. But because it may be something that will bite other beginners, may I suggest a word about it in the documentation.
(EDIT: I found out that i need to say
%pylab inline
def plotnormal ...
and that the emacs background color should not be black (i'll try to fix that problem)
the documented example
from pylab import plot
does not work for me: python barfs with
Truncated Traceback (Use C-c C-x to view full TB):
<ipython-input-7-8618f02f2b7e> in <module>()
----> 1 from pylab import plot
ImportError: cannot import name plot
and I don't know why
IPython 3.0 is replacing the RESTful API described in IPEP 16 with a new 'Contents' API described in IPEP 27.
There are changes in URL naming and in JSON format, so implementation won't be as easy as I like (but hopefully not as difficult as I fear). The main issue is that I know face the dilemma of having three different version of IPython RESTful API's to support. I see a few paths forward at the moment:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.