vscode-jupyter icon indicating copy to clipboard operation
vscode-jupyter copied to clipboard

lost a day of work

Open Khalilsqu opened this issue 2 years ago • 7 comments

I lost the whole day of work because the jupyter notebook had not been saved.

I made sure the autosave is enabled ad clicked the save button several times before leaving the office,

So unfortunate that all day of work was lost.

Khalilsqu avatar Sep 04 '22 18:09 Khalilsqu

I'm sorry you team into such an issue. please could you provide more information about this bug.

  • what version of vscode and jupyter extension are you using?
  • were you using notebooks or interactive window?
  • are you thinking this or remote ssh or the like?

DonJayamanne avatar Sep 04 '22 21:09 DonJayamanne

The same thing just happened to me! I saved constantly throughout the day via cmd+s, and the white dot that indicates the file is unsaved disappeared every time!

I just closed the file and wanted to send it to a collaborator, and the file is no where to be found! .ipynb_checkpoints is empty too!

To answer your questions:

  • I am using VSCode 1.72.2 on Mac, with version v2022.9.1202862440 for the Jupyter extension
  • I was using a notebook
  • This was local, not remote

jfcrenshaw avatar Oct 27 '22 22:10 jfcrenshaw

image

Can anyone of you try open Timeline view in the Explorer, and see if you have any save history there?

rebornix avatar Dec 12 '22 22:12 rebornix

I had the same issue recently. I am using VSCode v1.74 with Jupyter v2022.11.1003412109 on Windows connecting to a remote Linux server. The notebook is located and being run on the remote server.

The timeline appears to be empty. When I look at the timeline for other files, there is info there. It appears to be only the jupyter lab notebook that has no history.

jormelton avatar Dec 21 '22 20:12 jormelton

I can confirm this indeed happens. Yesterday, I worked on a Python notebook, made many changes, but apparently never saved the file. Overnight, Windows decided to update and restart. Next morning, the notebook is reverted as if no changes were ever made. The "Timeline" view is empty, only shows the change from 1 month ago. The file was at a WSL (Windows Subsystem for Linux), which I believe might be the issue here.

tomasiser avatar Apr 13 '23 10:04 tomasiser

I had the same issue. The "Timeline" only occasionally saves the changes. Why hasn't this bug been fixed yet? @DonJayamanne

guzy0324 avatar Oct 27 '23 17:10 guzy0324

Hey @rebornix, this issue might need further attention.

@Khalilsqu, you can help us out by closing this issue if the problem no longer exists, or adding more information.

vscodenpa avatar Feb 26 '24 13:02 vscodenpa

I have seldom used vscode notebook since then, and thus cannot create a reproducible example. Therefore I am closing this issue no now.

Khalilsqu avatar Feb 28 '24 05:02 Khalilsqu