fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
4.92k stars 284 forks source link

the right way to move file #226

Closed ixzh closed 3 years ago

ixzh commented 3 years ago

What is the right way to open a file?

I made a copy of sample notebook on desktop but failed to open it....

image

ixzh commented 3 years ago

To supplement what I did:

  1. Open sample notebook and Rename path to save it to Downloads;
  2. Drag the file in Downloads to Desktop;
  3. Failed to open via entering the new path (to Desktop)

Then I noticed the PlutoUI.jl was still opened (connected maybe? 'cause I closed the tab and reopened localhost:1234) (though actual file had been moved to Desktop!) . I clicked to close the notebook. Then I can open via the new path (to Desktop).

Another issue, after I have moved the file, the notebook is still able to save a copy in Downloads using a new name. But nothing will happen by clicking Rename if I didn't make a change in the file path.

fonsp commented 3 years ago

Hi!

Here's how you can move your notebook to a different folder (while it is running): howtomove

It sounds like you moved the file using the file manager while the notebook was still running - Pluto won't know that the file moved, and will continue to save to the original path. Programs generally don't allow you to move the savefile while you still have it open.

Maybe the confusion was that closing the browser tab does not shut down the notebook?

ixzh commented 3 years ago

Yes I didn't notice that the session was still on. If I make a copy instead of directly moving the notebook while it is running, there is no issue. I can have both notebooks open. I will close the issue.

Maybe the confusion was that closing the browser tab does not shut down the notebook?