-
Notifications
You must be signed in to change notification settings - Fork 948
IPywidget error in Jlab 2.0 #2826
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
Comments
Can you share exactly what you are doing to migrate it? It usually is just a matter of upgrading your dependency to also include |
I've been working a long time to try to resolve this, but i fail. This error shows for all my widget related extensions at the moment on JupyterLab startup. My guess is that one of the extensions made me install an old version, and that influenced every extension. I will try to add But, no matter, I'd love debugging help on this. I've made 10 PRs of to update extensions I used and disabling those that hasn't been updated and I'm now fighting this this remaining issue. Any help to spot what could cause a version mismatch it is greatly appreciated as I now manually go through all the extensions to figure it out. I think ipyvolume will need an update next for me.
PRs so far:
|
@consideRatio - you can go into the actual staging directory and figure out from there which extension is pulling in older versions. Do |
Thank you @jasongrout !!! |
My issues went away by either removing |
I basically just followed those guidelines and upgraded the dependencies to @jupyter-widgets/jupyterlab-manager": "^2.0.0", I only have my extension except for jupyterlabmanager so shouldn't be anything else really that has old dependencies |
Why do you have a dependency on the jupyterlab manager? |
Also, try |
Good question. I guess it might be that it didn't work before jpupyte lab manager version 1.0.2 previously after the jlab 1 release.
Tried all kinds of cleaning without success.
|
Your code doesn't ever import anything from the jupyterlab manager, I think you should delete it as a dependency: https://github.com/esdc-esac-esa-int/pyesasky/blob/master/package.json#L34 Same with your jupyterlab dependency - I don't see you importing it anywhere. Does esdc-esac-esa-int/pyesasky#7 work? |
Yeah you're probably right about the dependencies but unfortunately didn't help |
I tested this and it seems to install and compile (I didn't check it in an actual notebook):
I don't see the errors you are seeing above. Can you try like this with a clean environment? |
@jasongrout and for anyone else future reference debugging with the helpful #2826 (comment) earlier in this issue, this is what it looked for me debugging from a Docker image
I wrote some notes for myself in the Dockerfile following
|
Ok so I got it to work now. I guess my idea to update the extension doesn't really work. I used to update with instead of which creates some random name on the package in the extensions folder. So I guess my updates got caught in some cache even though I ran I'm a bit unsure which dependency removal fixed this. Still having the same build warnings so they were not the issue. Thanks a lot for all your help @jasongrout |
I have an ipywidgets extension that works on jlab 1.2.6 but getting some trouble on jlab 2.0 with
jupyterlab-manager 2.0
I'm getting a:
Error: No provider for: jupyter.extensions.jupyterWidgetRegistry.
I'm getting some duplicates on my build which from what I understand might cause this.
Is this an issue in jupyterlab manager or am I missing something else on my dependencies?
The text was updated successfully, but these errors were encountered: