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
Sometimes when calling ydoc.get_update(encoded_update) from pycrdt, a PanicException is thrown which I try to handle from userland but somehow seems to escape my try...except block.
You can read more about this exception from pyo3 in this GH issue: PyO3/pyo3#3519
Specifically, the PanicException that is thrown for me when calling ydoc.get_update(encoded_update) has this exception message:
called Result::unwrap() on an Err value: VarIntSizeExceeded(70)
Reproduce
Struggling to consistently reproduce, am unsure what exact binary payloads are causing the panic.
Expected behavior
No panics, or at least PanicExceptions I can catch.
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Description
Sometimes when calling
ydoc.get_update(encoded_update)
from pycrdt, aPanicException
is thrown which I try to handle from userland but somehow seems to escape mytry...except
block.You can read more about this exception from
pyo3
in this GH issue: PyO3/pyo3#3519Specifically, the PanicException that is thrown for me when calling
ydoc.get_update(encoded_update)
has this exception message:Reproduce
Struggling to consistently reproduce, am unsure what exact binary payloads are causing the panic.
Expected behavior
No panics, or at least
PanicException
s I can catch.The text was updated successfully, but these errors were encountered: