-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress bar display does not update #154
Comments
I have the same issue, simple example like
does not update. I bisected to 572854d it appears the issue is with the update_delta near line 569 of bar.py |
Thank you so much for tracking it down. I guess that change still has some
issues. I'll push out a new release tomorrow
…On Feb 12, 2018 22:53, "JoeSc" ***@***.***> wrote:
I have the same issue, simple example like
import time
import progressbar
bar = progressbar.ProgressBar()
for i in bar(range(100)):
time.sleep(0.02)
does not update. I bisected to 572854d
<572854d>
it appears the issue is with the update_delta near line 569 of bar.py
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQg62g1ejyn4r0Znsv7mM1FIUwUoS4fks5tULK8gaJpZM4SCpI4>
.
|
Fixed bug #154 which caused the progressbar not too update often enough
Thanks for the help everyone, I've released a new version which fixes the issue |
It seems there's still issues, Using this example code results in the progressbar from jumping from 2% to 100%.
See behavior here in this terminal recording The recording shows me running simple.py at the current HEAD and then reverting both e664f04 and 572854d. After reverting it runs as expected with the progressbar progressing across the screen to 100% |
I'm not quite sure how the underlying code works, but this change seems to fix the progressbar |
Thanks for the help guys, unfortunately this type of bug is hard to test for but I've put out a new release with the fixes similar to @JoeSc's changes :) |
…gain..." This reverts commit b869729.
Description
I found with the latest version on PyPI, 3.35.0, that a progress bar's display does not get updated until the end when it is finished. I tested with the 3.34.3 version from PyPI, and this version updates the progress bar's display as expected.
Code
Versions
3.35.0
The text was updated successfully, but these errors were encountered: