Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

Unable to save or detect root folder / project

Open feribg opened this issue 1 year ago • 2 comments

https://github.com/user-attachments/assets/7da76a01-4bd1-464b-bbee-0aacbc5e5d93

When i have an already existing project and i run the julia shell from it then start Pluto from it, it:

  • doesn't have the right pwd
  • doesnt have the right project enabled
  • Base.current_project is null
  • Base.active_project is wrong
  • Pkg.activate_project(".") is not working as it will search for the nearest project close to pwd which seems to default to /usr/.julia.../etc and NOT the folder i started the julia shell from.
  • the file picker DOES show the correct root folder but i cant save anything, i have all permissions but saving doesnt work, this is the same regardless of how i run pluto.

I have the latest pluto and julia versions. Its a bit weird as this is my first experience with it and i just can't get it to work the way i intend to. I did read the docs about changing the project but that doesn't work based on the above unless i hardcode the path and i dont want to do that.

feribg avatar Sep 29 '24 15:09 feribg

Thanks for posting the issue! Can you record a video demonstrating that saving does not work?

fonsp avatar Nov 13 '24 13:11 fonsp

The pwd-related issues are all intentional, because the notebook is not saved somewhere. We purposefully set the pwd to the notebook's file location.

fonsp avatar Nov 13 '24 14:11 fonsp