Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

qgrid.widget.js not found (404) #316

Open
jluttine opened this issue Mar 2, 2017 · 4 comments
Open

qgrid.widget.js not found (404) #316

jluttine opened this issue Mar 2, 2017 · 4 comments

Comments

@jluttine
Copy link

jluttine commented Mar 2, 2017

Not sure where I should ask about this so I decided to try here. (I guess this issue is related to the dashboard because it only appears in the dashboard server, not in the regular Jupyter notebook server.)

I installed qgrid widget and it works perfectly in my Jupyter Notebook session. In the same conda environment I have installed Jupyter Dashboard which works well (e.g., ipywidgets widgets work perfectly) except that the qgrid widget doesn't work in the dashboard. I get the following error:

GET /nbextensions/qgridjs/qgrid.widget.js 404 75.753 ms - 2261

Any ideas what could be wrong and how to fix or workaround? Thanks!

EDIT: Actually, the error message is now:

GET /dashboards/status-sites/nbextensions/qgridjs/qgrid.widget.js 404 22.122 ms - 1002

That is, dashboards and the notebook name (status-sites) are in the URL. Not sure why the URL was different previously. Probably I was just trying manually to load the former URL and got confused.

@jhpedemonte
Copy link
Collaborator

If I recall correctly, you need to install the widget as part of the kernel gateway. See Dockerfile.kernel.

@jluttine
Copy link
Author

jluttine commented Mar 2, 2017

Thanks for the comment! I didn't quite understand from the link how to install as part of the kernel gateway instead of just installing normally in the environment. As far as I understand that link, there's just normal pip install commands for widgets. My kernel gateway is in the same conda environment as the Jupyter notebook server and everything else related to this.

@jhpedemonte
Copy link
Collaborator

OK, that sounds right. @parente would be able to comment better about the Conda environment.

@parente
Copy link
Member

parente commented Mar 2, 2017

This is probably the same situation as #301 where the custom widget JS is not bundled with the dashboard server and therefore is not available in the frontend without manual work.

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

No branches or pull requests

3 participants