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
I'm experiencing a crash when I try to combine qasync with nest_asyncio on a Linux machine (running Python 3.9, Qt 5.15, but the problem doesn't seem to depend on those factors).
Traceback (most recent call last):
File "./crashdemo.py", line 32, in <module>
test()
File "./crashdemo.py", line 26, in test
loop.run_until_complete(inner())
File "/a/lib/python3.9/site-packages/nest_asyncio.py", line 93, in run_until_complete
self._run_once()
File "/a/lib/python3.9/site-packages/nest_asyncio.py", line 116, in _run_once
event_list = self._selector.select(timeout)
File "/a/lib/python3.9/site-packages/qasync/_unix.py", line 53, in select
raise NotImplementedError
Am I doing something wrong here? It's been a while since I've worked on the code that uses this functionality, but I think that this worked in my application when I first wrote the code, which was about 2 years ago.
addendum: I did just notice that the nest-asyncio README says that "[event] loops from other projects, such as uvloop or quamash, generally can’t be patched.", so maybe this is something that shouldn't be expected to work. I don't know enough about the codebase to know whether the above error is indicative of this, or something that can potentially be fixed.
The text was updated successfully, but these errors were encountered:
I'm experiencing a crash when I try to combine qasync with nest_asyncio on a Linux machine (running Python 3.9, Qt 5.15, but the problem doesn't seem to depend on those factors).
Here's a reproduction case:
This leads to:
Am I doing something wrong here? It's been a while since I've worked on the code that uses this functionality, but I think that this worked in my application when I first wrote the code, which was about 2 years ago.
addendum: I did just notice that the nest-asyncio README says that "[event] loops from other projects, such as uvloop or quamash, generally can’t be patched.", so maybe this is something that shouldn't be expected to work. I don't know enough about the codebase to know whether the above error is indicative of this, or something that can potentially be fixed.
The text was updated successfully, but these errors were encountered: