Closed cielowu closed 2 years ago
potentially related: #42
Hello @cielowu,
It seems another process is printing to stdout, you have to avoid that.
All the printing must be done through the main thread, the one where alive-progress
is running.
Regarding the lack of progress, I think there wasn't any! We can see several stack traces popping up on the screen.
To make the base infrastructure work, you should put together the bare minimum, make It work, then continue.
Remove both the perform_request
and the batch control, and you should see the problem clearly.
OK, going to close this one, as there isn't any problem here. Please continue if you do need any more help 👍
Hi @rsalmei,
Thanks so much for the quick response. Thanks for your suggestion and I found several bugs I have in my code and it is working now.
Great @cielowu, you're welcome!
Hi,
I'm writing an IO-consuming script with a progress bar and I'd like to improve its speed using a ProcessPoolExecutor.
I'm following your example on https://github.com/rsalmei/alive-progress/issues/75. However, since I'm new to multi-processing in Python and I'm facing some issues on making it work.
Here's my code sample:
However, the above does not work, the progress bar is not updated.