Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.8.1
-
None
-
Python 3.12.3 on Linux Ubuntu 24.04.01 LTS
Description
When trying to close a gRPC channel, it raises an exception: "QtTask.get_stack is not implemented".
The problem only happens with a event loop created by QtAsyncio. If I use the standard "asyncio" everything is fine.
import grpc
import PySide6.QtAsyncio as QtAsyncio
import asyncio
async def test():
try:
channel = grpc.aio.insecure_channel("localhost:50051")
await channel.close() # throws exception "QtTask.get_stack is not implemented"
except Exception as e:
print(f"{e}") # prints "QtTask.get_stack is not implemented"
if _name_ == "{}{}main__":
#asyncio.run(test()) # works fine
QtAsyncio.run(test()) # NOT WORKING