CDAT / jupyter-vcdat

A Jupyter Lab extension based on vCDAT.
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

opening from file path not recognizing correct path #153

Closed sterlingbaldwin closed 4 years ago

sterlingbaldwin commented 4 years ago

Describe the bug When I try and open a file via the "open from path" option, sometimes when the path is correct, and the permissions are fine, it will tell me it cant open it.

To Reproduce 1) Go to aims2.llnl.gov/jupyterhub and login 2) select the vCDAT server option 3) Click the vCDAT button on the left 4) paste in the path /p/user_pub/work/CMIP6/CMIP/E3SM-Project/E3SM-1-0/historical/r1i1p1f1/Amon/o3/gr/v20191220/o3_Amon_E3SM-1-0_historical_r1i1p1f1_gr_185001-187412.nc 5) get an error saying "The path entered is not valid. Make sure it contains an appropriate filename."

As you can see from the screenshot below, I have permissions to read both the directory the file is in, and the file itself, so this isnt a permissions issue. Screen Shot 2020-01-07 at 12 01 06 PM

Here is the error I see when I try and open from the file Screen Shot 2020-01-07 at 11 58 36 AM

downiec commented 4 years ago

I'll look into it, thanks!

downiec commented 4 years ago

I tried using that path several times and trying different things to see if I could duplicate the issue but it seems to be working for me every time.

sterlingbaldwin commented 4 years ago

ooooh kay. I deleted all the saved paths, and pasted it in, and it worked. No idea why it was failing before and is magically working now. Im going to close this since I guess this isnt a real issue?

downiec commented 4 years ago

It could have been an artifact from a previous version? In the last PR that was merged, I had a few changes that were directly meant to fix some bugs/issues I had seen during my testing related to the file path feature.