[GH-ISSUE #30] Progress Bar Oddity #20

Closed
opened 2026-02-27 20:05:01 +03:00 by kerem · 3 comments
Owner

Originally created by @tomballgithub on GitHub (Jan 2, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/30

After loading new items, the DEV branch code shows this in the log file, which looks good:

* Downloading Followers: ████████████████████████████████████████| 188/187 [9.9 names/req, reqs=19, mins=1.8, remain=-0.0]
* Downloading Followings: ████████████████████████████████████████| 4,317/4,316 [11.3 names/req, reqs=382, mins=35.6, remain=-0.0]

This is the screen example from the PR I submitted, which is as expected:

* Downloading Followers: 100%|█████████████████████████████████████████████████████| 188/188 [9 names/req, reqs=19, mins=1.7, remain=0.0]
* Downloading Following: 100%|███████████████████████████████████████████████▉| 4266/4267 [11 names/req, reqs=378, mins=34.4, remain=0.0]

But the screen for the DEV branch code shows this, with a ? in place of the total, the bar being blank, and the 100% completion missing.

* Downloading Followers: |          | 188/? [9.9 names/req, reqs=19, mins=1.8, remain=-0.0]
* Downloading Followings: |          | 4317/? [11.3 names/req, reqs=382, mins=35.6, remain=-0.0]
Originally created by @tomballgithub on GitHub (Jan 2, 2026). Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/30 After loading new items, the DEV branch code shows this in the log file, which looks good: ``` * Downloading Followers: ████████████████████████████████████████| 188/187 [9.9 names/req, reqs=19, mins=1.8, remain=-0.0] * Downloading Followings: ████████████████████████████████████████| 4,317/4,316 [11.3 names/req, reqs=382, mins=35.6, remain=-0.0] ``` This is the screen example from the PR I submitted, which is as expected: ``` * Downloading Followers: 100%|█████████████████████████████████████████████████████| 188/188 [9 names/req, reqs=19, mins=1.7, remain=0.0] * Downloading Following: 100%|███████████████████████████████████████████████▉| 4266/4267 [11 names/req, reqs=378, mins=34.4, remain=0.0] ``` But the screen for the DEV branch code shows this, with a ? in place of the total, the bar being blank, and the 100% completion missing. ``` * Downloading Followers: | | 188/? [9.9 names/req, reqs=19, mins=1.8, remain=-0.0] * Downloading Followings: | | 4317/? [11.3 names/req, reqs=382, mins=35.6, remain=-0.0] ```
kerem closed this issue 2026-02-27 20:05:01 +03:00
Author
Owner

@tomballgithub commented on GitHub (Jan 2, 2026):

Working to identify a fix...

<!-- gh-comment-id:3706235376 --> @tomballgithub commented on GitHub (Jan 2, 2026): Working to identify a fix...
Author
Owner

@tomballgithub commented on GitHub (Jan 2, 2026):

Issue, per top chart above, is that the count is actually above the max due to Instagram's # not matching what's in the returned JSON. So 188 fetched against target of 187 (101%). TQDM doesn't like that by default.

<!-- gh-comment-id:3706251474 --> @tomballgithub commented on GitHub (Jan 2, 2026): Issue, per top chart above, is that the count is actually above the max due to Instagram's # not matching what's in the returned JSON. So 188 fetched against target of 187 (101%). TQDM doesn't like that by default.
Author
Owner

@tomballgithub commented on GitHub (Jan 2, 2026):

Submitted pr #31

<!-- gh-comment-id:3706352067 --> @tomballgithub commented on GitHub (Jan 2, 2026): Submitted pr #31
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/instagram_monitor#20
No description provided.