Fails when working from a subfolder
See original GitHub issueHello!
I’m running into the following issue. When I am working on a notebook within a subfolder, e.g. if I’m working on subfolder/hello.ipynb
.
When I am inside hello.ipynb
and I try to go to the definition of a function that is outside of my notebook, I see the relevant file appear inside .jupyter_symlinks
, and my file tree looks like
* file_at_root.txt
* subfolder/hello.ipynb
* subfolder/.jupyter_symlinks/path/to/file.py
When I try to go to the external definition, it fails to jump, because this api call returns 404
- jupyterhub.local/user/my_username/api/contents/.jupyter_symlinks/path/to/file.py
But the following api call would have worked
- jupyterhub.local/user/my_username/api/contents/subfolder/.jupyter_symlinks/path/to/file.py
So it looks like either the .jupyter_symlinks
folder should always be at the root of my jupyter folder, or the path in the URL should include the base path of the notebook itself.
Are you seeing the same thing?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
sharing files over local network some subfolders gives access ...
I have two windows 10, one desktop and one laptop. Both are connecting to the same network. Both workgroup name are the same...
Read more >getting error while creating subfolder in Directory python
Try this code below. The lines os.chdir(mypath) and os.getcwd() seems not working for you. for subfolder in subfolders: print('SUBFOLDER OF ...
Read more >bundledoc fails with subfolder paths (MiKTeX) - TeX
will work on miktex. If you want to find files in subfolders one must add ./ at the begin: ksepwhich -progname=latex .
Read more >Move to subfolder not working for one or more users ( ONLY)
MTEF","Removing action from the current actions flag..." ... Check the Microsoft Exchange log to find out why the delivery to the subfolder is...
Read more >Control-M Automation API CLI command 'ctm deploy jobs::get ...
Control-M Automation API CLI command 'ctm deploy jobs::get' fails with ... Folder must have unique job names and subfolder names in the same ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me the
.jupyter_symlinks
appears on its own, I’ve never had to create one.Reproducible example from home folder that works
rm -rf .jupyter_symlinks/
Untitled.ipynb
import json
json
and CTRL + ALT + B and successfully jump to.jupyter_symlinks/usr/lib/python3.5/json/__init__.py
.jupyter_symlinks/usr/lib/python3.5/json/__init__.py
was created automaticallyReproducible example from subfolder that does not work
rm -rf .jupyter_symlinks/
<-- clean up the previous experimentmkdir example
example/Untitled.ipynb
import json
json
and CTRL + ALT + B notice the failure in your console log, 404 for https://jupyterhub.host/user/myuser/api/contents/.jupyter_symlinks/usr/lib/python3.5/json/__init__.py?content=0&1575587453311example/.jupyter_symlinks/usr/lib/python3.5/json/__init__.py
was created automaticallyExactly the same problem there.