Closed davidbrochart closed 1 year ago
I created a minimal reproducible example in https://github.com/y-crdt/ypy/issues/126.
@davidbrochart should we close this following https://github.com/jupyter-server/jupyter_ydoc/pull/147? or keep it open to carry actions when it is fixed upstream?
Let's close it for now.
Description
Trying to instantiate and set a
YNotebook
fails withjupyter_ydoc
v0.3.2. Downgradingy-py
from v0.6.0 to v0.5.5 fixes the issue.Reproduce
pip install jupyter_ydoc==0.3.2
nb = {"cells": []}
ynb = YNotebook() ynb.set(nb)
Err(PyErr { type: <class 'y_py.MultipleIntegrationError'>, value: MultipleIntegrationError("Cannot integrate a nested Ypy object because is already integrated into a YDoc: {'id': '1d9dbf0a-34ac-46a4-bef9-101fb83d4cea', 'cell_type': 'code', 'execution_count': 1, 'metadata': YMap({}), 'outputs': YArray([]), 'source': YText(1 + 1)}"), traceback: None })