-
Notifications
You must be signed in to change notification settings - Fork 64
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
webio-jupyterlab-provider broken with JupyterLab v4 #514
Comments
I experienced the same thing with jupyterlab v4 and julia 1.9.3. After downgrading to jupyterlab 3.6.7, I see that the extension is "OK" but see
when Do you see this error with using julia 1.10? |
@andrew-at-rotor - I somehow managed to get my system into the same state as you. Julia v1.10 with WebIO v0.8.21 and JupyterLab v3.6.7.
It's unclear to me what part of my system is problematic. |
I came across this issue in Arch Linux. As workaround is to use the package |
There's a number of breaking changes in Jupyter Lab 4. https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#api-breaking-changes When I open the console I get these errors: This particular error might be easy to fix (based on https://discourse.jupyter.org/t/model-metadata-get-is-not-a-function/19758):
But I'm not sure how many more breaking changes are there. I naively tried to run the upgrade extension to start working on a PR but got different errors in every folder. I can try to help with this change to get it working, but I don't have any experience in jupyter lab extensions. Can anyone offer some direction on how to go about this? |
I wanted to give a friendly bump on this thread. Currently no widgets work in jupyter v4 e.g. JuliaGizmos/Interact.jl#421 I have some time I can put toward looking into this this week, but I'm coming in with no knowledge of jupyter widgets or even observables. If someone can offer some insight that'd be great! |
This is my biggest issue with Jupyterlab --- no working widgets. I am using the jupyterlab-desktop app and If I try to make a plot with a slider, the plot displays but without a slider. This is why I end up using Pluto notebooks when I need this capability. Does ANYONE know if a fix is in the works? This is a hugely useful feature to have.... |
@twavv @rdeits @shashi bumping this issue again. With the latest jupyter lab (4.2.4), WebIO (0.8.21), and webio-jupyterlab-provider (0.1.0), running on an ARM Mac, webio-jupyterlab-provider does not seem to install properly (see attached output from "jupyter labextension list"), and attempting to make a plot with PlotlyJS results in an error, "WebIO not detected" (see other attachment for full error). Are there any WebIO developers available to fix this? Alternatively, I am confident coding in Julia and Python but not JavaScript or anything like that, so if someone can point me to where the likely issue is I am happy to take a look at fixing it myself, but I am not experienced enough with this package to be able to diagnose the issue on my own. This is quite a major issue as it means extensions such as Plotly are not compatible with any of the latest versions of Jupyter notebook/lab, so I'd love to help fix if I can. |
Also hitting this. I have a collaborator and I wanted him to be able to slide some sliders and see how it moves a point cloud around (to get some parameters into a good initial condition for running an optimization). He sees the plot but not the sliders (in an Interact.jl based script utilizing WebIO under the hood.) |
I've just updated PR #498, which updates the Jupyter extension for JupyterLab v4. You can test the updated extension by downloading the artifact from CI. Leave a comment on the PR if it works for you. |
@halleysfifthinc thanks, works great for me in Jupyterlab 4.0.10 with PlotlyJS. |
Thanks so much Allen for fixing this. We all really appreciate it!
…On Thu, Dec 5, 2024 at 12:21 AM Jared Lumpe ***@***.***> wrote:
@halleysfifthinc <https://github.com/halleysfifthinc> thanks, works great
for me in Jupyterlab 4.0.10 with PlotlyJS.
—
Reply to this email directly, view it on GitHub
<#514 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHKPARQCQ4WS5VTHTP3ZHMD2D7PFPAVCNFSM6AAAAABCH7U3DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJZGIYDCNBQHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The bug
It appears that the
webio-jupyterlab-provider
extension is incompatible with JupyterLab v4.0.8Context
When I upgraded to JupyterLab v4.0.8 the
webio-jupyterlab-provider
stopped working (notice the "X"):After I downgraded back to JupyterLab v3.6.7 the extension started working again (notice the "OK"):
Julia info:
The text was updated successfully, but these errors were encountered: