qgrid.widget.js not found (404)
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.
If I recall correctly, you need to install the widget as part of the kernel gateway. See Dockerfile.kernel.
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.
OK, that sounds right. @parente would be able to comment better about the Conda environment.
This is probably the same situation as https://github.com/jupyter-incubator/dashboards_server/issues/301 where the custom widget JS is not bundled with the dashboard server and therefore is not available in the frontend without manual work.