These are chat archives for ipython/ipython

7th
Apr 2015
Min RK
@minrk
Apr 07 2015 16:59
Today;s meeting: http://youtu.be/KlGhoUxTQuw
Antonino Ingargiola
@tritemio
Apr 07 2015 18:54
I just reported ipython/ipython#8270, it's the same error I reported a few days ago here in the chat.
This time I'm 100% sure no other copy of the notebook was open in other tabs or browsers.
Ahh, I got it again, seems to be related to the autosave while the notebook is running
But for some reason the autosave is not triggered systematically, I have a few notebooks with unsaved changes with last checkpoint more than 30 min ago.
Matthias Bussonnier
@Carreau
Apr 07 2015 19:01
checkpoint != autosave
checkpoint are only created manually.
Antonino Ingargiola
@tritemio
Apr 07 2015 19:03
ok, anyway it says there are unsaved changes and around half an hour or more has passed
Matthias Bussonnier
@Carreau
Apr 07 2015 19:04
Is this heavy notebooks ?
the time in between saves depends on the time it takes to save.
Antonino Ingargiola
@tritemio
Apr 07 2015 19:05
I see, this one performs some heavy computations, I mean several minutes, but the content itself is mostly text, it should not be very heavy
(ops, happened again)
the file is only 11kB, around 10 cells and few lines of text ouput
@Carreau, seems like it happens if the autotsave is triggered during a busy computation. I'm on windows so weird things can happen
Min RK
@minrk
Apr 07 2015 19:10
@tritemio I don't suppose you rename your notebook with any regularity?
I'm just trying to figure out how timestamps are being changed or compared in unexpected ways.
Antonino Ingargiola
@tritemio
Apr 07 2015 19:12
@minrk, actually when trying to reproduce the error I was running the notebook several times but the autosave was never triggered. Then I copied the notebook and run it and I got the error.
@minrk it may be related with the copy
And by copying I mean, using the menu File -> Make a copy ...
Antonino Ingargiola
@tritemio
Apr 07 2015 19:21
Just as note, ctime behaves differently between linux and windows:
Antonino Ingargiola
@tritemio
Apr 07 2015 19:28
I just got a Permission denied error when trying to copy the notebook
I was copying while there where unsaved changes
Ok, if I make some changes and then keep copying the notebook I get the permission denied error after a few times
probably if the autosave is triggered during a copy
Matthias Bussonnier
@Carreau
Apr 07 2015 19:31
Copy saves on the drive and copy on the drive, then open the copy.
do you have werid permission on the folder itself ?
Antonino Ingargiola
@tritemio
Apr 07 2015 19:32
@Carreau , sorry can you repeat what kind of copy should I try?
Antonino Ingargiola
@tritemio
Apr 07 2015 19:42
@Carreau, I got what you mean, no weird permission, but the notebook folder is inside a dropbox folder.
I work on the folder all the time, copying, deleting, modifying files. Only occasionally I get this error since I upgraded to ipython 3
I also got a similar error in the past in another folder that was under google drive, if it makes any sense
Antonino Ingargiola
@tritemio
Apr 07 2015 20:10
I don't know if it is related but I can reproduce the Permission denied error while trying to copy the notebook just by copying the unsaved notebook several times, until the autosave is triggered.
At that point trying one more time to copy the notebook succedes
This is systematically reproducible on new notebooks
After the error, opening the latest copy I often get the message about overwriting the notebook. But this part is not deterministic, it happens randomly
Min RK
@minrk
Apr 07 2015 20:28
@tritemio thanks for digging into this. Does it happen on regular non-dropbox or gdrive filesystems?