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
on 0: p1 0
on 0: Task exception was never retrieved
future: <Task finished name='Task-2' coro=<progress2() done, defined at maintest.py:11> exception=TypeError("unhashable type: 'types.SimpleNamespace'")>
Traceback (most recent call last):
File "maintest.py", line 13, in progress2
print(f"p2 {i}")
File ".../python3.9/site-packages/alive_progress/core/hook_manager.py", line 35, in write
buffer = buffers[stream]
TypeError: unhashable type: 'types.SimpleNamespace'
on 1: p1 1
on 2: p1 2
on 3: p1 3
on 4: p1 4
on 5: p1 5
on 6: p1 6
on 7: p1 7
on 8: p1 8
on 9: p1 9
p1 |████████████████████████████████████████| 10/10 [100%] in 10.1s (0.99/s)
The text was updated successfully, but these errors were encountered:
Hello.
Yes, it is a known fact that alive-progress does not support multiple concurrent instances.
It could be implemented someday, but it is very hard. See #20 and #75 and #42 and #124.
Edit: You could in this case create one on the main thread, and monitor the flow of completed tasks. 👍
Closing this one, to keep this request on the older ones.
Running multiple progress in different asycio tasks fails:
The text was updated successfully, but these errors were encountered: