Skip to content
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

The notebook file has changed on disk #207

Closed
mwouts opened this issue Mar 25, 2019 · 4 comments
Closed

The notebook file has changed on disk #207

mwouts opened this issue Mar 25, 2019 · 4 comments

Comments

@mwouts
Copy link
Owner

mwouts commented Mar 25, 2019

With large notebooks I get this message:

The notebook file has changed on disk since the last time we opened or saved it. Do you want to overwrite the file on disk with the version open here, or load the version on disk (reload the page)?

image

I do have the text version opened in another editor, but it was not modified since the notebook was last saved in Jupyter.

@mwouts
Copy link
Owner Author

mwouts commented Mar 25, 2019

This has similarities with jupyter/notebook#484, which was solved by allowing a configurable buffer time here: jupyter/notebook#3273.

However, in the case of Jupytext, this may become from the fact that .ipynb and .py file have different timestamps. In the case of my current notebook, the .py file was saved half a second after the .ipynb file (which is quite large).

@mwouts mwouts closed this as completed in bc72eb3 Mar 25, 2019
@mwouts
Copy link
Owner Author

mwouts commented Mar 25, 2019

I think this regression was introduced in version 1.0.3 when working on #180. The fix is included in version 1.0.5.

@YiifanFra
Copy link

You can try by changing the name of your file, less special symbols.

@stromal
Copy link

stromal commented Oct 25, 2021

My issue was that I have had the same notebook / Jupiter lab file open in an other browser as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants