tkf / emacs-ipython-notebook

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

iPython 2.0.0 incompatibility? #133

Open kaz-yos opened 10 years ago

kaz-yos commented 10 years ago

Check list

I just updated my iPython to 2.0.0, now ein:notebooklist-open does not work. It gives "Error (parse-error)". The browser initial screen is at "http://127.0.0.1:8888/tree", but pointing to this URL also gives the same error.

Steps to reproduce the problem

  1. Install the system using "Scipy Superpack Recent builds of fundamental Python scientific computing packages for OS X" https://raw.github.com/fonnesbeck/ScipySuperpack/master/install_superpack.sh
  2. Terminal.app: ipython notebook --pylab inline
  3. The browser version appears to function normally, but at "http://127.0.0.1:8888/tree"
  4. ein:notebooklist-open gives the error stated above.
  5. It can be partially solved by downgrading ipython to 1.1.0 by sudo python -m easy_install -N -Z ipython==1.1.0

However, this then breaks the browser version. "http://127.0.0.1:8888" is a white screen.

Expected output

IPython Notebook list

[New Notebook] [Reload List] [Open In Browser] [Open] [Delete] : lab1

Your EIN configuration (in .emacs.d/init.el or somewhere else)

;; ein.el ; Emacs IPython Notebook (EIN) ;; http://tkf.github.com/emacs-ipython-notebook/ ;; Usage ;; Start IPython notebook server with $ ipython notebook --pylab inline ;; Hit M-x ein:notebooklist-open to open notebook list. (require 'ein) ;; Auto complete for ein (setq ein:use-auto-complete t) ;; Or, to enable "superpack" (a little bit hacky improvements): ;; (setq ein:use-auto-complete-superpack t) (add-hook 'ein:notebook-multilang-mode-hook ; For EIN '(lambda() (local-set-key (kbd "") 'ein:worksheet-execute-cell) (local-set-key (kbd "") 'ein:worksheet-execute-cell) (local-set-key (kbd "C-c a") 'ein:worksheet-insert-cell-above) (local-set-key (kbd "C-c b") 'ein:worksheet-insert-cell-below) (local-set-key (kbd "C-c k") 'ein:worksheet-kill-cell) (local-set-key (kbd "C-c w") 'ein:worksheet-copy-cell) (local-set-key (kbd "C-c y") 'ein:worksheet-yank-cell) (local-set-key (kbd "C-c p") 'ein:worksheet-goto-prev-input) (local-set-key (kbd "C-c n") 'ein:worksheet-goto-next-input) ))

Your IPython configuration

  1. What is your IPython version? (run ipython --version): 2.0.0-dev
  2. How do you start IPython? (e.g., ipython notebook --port 9999): ipython notebook --pylab inline
  3. What is your IPython notebook port number or URL?: 8888

    Additional information (if any)

    System info:

("EIN system info"
 :emacs-version
 "GNU Emacs 24.3.1 (x86_64-apple-darwin12.3.0, NS apple-appkit-1187.37)
 of 2013-04-10 on 209-6-129-81.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com"
 :emacs-bzr-version nil
 :window-system ns
 :emacs-variant nil
 :os
 (:uname
  "Darwin MBP17-Early2011.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
"
  :lsb-release nil)
 :image-types
 (png gif tiff jpeg xpm xbm pbm)
 :image-types-available
 (png gif tiff jpeg xpm xbm pbm)
 :request
 (:backend curl)
 :ein
 (:version "0.2.1alpha2"
       :source-dir "/Users/kazuki/.emacs.d/elpa/ein-20130711.1004/")
 :lib
 ((:name "websocket"
     :path "~/.emacs.d/elpa/websocket-20130921.2340/websocket.elc"
     :featurep t
     :version-var websocket-version
     :version "1.1")
  (:name "request"
     :path "~/.emacs.d/elpa/request-20130526.1915/request.elc"
     :featurep t
     :version-var request-version
     :version "0.2.0")
  (:name "auto-complete"
     :path "~/.emacs.d/elpa/auto-complete-20131128.233/auto-complete.elc"
     :featurep t
     :version-var nil
     :version nil)
  (:name "auto-complete"
     :path "~/.emacs.d/elpa/auto-complete-20131128.233/auto-complete.elc"
     :featurep t
     :version-var nil
     :version nil)
  (:name "popup"
     :path "~/.emacs.d/elpa/popup-20130901.2255/popup.elc"
     :featurep t
     :version-var popup-version
     :version "0.5.0")
  (:name "fuzzy"
     :path "~/.emacs.d/elpa/fuzzy-20131026.1543/fuzzy.elc"
     :featurep t
     :version-var nil
     :version nil)
  (:name "python"
     :path "/Applications/Emacs24.3.app/Contents/Resources/lisp/progmodes/python.elc"
     :featurep t
     :version-var nil
     :version nil)
  (:name "python-mode"
     :path "~/.emacs.d/elpa/auto-complete-20131128.233/dict/python-mode"
     :featurep nil
     :version-var nil
     :version nil)
  (:name "markdown-mode"
     :path "~/.emacs.d/elpa/markdown-mode-20131005.1155/markdown-mode.elc"
     :featurep nil
     :version-var nil
     :version nil)
  (:name "helm"
     :path "~/.emacs.d/elpa/helm-20131206.1034/helm.elc"
     :featurep t
     :version-var nil
     :version nil)))