mirror of
https://github.com/misiektoja/instagram_monitor.git
synced 2026-04-26 06:45:50 +03:00
[GH-ISSUE #60] Hard lock during progress bar update with DEBUG mode on #43
Labels
No labels
Stale
Stale
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/instagram_monitor#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/60
Might be unrelated to DEBUG mode, but the first time I ran it I saw a hard lock after trying to Ctrl-C in Windows terminal.
Looks like the hang was during close_pbar after the clean_final: print statement
DEBUG makes a mess of the progress bar, but that's OK, it's DEBUG mode
Here's what was on the screen:
@tomballgithub commented on GitHub (Jan 29, 2026):
I restarted and it hard locked at the same place. It had nothing to do with CTRL-C.
But it is hard locked and CTRL-C won't even break out
@tomballgithub commented on GitHub (Jan 29, 2026):
I turned DEBUG off and the hang went away
@misiektoja commented on GitHub (Jan 29, 2026):
Thanks. I forgot to change STDOUT_LOCK from threading.Lock() to threading.RLock() as it had already been done for HTTP_SERIAL_LOCK and PROGRESS_BAR_LOCK. Fixed in
3dc1fb1e.@tomballgithub commented on GitHub (Jan 30, 2026):
Fixed