beakerx icon indicating copy to clipboard operation
beakerx copied to clipboard

Extension is not working for JupyterLab version 2.0.0

Open farhan5900 opened this issue 4 years ago • 11 comments

I have following setup: jupyter --version:

  jupyter-notebook : 6.0.3
  qtconsole       : not installed
  ipython           : 7.13.0
  ipykernel        : 5.2.0
  jupyter client  : 6.1.2
  jupyter lab      : 2.0.0
  nbconvert       : 5.6.1
  ipywidgets      : 7.5.1
  nbformat         : 5.0.4
  traitlets           : 4.3.3

conda --version: conda 4.8.2

After installing beakerx using pip and beakerx install: beakerx --version: 1.4.1

Till this point everything is working, but when I tried to install lab extension jupyter labextension install [email protected] it fails to open lab UI with this error:

Uncaught TypeError: Cannot read property 'name' of undefined
    at JupyterLab.push.2dC9.Application.resolveRequiredService (index.js:191)
    at index.js:149
    at Array.map (<anonymous>)
    at JupyterLab.push.2dC9.Application.activatePlugin (index.js:149)
    at index.js:275
    at Array.map (<anonymous>)
    at JupyterLab.push.2dC9.Application.start (index.js:274)
    at main (index.out.js:1107)

If we don't install lab extension, lab UI will open but in the notebook we are seeing this error: Error displaying widget: model not found

Is it broken? Or Am I missing something? Does beakerx not support JupyterLab 2.x yet?

farhan5900 avatar Apr 07 '20 14:04 farhan5900

Not yet supported. We are working on it

ildipo avatar Apr 15 '20 13:04 ildipo

Hello,

Is there an ETA for JupyterLab 2.x support?

Thanks!

haloforensics avatar Jun 08 '20 20:06 haloforensics

We also received the same error. We are very eager to start using the plots with Jupyterlab 2.x. Can we help by testing something?

karlduderstadt avatar Jun 20 '20 07:06 karlduderstadt

Just checking back in to see if there is an ETA for JupyterLab 2.x support?

haloforensics avatar Jul 29 '20 13:07 haloforensics

Same issue here. @ildipo is there an ETA or beta version we could try or help with.

feldoh avatar Jul 29 '20 13:07 feldoh

Same here. Now beakerx is the only blocker for us to adopt Jupyterlab 2. I see there is a similar ticket https://github.com/twosigma/beakerx/issues/8246 but that's not moving..

iynehz avatar Aug 09 '20 13:08 iynehz

@ildipo are there plans to add support for Jupyterlab 2? Jupyterlab 3 is out now.

Ben-Epstein avatar Dec 31 '20 22:12 Ben-Epstein

We're happy to help as well if folks want to collaborate.

dstieglitz avatar Jan 01 '21 02:01 dstieglitz

Folks, we're coordinating a loose group to tackle this, please feel free to reach out to me for an invite to our Slack group.

dstieglitz avatar Jan 04 '21 18:01 dstieglitz

Just ran into this and spent some time debugging before finding this issue.

Given that JupyterLab 3.x has been out for a couple of years, and that JupyterLab 4.x is in alpha, I would recommend prominently featuring on the BeakerX homepage the fact that only JupyterLab 1.x is supported. The "Installation for Jupyter Lab" section would be a good place for this.

I've opened up a PR here: https://github.com/twosigma/beakerx-www/pull/58

JoshuaCWebDeveloper avatar Aug 16 '22 00:08 JoshuaCWebDeveloper

notebook 5.7.8, jupyterlab 3.6.5, ipywidgets 7.6.0 is work , see my dockerfile https://github.com/jimmybow/docker-java-notebook/blob/master/build/Dockerfile

jimmybow avatar Sep 03 '23 09:09 jimmybow