Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.8.0.2
-
None
-
windows + cpython 3.9
Description
When I run the example code given here (minimal_asyncio.py): Async "Minimal" Example - Qt for Python
I get the following error:
Traceback (most recent call last): File "C:\Users\sme\AppData\Roaming\JetBrains\PyCharm2024.3\scratches\scratch_14.py", line 28, in <lambda> async_trigger.clicked.connect(lambda: asyncio.ensure_future(self.set_text())) File "C:\Users\sme\AppData\Local\miniforge3\envs\dev39\lib\asyncio\tasks.py", line 666, in ensure_future if task._source_traceback: AttributeError: 'QAsyncioTask' object has no attribute '_source_traceback'
I have also tried with PySide6 6.7.0 and get the same error. So seems like not a new thing.
I'm trying to find a neat solution to use asyncio together with qt through PySide6 without using a third-party library, which is why I followed the example from abovementioned page. I look forward to some assistance in this regard.
Thanks in advance,
Best regards,
Masih