Receiving binary buffers from frontend fails #1592
Labels
resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone
If receiving buffers from the front end, the following line fails: https://github.com/jupyter-widgets/ipywidgets/blob/master/ipywidgets/widgets/widget.py#L601
The error is
TypeError: <memory at 0x000001E2CA4F8708> is not JSON serializable
.An outline of the trace is:
set_state
.set_state
:set_trait
.notify_change
calls_should_send_property
.to_json
(my serializer) gives back a dict with a memoryview.jsondumps
chokes on the memoryview.The text was updated successfully, but these errors were encountered: