Closed alexpreynolds closed 5 years ago
Could you check what the web console output is? This seems to be an issue with loading the widget.
Here is the web console output:
vendors~main.1c02ceaecd56e4fd82a1.js:43957 Plugin 'jupyter.extensions.higlass-jupyter' failed to activate.
(anonymous) @ vendors~main.1c02ceaecd56e4fd82a1.js:43957
vendors~main.1c02ceaecd56e4fd82a1.js:43958 Error: No provider for: jupyter.extensions.jupyterWidgetRegistry.
at JupyterLab.push.2R+v.Application.resolveRequiredService (vendors~main.1c02ceaecd56e4fd82a1.js:43872)
at vendors~main.1c02ceaecd56e4fd82a1.js:43830
at Array.map (<anonymous>)
at JupyterLab.push.2R+v.Application.activatePlugin (vendors~main.1c02ceaecd56e4fd82a1.js:43830)
at vendors~main.1c02ceaecd56e4fd82a1.js:43956
at Array.map (<anonymous>)
at JupyterLab.push.2R+v.Application.start (vendors~main.1c02ceaecd56e4fd82a1.js:43955)
at main (main.8151b2d4dd3710abba13.js:1648)
(anonymous) @ vendors~main.1c02ceaecd56e4fd82a1.js:43958
vendors~main.1c02ceaecd56e4fd82a1.js:398328 Starting application in workspace: /lab
2vendors~main.1c02ceaecd56e4fd82a1.js:352031 Starting WebSocket: ws://localhost:8888/api/kernels/0c5efa91-f1b6-4cbd-8a50-64b887d125cb
2vendors~main.1c02ceaecd56e4fd82a1.js:352031 Starting WebSocket: ws://localhost:8888/api/kernels/3eb3039f-6405-45de-bf5e-2d5b138e3609
2vendors~main.1c02ceaecd56e4fd82a1.js:353395 Kernel: connected (0c5efa91-f1b6-4cbd-8a50-64b887d125cb)
2vendors~main.1c02ceaecd56e4fd82a1.js:353395 Kernel: connected (3eb3039f-6405-45de-bf5e-2d5b138e3609)
[Violation] 'setInterval' handler took 56ms
Fetch finished loading: GET "<URL>".``
Re-doing things here with post-Slack discussion with Fritz to see what happens...
higlass-python
0.2.1$ conda env create -f environment.yml
...
$ conda activate higlass-scipy19
$ pip freeze | grep higlass
higlass-python==0.2.1
$ jupyter labextension install higlass-jupyter
...
$ jupyter labextension list
JupyterLab v0.35.6
Known labextensions:
app dir: /Users/areynolds/anaconda3/envs/higlass-scipy19/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v0.38.1 enabled OK
higlass-jupyter v0.2.0 enabled OK
$ jupyter labextension install higlass-jupyter@0.2.1
...
$ jupyter labextension list
JupyterLab v0.35.6
Known labextensions:
app dir: /Users/areynolds/anaconda3/envs/higlass-scipy19/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v0.38.1 enabled OK
higlass-jupyter v0.2.1 enabled OK
Modifying environment.yml
per the working higlass-multiconnect
environment got this working. I'll submit a PR.
I updated the Conda environment:
I then installed OSXFUSE v3.10.3.
I created the environment required for the scipy19 notebooks:
I activated the environment and installed the two jupyter extensions:
Jupyter starts up properly:
I opened the basic and genomics notebooks and tried running them. In both cases, I get an error "Error displaying widget":
Here is the terminal log:
I don't know if the
Notebook foo.ipyn is not trusted
message is relevant. Otherwise the Jupyter session transcript appeared normal.