danielfrg / s3contents

Jupyter Notebooks in S3 - Jupyter Contents Manager implementation
Apache License 2.0
248 stars 88 forks source link

GCSContentsManager throws up a popup saying `Directory Not Found` #153

Open jayasimha-raghavan-unskript opened 2 years ago

jayasimha-raghavan-unskript commented 2 years ago

I am trying to use Google Object Store with Jupyterlab and S3Contents[gcs] package. I see that the Notebook gets loaded and I am able to Read/Write to the Object store. However, when I open the Notebook I see this popup

Screenshot 2022-11-04 at 12 30 19 PM

How do i disable this popup?

BlessedDisco commented 1 year ago

In a codeblock in the README there is an example on how to fix this popup:

# Fix JupyterLab dialog issues
c.ServerApp.root_dir = ""

For my environment, this fix did not work, since my kernels would not load if I used this config. I had to change it to:

# Fix JupyterLab dialog issues
c.ServerApp.root_dir = "/"