Open Kalandoros opened 11 months ago
It's just a guess and please prove me wrong but on the browser console I found the following that might be interesting Failed to create module: package: @pyviz/jupyterlab_pyviz; module: ./extension
:
Might that be the problem?
There are a couple of reports which are related to this issue. Since it is workign fine on JupyterLab but not on Voila I guess the root case might be somewhere in voila.
https://github.com/holoviz/panel/issues/6731 https://github.com/holoviz/panel/issues/3963 https://github.com/bokeh/jupyter_bokeh/issues/201
Further I found several issues that might be also related this issue. It might help to find some correlations between the issues or find the root case.
https://github.com/voila-dashboards/voila/issues/244 https://github.com/holoviz/panel/issues/1341 https://github.com/voila-dashboards/voila/issues/244#issuecomment-623783437 https://github.com/jupyter-widgets/ipywidgets/issues/3902
I guess they this is all related to each other, which seems to have something to do with jupyter_bokeh
.
It has been found here as well an might be helpful: https://github.com/bokeh/jupyter_bokeh/issues/201
Using pn.extension(comms='ipywidgets')
as announced https://github.com/voila-dashboards/voila/issues/244#issuecomment-623783437 will result in
[Open Browser Console for more detailed log - Double click to close this message] Failed to load model class 'BokehModel' from module '@bokeh/jupyter_bokeh' Error: No version of module @bokeh/jupyter_bokeh is registered
It seems there is a whole collection that is related to this.
@philippjfr Do you think this is a correct assumption? Is there a current workaround for this?
The issue is reported at https://github.com/bokeh/jupyter_bokeh/issues/201#issuecomment-2271590207 as well. @bryevdv: FYI
It is just to put the correlated issues together and having it easier to find the root cause.
First of all thanks for this great project. I'm using voila quite heavily and I like how seamless a notebook can be shown as some kind of application. I hope the project persists for still a long time. Also thanks advance for helping with the issue.
Description
Using the Panel Tabulator to represent tables conveniently, since it offers a lot of customizations, I noticed the following. To get back the clicked row and content of table cells or to get back the changed values when cells are edited for further processing the
(on_click()
andon edit()
are used. Comparing the behavior of the callbacks between JupyterLab and Voila I noticed, that the callbacks (on_click()
andon edit()
) are not working in Voila. I might be wrong but due to the reason it works in JupyterLab, I would assume there is something to improve in Voila. For better explanation and demonstration I recorded the gif that shows the different behavior.Reproduce
To reproduce I created a minimum example as follows:
Cell1
Cell2
Cell3
click me to get the list of click events
list_event
stays empty assuming the callback are not working in Voila.Expected behavior
I would appreciate getting back the clicked row and content of table cells or getting back the changed values when cells are edited for further processing by using the
(on_click()
andon edit()
methods as it does in JupyterLab.Context
Troubleshoot Output
If using JupyterLab
Installed Labextensions