-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ein: [info] Failed to save notebook #203
Comments
Whatever I could log: |
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 millejoh/emacs-ipython-notebook#480, the current way to debug is:
We might also be able to get better info if you run the jupyter server with the |
as same as you |
I found the "File-Save" label is grey. |
same issue here. |
C-x C-w works. |
Check list
https://github.com/millejoh/emacs-ipython-notebook/blob/master/CONTRIBUTING.md
files by removing all the
*.elc
files from source directory of EIN andits dependencies.
(You can check the location in the "System info" section below)
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:
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(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:
The text was updated successfully, but these errors were encountered: