Jupyter Notebook error while saving

Everything works fine, but now every time I try to save a file in a Jupyter Notebook, I get the following error.

URIError: URIMalformed 

The following is also shown in the title bar.

 Last Checkpoint: 09/02/2016 Autosave Failed! 

How to fix this problem?

+5
source share
5 answers

There is a solution for Lastpass users:

https://github.com/jupyter/notebook/issues/1966

add "localhost" to My Vault β†’ Account Settings β†’ Neverl URLS β†’ β€œNever Add Site”

+3
source

I also encountered the same error. I ended up tracing it before the LastPass extension in Chrome. I disabled the extension and I was able to save again.

[lastpass] [jupyter]

+5
source

I have the same problem and tracked it down to the % symbol.

I use it in the %matplotlib auto .

I don’t even have to run a line of code. Just having this in my text is causing an error. If I delete a character, I can save it again.

Remove all % and see if you can save.

+3
source

+1 Scott will answer above. I also received the same error messages as you, using Python 3.5.1. I fixed the problem by getting rid of any % characters in my code for Scott's answer from yesterday. I need % for the modulo operator. Instead, I imported operator.mod() .

Also: this is such a bizarre mistake!

0
source

As an alternative to globally disabling the LastPass extension in Chrome, I was able to get everything working by launching the laptop in the Chrome incognito window.

Additionally, this issue only affects Chrome. Even when LastPass is enabled in Firefox, I was able to save laptops without urierror.

Not using β€œ%” in Jupyter Notebooks doesn't seem like a solution, since the magic starts with% and even has% in the print statement, causing an error.

0
source

Source: https://habr.com/ru/post/1261061/


All Articles