Open henriksod opened 2 years ago
I ran the same code in WSL and it seems to be working.
The issue is that I am trying to run a non-threadsafe GUI process.
Many UI toolkits require all UI things to happen in a single thread, which can be a challenge in a multithreaded environment like RTCBot - if that is the issue, then I am not sure if anything can be done in RTCBot itself. Is the problem stemming from the UI toolkit or from RTCBot?
Sorry, just read up on the bug - I will have to look at this in more detail!
Hi, I managed to solve it in Linux by creating the following class: https://github.com/dkumor/rtcbot/pull/37
I wanted to create matplotlib plots without blocking the event loop. Matplotlib is not thread safe.
Implemented the following class:
which, when instantiating (
prod = TestProcessProducer()
), produces the following error:Is it because I am trying to run this on Windows and Python 3.8? Any way to work around it? Found this ticket where it seems like this is not an issue on Linux only: https://github.com/Koed00/django-q/issues/424