[GH-ISSUE #32] * Error: AttributeError: '_thread._local' object has no attribute 'pbar'` #22

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

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

If you hit ctrl-c early on, such as during loading, you will get this error:

- loading profile from username... * Error: AttributeError: '_thread._local' object has no attribute 'pbar'

I don't know a clean way to fix this. Without the check, what was happening was as follows. Current behavior is worse.

NORMAL PBAR LINE HERE
print('\n* You pressed Ctrl+C, tool is terminated.')
ANOTHER PBAR LINE 
Originally created by @tomballgithub on GitHub (Jan 3, 2026). Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/32 If you hit ctrl-c early on, such as during loading, you will get this error: `- loading profile from username... * Error: AttributeError: '_thread._local' object has no attribute 'pbar'` I don't know a clean way to fix this. Without the check, what was happening was as follows. Current behavior is worse. ``` NORMAL PBAR LINE HERE print('\n* You pressed Ctrl+C, tool is terminated.') ANOTHER PBAR LINE ```
kerem closed this issue 2026-02-27 20:05:02 +03:00
Author
Owner

@misiektoja commented on GitHub (Jan 3, 2026):

I noticed the same and I think it should already be fixed by commit 7d470799b7. Have you checked the most recently pushed build?

<!-- gh-comment-id:3706966577 --> @misiektoja commented on GitHub (Jan 3, 2026): I noticed the same and I think it should already be fixed by commit 7d470799b7fbeef7c9f8b30a658c034a5def530a. Have you checked the most recently pushed build?
Author
Owner

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

Agreed, fixed...

<!-- gh-comment-id:3707192051 --> @tomballgithub commented on GitHub (Jan 3, 2026): Agreed, fixed...
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#22
No description provided.