-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoder class for "Compact<u32>" not found #369
Comments
Im having the same problem. It seems to happen occasionally when im multithreading. |
The library is currently not thread-safe, so it is highly recommended to have a dedicated instance of I am currently working on version 2 of the library, which will include asyncio support. However, this is likely to take a few more months to complete. |
This can happen even when using an instance per thread, in which case it's really a duplicate of #336. What I can recommend as a workaround, rather than trying to catch the error, is just to replace any threads that exit due to the error with new threads. There's a skeleton of my workflow on the linked issue. |
Glad to read that your plan is to support thread-safe capability ! I am using the library in a Qt5 project where the main loop event is handle by Qt5 and I use Qt5 threads. I hope the support for For now, I am using a home made queue system to handle thread calls to the same |
Hi,
I sometimes encounter the following error when executing the following code:
The error that I seem to get is related to:
Decoder class for "Compact<u32>" not found
Do you know how I could work around this ? I tried to add a try except clause in there, but it still doesnt seem to work.
Thanks !
The text was updated successfully, but these errors were encountered: