-
Notifications
You must be signed in to change notification settings - Fork 20
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
Clustergrammer2 0.5.18 not working with jupyterlab 2.0.1 #61
Comments
Hi @matrs, I think 0.5.18 did not build the Jupyter Lab extension correctly. I'll let you know when I release 0.5.19. Or you could try 0.5.17, which should work on Jupyter Lab. |
Just to clarify, when I try the setup instructions from the $ jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
app dir: /home/mibu/miniconda3/envs/bif/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
clustergrammer2 v0.5.17 enabled OK |
@matrs, so you tried pinning the installation version with |
I think i already tried that but I just did it again to be sure, in a clean environment It doesn't work: $ conda list | egrep 'cluster|lab|jupyter|notebook'
clustergrammer2 0.5.17 pypi_0 pypi
jupyter_client 6.1.2 py_0 conda-forge
jupyter_core 4.6.3 py37hc8dfbb8_1 conda-forge
jupyterlab 2.1.0 py_0 conda-forge
jupyterlab_server 1.1.0 py_1 conda-forge
notebook 6.0.3 py37_0 conda-forge
$ jupyter labextension list
JupyterLab v2.1.0
Known labextensions:
app dir: /home/mibu/miniconda3/envs/py37/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
clustergrammer2 v0.5.17 enabled OK Plugin 'jupyter.extensions.clustergrammer2' failed to activate.
(anonymous) @ index.js:276
index.js:277 Error: No provider for: jupyter.extensions.jupyterWidgetRegistry.
at f.e.resolveRequiredService (index.js:191)
at index.js:149
at Array.map (<anonymous>)
at f.e.activatePlugin (index.js:149)
at index.js:275
at Array.map (<anonymous>)
at f.e.start (index.js:274)
at o (index.out.js:1035)
(anonymous) @ index.js:277 It's always the problem with the registry, the thing is that Edit: I just noticed that in this try i'm using |
Thanks for checking that again. We'll let you know if we can get it working again in the next release |
The issue might be related to this https://gitter.im/jupyter-widgets/Lobby?at=5e5dac8aec379e558ea01d6e Quoting from gitter
|
Any Updates on this? We are about to Upgrade FASTGenomics to jlab 2.* but the widget seems not to work. I tested 0.5.19 and also 0.5.17-0.5.15 to make sure. |
Hi @LustigePerson, I have not had time to try the approach outlined in the previous comment, but I will try it out in the next few days and let you all know. Thanks for your patience on this. |
The new release of Clustergrammer2 0.5.21 appears to be working in Jupyter Lab 2.0 The change I made was here https://github.com/ismms-himc/clustergrammer2/blob/master/package.json#L48 Based on the recommendation from @jasongrout from gitter. Let me know if it works for you @LustigePerson @matrs. |
Yes, it works. Thanks for the fast fix. It will be in the next FASTGenomics release alongside the new jlab. |
Thanks! |
Describe the bug
I tried the last version of
clustergrammer2
in a fresh conda environment with the last version ofjupyterlab
. I installed clustergrammer and activated the lab extension using the instructions from theREADME.md
,and this is what i have:
when i tried to use it in jupyterlab notebook I got: (This is just an excerpt)
When i checked the extensions installed, I got:
An odd thing is that says
clustergrammer2 v0.5.17
even though i have0.5.18
installed. I uninstalled the extension and reinstalled using other method:But still I'm getting the same
js
error. I tried multiple times with fresh environments, installing directly the extension usingjupyter labextension install clustergrammer2
to avoid getting the wrong version of it but that doesn't help. The widget does work innotebook 6.0.3
and injupyter-lab 1.2.7
following the instructions from theREADME
Desktop (please complete the following information):
Full
javascript
error:The text was updated successfully, but these errors were encountered: