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
File "C:\Users\masma\Anaconda3\envs\aw-lib\lib\json\encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "C:\Users\masma\Anaconda3\envs\aw-lib\lib\site-packages\bokeh\core\json_encoder.py", line 261, in default
return self.transform_python_types(obj)
File "C:\Users\masma\Anaconda3\envs\aw-lib\lib\site-packages\bokeh\core\json_encoder.py", line 228, in transform_python_types
returnsuper().default(obj)
File "C:\Users\masma\Anaconda3\envs\aw-lib\lib\json\encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Button is not JSON serializable
As user cases that Marc have shown here, reactiveHTML could be potentially to be used as a wrapper for panel objects to improve its applicability. Really hope this could be implemented soon.
Okay let's discuss some behaviors that we could consider here. I think the best solution here is to check whether a parameter is referenced in the template or in a script and if it isn't we simply do not sync it. This will require some additional parsing of the scripts but overall seems fairly straightforward and most sensible.
I'm on Panel 0.12.1 and trying to create a floating panel using
jsPanel
andReactiveHTML
https://discourse.holoviz.org/t/how-do-i-use-jspanel-with-panel-and-reactivehtml/2819.While experimenting I get the error
from
I believe there are use cases where the
reactiveHTML
class would like to hold Panel widgets.The text was updated successfully, but these errors were encountered: