i keep getting the following 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)?" on Jupyter notebook even though i didn't make any changes, how can i fix this problem?
Thanks
Here's something to point you toward several possible solutions. Not sure why no one has commented or answered this yet, since from the link below this has been a problem through many versions of jupyter since at least 2015 and continues to be today.
What I gleaned from the issue report below is this seems to be an issue with the volume mount, specifically with a clock difference between the local machine and the server. For leads and some temporary patches, see https://github.com/jupyter/notebook/issues/484.
I have faced their issue and it was really annoying. By just moving my notebook.ipynb to my desktop, thus shortening the path, it worked. So, the issue seems to be the long path to the notebook.ipynb. Hopefully, some future updates will solve the problem, but for the time being, shortening the path works great.
I had this same problem when the file address of the notebook I was using was really long. The notebook was inside too many folders, making the address too long for the kernel.
I fixed this problem by moving my notebook.ipynb to my desktop to shorten the path as much as possible.
The 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)?" finally stopped popping up.
Simple solution that should work for almost everyone:
Reduce the size of the filename. In other words make it shorter.
For instance:
To
This should fix it!
If it's still not short enough, try to move the folder somewhere where its path is shorter, say for instance, the desktop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With