Skip to content
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

Here, working version #383

Open
skapin opened this issue Feb 15, 2023 · 12 comments
Open

Here, working version #383

skapin opened this issue Feb 15, 2023 · 12 comments

Comments

@skapin
Copy link

skapin commented Feb 15, 2023

I made a working conda version for ipywidget 8 and jupyter lab 3.x

https://anaconda.org/eshard/qgrid

@ankostis
Copy link

Interesting that it works with ipywidget-8, PitterPatterPython/qgrid#9 managed to run for pre-8 widgets, what did you change?

@skapin
Copy link
Author

skapin commented Mar 21, 2023

  • Reworked the plugin using cookie cutter
  • copy/paste src code
  • follow migration guide about migrating to ipywidget8 (changer js and py files mainly)

@huyuhuster
Copy link

Does it work with Voila too?

@skapin
Copy link
Author

skapin commented Mar 22, 2023

Didnt test but perhpase I guess ?

@huyuhuster
Copy link

When I try to use qgrid with Voila, I get some error like this:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'QgridModel' from module 'qgrid'
Error: Script error for "qgrid"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (http://202.122.32.111:8060/voila/static/require.min.js:1:1067)
    at HTMLScriptElement.onScriptError (http://202.122.32.111:8060/voila/static/require.min.js:1:13218)

The version I used:
jupyter 1.0.0
jupyter_client 7.3.4
jupyter_core 5.2.0
jupyter-server 1.23.4
jupyterlab 3.5.3
jupyterlab-server 2.10.3
jupyterlab-widgets 3.0.5
ipywidgets 8.0.4
voila 0.4.0

@ankostis
Copy link

How did you install it?
If you followed Omnerik's instructions, it won't work with ipywidgets >= 8.

@huyuhuster
Copy link

I install it by:
conda install -c eshard qgrid

@skapin
Copy link
Author

skapin commented Mar 24, 2023

Ok so it doesnt work with voila :/
With your output I have no clue like that :/

@ankostis
Copy link

Can you try to downgrade pip install "ipywidgets<8'?

@ankostis
Copy link

ankostis commented May 22, 2023

I compared the py sources between Omerik's version which is ipywidget-8+ incompatible (see above) and @skapin 's conda package, and i see no significant difference - i guess it is ALSO ipywidget-8+ incompatible :-(

@skapin
Copy link
Author

skapin commented Jul 17, 2023

i works with pywidget8, but doenst works with voila,it's a different issue

@ankostis
Copy link

Can you please paste here your output for this command (or conda list if on conda)?

pip list | grep -iE "jupy|ipython|note|qgrid|ipy|js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants