You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one starts a JupyterLab on a multi-user-system and wants to be able to browse all files this is set to c.ServerApp.root_dir = '/'
Of course this root_dir is not writable and so jupyter-ai fails with Permission denied.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Hello and thank you for this great extension 👍
Description
We are facing a
Permission denied
-issue when jupyter-ai is asked to generate a notebook.It tries to generate the file in the directory set by
self.serverapp.root_dir
which is not writable.https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai%20root_dir&type=code
Reproduce
If one starts a JupyterLab on a multi-user-system and wants to be able to browse all files this is set to
c.ServerApp.root_dir = '/'
Of course this root_dir is not writable and so
jupyter-ai
fails withPermission denied
.Possible solution
Instead of
self.serverapp.root_dir
the current directory of the filebrowser could be used.(perhaps similar to the jupyterlab-git extension?)
The text was updated successfully, but these errors were encountered: