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

can't save opened notebook if accidently delete the notebook in the dashboard #2667

Closed
linyige opened this issue Dec 7, 2012 · 5 comments
Closed
Milestone

Comments

@linyige
Copy link

linyige commented Dec 7, 2012

When editing a notebook in a browser tab or window, if I shutdown the notebook and delete it in the dashboard, I can't save the opened notebook . Rename and make a copy also don't work. Similar situation may happen if you share the notebook on a netdrive but use local ipython notebook servers on different computers.

@ellisonbg
Copy link
Member

Would this situation be helped if there was an autosave/backup that allowed
you to recover from a deleted notebook? I guess I am a little confused -
delete does exactly what you expect it to - it deletes it. If we are still
using it, why would you delete it? If you delete a notebook, why would you
still want to use it?

On Fri, Dec 7, 2012 at 9:02 AM, linyige notifications@github.com wrote:

When editing a notebook in a browser tab or window, if I shutdown the
notebook and delete it in the dashboard, I can't save the opened notebook .
Rename and make a copy also don't work. Similar situation may happen if you
share the notebook on a netdrive but use local ipython notebook servers on
different computers.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2667.

Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com

@takluyver
Copy link
Member

@ellisonbg - if I understand rightly, he's talking about accidentally deleting a notebook while you still have it open. Most applications will still let you save the file in that case.

@linyige
Copy link
Author

linyige commented Dec 8, 2012

ellisonbg exactly knows what I mean.
I share my notebooks on a netdrive. The situation is, I created a notebook on one machine, but I forgot to save it. The file name was like Untitled1. When I opened another ipython notebook server on a different machine, the file was just an empty notebook and I deleted it. Later when I wanted to save the notebook on the first machine, it wouldn't allow me to do that.
Auto save will help because if I know the content of the notebook, I would not delete it. Recover from deleted file may not be very useful if I have to go back to the second machine to recover it and go to the first machine again to save it.

@ellisonbg
Copy link
Member

OK I understand the usage case and agree that this should work as you
describe.

On Sat, Dec 8, 2012 at 6:26 AM, linyige notifications@github.com wrote:

ellisonbg exactly knows what I mean.
I share my notebooks on a netdrive. The situation is, I created a notebook
on one machine, but I forgot to save it. The file name was like Untitled1.
When I opened another ipython notebook server on a different machine, the
file was just an empty notebook and I deleted it. Later when I wanted to
save the notebook on the first machine, it wouldn't allow me to do that.
Auto save will help because if I know the content of the notebook, I would
not delete it. Recover from deleted file may not be very useful if I have
to go back to the second machine to recover it and go to the first machine
again to save it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2667#issuecomment-11159158.

Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com

@ellisonbg
Copy link
Member

This is fixed in master.

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

No branches or pull requests

3 participants