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

Multi-Directory notebooks overwrite each other's checkpoints #5706

Closed
manuteleco opened this issue Apr 23, 2014 · 2 comments · Fixed by #5708
Closed

Multi-Directory notebooks overwrite each other's checkpoints #5706

manuteleco opened this issue Apr 23, 2014 · 2 comments · Fixed by #5708
Milestone

Comments

@manuteleco
Copy link

IPython version: 71ff8f9 (after 2.0)

Even though I haven't seen any open issue about this yet, I believe it might be already known, given that it is mentioned here: https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping#create-a-checkpoint

In brief, the problem is that notebooks that have the same name will write/read the same checkpoint file, regardless of the notebooks' path.

Example:
Notebooks /test.ipynb and /some_path/test.ipynb will both have their checkpoint file named test-checkpoint.ipynb directly under .ipynb_checkpoints.

The consequence of this is that if two or more notebooks located in different subdirectories happen to have the same name they will overwrite each other's checkpoints. A potential solution could be to save the checkpoints in subdirectories as well.

@minrk
Copy link
Member

minrk commented Apr 23, 2014

Should be fixed by #5708

@takluyver
Copy link
Member

Or rather, #5708.

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

Successfully merging a pull request may close this issue.

5 participants