-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
RTC breaks notebook links #202
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
This issue also impacts the |
This also affects jupyterlab-latex (jupyterlab/jupyterlab-latex#224) for the same reason. It is even worse - the RTC is present even if the RTC is disabled with |
Based on discussion in #183 I suspect now that the downstream plugins breaking may be considered a feature, not a bug. However the original issue report here as to a broken feature within JupyterLab itself is pretty damning. |
Also this affects jupyterlab-h5web#121, same file path error |
This also affects jupyterlab_rise: Slideshows won't work when RTC is enabled because of invalid links, you get 404 all over the place. Same for "File > Save and export notebook as..." |
I ran into the same issue with silx-kit/jupyterlab-h5web#121 Is this a problem with the extensions? |
Yes it probably doesn't support custom drives. |
Same with search and replace. I'm opening a ticket there. |
I'm not going to fix every extension, it might be better to open an issue there. |
Calling every extension out there broken is a bit of a strong statement. Incompatible sounds more accurate for me. Could JupyterLab (or the collaboration extension) provide a compatibility layer router to resolve the links prefixed with |
I must say it's not very clear to me why the RTC drive could not register itself as the default JupyterLab drive in the first place, removing the need for the |
I think I'd go in the other direction, saying I don't understand why the default drive (the one providing the content from the server) shouldn't be treated as any other drives, prefixing its path properly. |
But still, it feels there should be a notion of a "default drive", right? So the issue would remain, could the RTC drive register itself as this default drive? |
That's actually the thing, the "default drive" does not register itself as a drive, it's not a drive (in the sense of JupyterLab). I believe it's the root cause of extensions assuming drives are not a thing and paths do not specify the drive. This design probably does not make the custom drive approach very welcome. |
So what about making the "default drive" a proper drive, which would come with a default implementation in JupyterLab, and that could be swapped by an extension? |
💯 for that |
I think https://github.com/davidbrochart/jupyterlab-remote-contents goes in that direction. |
As far as jupyterlab-h5web is concerned, I'll be happy to add support for custom drives myself but I cannot find a documentation link nor an example for this.
That would be super helpful for extension maintainers 👍 |
Any updates on the fix for this bug? |
There is ongoing work. |
Hello @davidbrochart, thanks for your inputs on this. Do you know if there is a landing release date for this fix? We have multiple users affected by this behavior that breaks parts of extensions or features :/ If you'd like us to test anything, I'd be more than happy to help :) |
Description
When you click the "notebook" button, you get a 404:
This is because of the extra
"RTC:"
which is added to the file path (which is not actually there):Reproduce
pip install notebook
is installednotebook
buttonThe text was updated successfully, but these errors were encountered: