You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting WebSocket: ws://192.168.102.11:8000/user/darin/api/kernels/7e5e3d8f-3812-4906-8ec6-1024bdff2c5d
default.js:1452 Kernel: connected (7e5e3d8f-3812-4906-8ec6-1024bdff2c5d)
:8000/user/darin/voila/qgrid.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:78 Falling back to https://unpkg.com/ for qgrid@^1.1.3
unpkg.com/qgrid@%5E1.1.3/dist/index.js:1 Failed to load resource: the server responded with a status of 404 ()
manager-base.js:273 Could not instantiate widget
(anonymous) @ manager-base.js:273
3require.min.js:1 Uncaught (in promise) Error: Script error for "qgrid"
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.min.js:1)
at HTMLScriptElement.onScriptError (require.min.js:1)
What did you expect to happen?
A beautifully displayed dataframe to appear in my webapp
What happened instead?
A bank page, with several 404 errors in the javascript console, in the process learned the the latest version of qgrid on unpkg.com is 1.1.1.
Reproduction Steps
pip install qgrid
paste code listed above
press voila button
I looked through the other issues, it seems like others have had similar issues, I have yet to find a fix.
qgrid and voila are pretty awesome I'm hoping to get them working together.
Is there any progress on this? Is there a workaround for serving the notebook via voila?
I don't understand completely the solution suggested by @danielfrg ! Where should I update to qgrid2, and what is it?
Activity
danielfrg commentedon Jun 9, 2020
I can reproduce this. Pasting a screenshot of the errors in the console log.
As mentioned by Darin the issue is to be that the widget module name is pointing to
qgridbut I think newer versions have been pushed toqgrid2.Maybe just changing this line will fix it: https://github.com/quantopian/qgrid/blob/master/js/src/qgrid.widget.js#L37
I will make a PR to see if there are more places where this needs to be fixed.
astrojuanlu commentedon Dec 17, 2020
This is still present. There are a few qgrid <-> voilà issues and I'm not sure which one is the most up to date.
samiit commentedon Mar 11, 2021
Hi everyone,
Is there any progress on this? Is there a workaround for serving the notebook via voila?
I don't understand completely the solution suggested by @danielfrg ! Where should I update to qgrid2, and what is it?
Many thanks,
Sam