Open troisquatre opened 5 years ago
Whatever I could log: Ein_debugLog.txt
Any updates?
First, you should probably go over to https://github.com/millejoh/emacs-ipython-notebook and open an issue over there. This is the original, old, and no-longer-supported repository for ein.
Second, when you try to save it looks like Jupyter is generating a 500 response, which is kind of its way of shrugging arms and saying "I don't know." As mentioned in https://github.com/millejoh/emacs-ipython-notebook/issues/480, the current way to debug is:
First issue M-x ein:dev-start-debug
. Then reproduce the error.
Higher level diagnostics appear in M-x ein:log-pop-to-all-buffer
.
Lower level diagnostics (the actual curl requests) appear in M-x ein:log-pop-to-request-buffer
.
We might also be able to get better info if you run the jupyter server with the --debug
option.
as same as you
I found the "File-Save" label is grey.
same issue here.
C-x C-w works.
Check list
*.elc
files from source directory of EIN and its dependencies.Description of the problem you have
I'm using
Windows 10
,Emacs 26.1
,IPython 7.2.0
, andein 20190228.2008
.C-x C-s
gives the error:ein: [info] Failed to save notebook!
. I'm able to save the files through the web interface.As per #175, I tried changing the permissions of the files, but I can't
chmod ug=rw
files on Windows.Steps to reproduce the problem
Anaconda Prompt
activate py37
Emacs
C-x C-f <the notebook>
C-c C-o
and click open in the relevant directoryC-x C-s
Expected output
File saved (I guess).
Your EIN configuration (in .emacs.d/init.el or somewhere else)
;; package (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) (not (gnutls-available-p)))) (proto (if no-ssl "http" "https"))) (when no-ssl (warn "\ Your version of Emacs does not support SSL connections, which is unsafe because it allows man-in-the-middle attacks. There are two things you can do about this warning:
(package-initialize)
(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages (quote (package+ markdown-mode+ requirejs smartrep python-mode markdown-mode ipython-shell-send jupyter request-deferred tornado-template-mode ipython ein)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'ein) (require 'ein-notebook) (require 'ein-subpackages) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Your IPython configuration
What is your IPython version? (run
ipython --version
): 7.2.0How do you start IPython? (e.g.,
ipython notebook --port 9999
):What is your IPython notebook port number or URL?:
Additional information (if any)
From #175: I tried:
ein:byte-compile-ein
. No change in results.ein:list-available-kernels 8888
doesn't exist in my installation. From #178: Attached is whatever I could log.System info: