Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404 No such file or directory #2031

Closed
AlexGriffiths526 opened this issue Aug 9, 2023 · 4 comments
Closed

Error 404 No such file or directory #2031

AlexGriffiths526 opened this issue Aug 9, 2023 · 4 comments

Comments

@AlexGriffiths526
Copy link

Jupiter Lab 4.0.2

When I try to save and export the notebook as HTML or any other format I get a 404 error. Below is the output in from Anaconda Prompt.

[W 2023-08-04 11:47:19.166 ServerApp] 404 GET /nbconvert/HTML_NoInput/RTC%3ATest.ipynb?download=true (::1): No such file or directory: RTC:Test.ipynb
[W 2023-08-04 11:47:19.169 ServerApp] 404 GET /nbconvert/HTML_NoInput/RTC%3ATest.ipynb?download=true (0043a24c16a345a9a677f3d39b54e503@::1) 203.16ms referer=http://localhost:8888/lab/tree/RTC%3ATest.ipynb

In the above my notebook is called Test.ipynb

I have tried removing and reinstalling nbconvert but no luck. It seems to suggest that the notebook does not exist. I have tried on various notebooks stored in different file locations but I have the same issue. Any help anyone could offer would be greatly appreciated.

@tuncbkose
Copy link
Contributor

Looks like jupyterlab/jupyter-collaboration#151

@AlexGriffiths526
Copy link
Author

Thanks for the response. This does look like the same issue. I will close this one.

@f14h
Copy link

f14h commented Sep 4, 2023

Please reopen this issue. See also the recent discussion in jupyterlab/jupyter-collaboration#183. This seems to be very much an issue of nbconvert (as it can't deal with custom drives) and not jupyter-collaboration.

@tuncbkose
Copy link
Contributor

Thank you for linking the discussion above @f14h, I didn't know about the custom drive mechanism before. That said, I still think the issue lies not with nbconvert. Having read the discussion above, I believe a better place to fix this problem is the JupyterLab component that calls nbconvert (somewhere in here maybe?).

While it may be relatively easy to check if a given filename starts with RTC: and if so strip it, fixing it in JupyterLab seems more principled and robust for other custom drives (and also consistent with this comment).

This is of course only my opinion, I am happy to hear more from others. However, I am reluctant to reopen the issue now given my reasoning above, unless there is more interest/discussion (or someone else decides to do it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants