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
Description of expected behavior and the observed behavior
I would have thought errors occurring in a DynamicMap callable would be handled by the exception handler. Instead, the handler function is not executed.
Complete, minimal, self-contained example code that reproduces the issue
In the following, a DynamicMap callable raises an exception for a particular value of the input. This exception is not handled. As a control I also include a button associated with a callback triggering an exception which is adequately handled.
2026-07-13 14:31:20,177 Starting Bokeh server version 3.9.1 (running on Tornado 6.5.7)
2026-07-13 14:31:20,177 User authentication hooks NOT provided (default user enabled)
2026-07-13 14:31:20,179 Bokeh app running at: http://localhost:5006/toast
2026-07-13 14:31:20,179 Starting Bokeh server with process id: 46581
2026-07-13 14:31:22,679 WebSocket connection opened
2026-07-13 14:31:22,680 ServerConnection created
Unexpected Exception: Error raised
WARNING:param.wrapped_sync: Callable raised "ValueError('Error in plot')".
Invoked as wrapped_sync(value=4)
2026-07-13 14:31:36,271 Callable raised "ValueError('Error in plot')".
Invoked as wrapped_sync(value=4)
Traceback (most recent call last):
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/holoviews/plotting/util.py", line 319, in get_plot_frame
return map_obj[key]
~~~~~~~^^^^^
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/holoviews/core/spaces.py", line 1368, in __getitem__
val = self._execute_callback(*tuple_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/holoviews/core/spaces.py", line 1118, in _execute_callback
retval = self.callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/holoviews/core/spaces.py", line 675, in __call__
ret = self.callable(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/param/depends.py", line 125, in _depends_sync
return func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/home/user/.cache/uv/archive-v0/cSuNtOvSrdXgSCur/lib/python3.12/site-packages/param/reactive.py", line 1353, in wrapped_sync
return eval_fn()(*combined_args, **combined_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/workspace/project/test.py", line 22, in get_plot
raise ValueError("Error in plot")
ValueError: Error in plot
ALL software version info
Software Version Info
Description of expected behavior and the observed behavior
I would have thought errors occurring in a DynamicMap callable would be handled by the exception handler. Instead, the handler function is not executed.
Complete, minimal, self-contained example code that reproduces the issue
In the following, a DynamicMap callable raises an exception for a particular value of the input. This exception is not handled. As a control I also include a button associated with a callback triggering an exception which is adequately handled.
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
Capture.video.du.2026-07-13.14-31-27.webm