googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.18k stars 712 forks source link

Automatic saving failed. This file was updated remotely or in another tab #4604

Open g-i-o-r-g-i-o opened 4 months ago

g-i-o-r-g-i-o commented 4 months ago

Describe the current behavior

In the last days, automatic saving has been failing, also if I clear the output (thus reducing the saved footprint).

It happens more frequently when the connection is unreliable or simply slower.

My home adsl does probably less than 1Mbs in upload, and yet it has problems with saving. Sometimes the problems solves by switching to the phone connection, sometimes not.

Very often get the message: "Automatic saving failed. This file was updated remotely or in another tab" Then I click show diff, I save, and sometimes it saves, sometimes not.

Some days I get the message like 20 times before being able to save.

Describe the expected behavior Automatic save should work.

What web browser you are using Latest Firefox on Ubuntu and on Windows 10

Additional context Happens with bigger colabs.

EvanWiederspan commented 4 months ago

Do you still see the issue in incognito mode, with extensions disabled? Also to check, do you have the notebooks open in multiple tabs where they might interfere with each other?

g-i-o-r-g-i-o commented 4 months ago

Yes, I still see the same problem with extensions disabled.

The problem is that my colab is very large, about 10 MegaBytes when downloaded, so the saving function somehow chokes, and you can't save even if you clear all the output, bringing the size down to a more manageable 300 KiloBytes or so. It's like if there's a "queue" of savings efforts, so even if you shrunk your notebook, there's still the old saving in progress.

My home adsl is about 1 Megabit/second in upload.

I can't share the notebook, but it happens very frequently with many notebooks that are packed with graphs.

porcoboia commented 3 months ago

To me happen the same. Very often I get the message: "Automatic saving failed. This file was updated remotely or in another tab". I have only one notebook open and running. Notebook is 23 KB dimension. When I get the above message the cell that is running never stop to run. Cell continues to run, it is stuck in a loop without end. I am gettin very annoyed about this issue. Urgently I need a solution.