[GH-ISSUE #1] Adding any new set is hanging up and this is in the logs at start up "1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules." #1

Open
opened 2026-01-22 18:37:30 +00:00 by tylerobara · 4 comments
Owner

Originally created by @jeffreyswiggins on GitHub (Sep 12, 2025).
Original GitHub issue: https://github.com/tylerobara/BrickTracker/issues/1

Running the most recent version and been running it for a while no issues. This morning it started hanging when adding a few sets, doing them 1 at a time not bulk. I restarted the container after a while and saw the error "1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules." in the logs and it still will not complete adding any sets

Originally created by @jeffreyswiggins on GitHub (Sep 12, 2025). Original GitHub issue: https://github.com/tylerobara/BrickTracker/issues/1 Running the most recent version and been running it for a while no issues. This morning it started hanging when adding a few sets, doing them 1 at a time not bulk. I restarted the container after a while and saw the error "1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules." in the logs and it still will not complete adding any sets
Author
Owner

@jeffreyswiggins commented on GitHub (Sep 12, 2025):

searching this error results in reference to the python import order so this might not be the problem. The rebrickable site is also up and the web page for the set is accessible so not a data issue on their site that I can find.

https://rebrickable.com/sets/75337-1/at-te-walker/

@jeffreyswiggins commented on GitHub (Sep 12, 2025): searching this error results in reference to the python import order so this might not be the problem. The rebrickable site is also up and the web page for the set is accessible so not a data issue on their site that I can find. https://rebrickable.com/sets/75337-1/at-te-walker/
Author
Owner

@jeffreyswiggins commented on GitHub (Sep 12, 2025):

Docker container Log:

[2025-09-12 05:03:50 -0500] [6] [INFO] Listening at: http://0.0.0.0:3333/ (6)
[2025-09-12 05:03:50 -0500] [6] [INFO] Using worker: eventlet
[2025-09-12 05:03:50 -0500] [7] [INFO] Booting worker with pid: 7
1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules.
[2025-09-12 06:50:03,230] INFO - Loading set owners list
[2025-09-12 06:50:03,239] INFO - Loading set statuses list
[2025-09-12 06:50:03,242] INFO - Loading set tags list
[2025-09-12 06:50:03,331] INFO - Loading themes list
[2025-09-12 06:50:03,332] INFO - Loading instructions file list
[2025-09-12 06:50:03,340] INFO - Loading set purchase locations list
[2025-09-12 06:50:03,342] INFO - Loading set storages list
[2025-09-12 06:51:15,902] INFO - tag "Wishlist" state changed to "True" for set 75341-1 (b5df9006-e845-45af-92c1-76467aa84b67)
[2025-09-12 06:56:44 -0500] [7] [INFO] Starting gunicorn 23.0.0
[2025-09-12 06:56:44 -0500] [7] [INFO] Listening at: http://0.0.0.0:3333/ (7)
[2025-09-12 06:56:44 -0500] [7] [INFO] Using worker: eventlet
[2025-09-12 06:56:44 -0500] [8] [INFO] Booting worker with pid: 8
1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules.
[2025-09-12 06:56:57,826] INFO - Loading themes list
[2025-09-12 06:56:57,826] INFO - Loading instructions file list
[2025-09-12 06:56:59,332] INFO - Loading set storages list
[2025-09-12 06:56:59,336] INFO - Loading set purchase locations list
[2025-09-12 06:56:59,338] INFO - Loading set tags list
[2025-09-12 06:56:59,351] INFO - tag "Wishlist" state changed to "True" for set 75337-1 (382d458f-95e1-435f-9f50-1ca66adf134c)

@jeffreyswiggins commented on GitHub (Sep 12, 2025): Docker container Log: [2025-09-12 05:03:50 -0500] [6] [INFO] Listening at: http://0.0.0.0:3333/ (6) [2025-09-12 05:03:50 -0500] [6] [INFO] Using worker: eventlet [2025-09-12 05:03:50 -0500] [7] [INFO] Booting worker with pid: 7 1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. [2025-09-12 06:50:03,230] INFO - Loading set owners list [2025-09-12 06:50:03,239] INFO - Loading set statuses list [2025-09-12 06:50:03,242] INFO - Loading set tags list [2025-09-12 06:50:03,331] INFO - Loading themes list [2025-09-12 06:50:03,332] INFO - Loading instructions file list [2025-09-12 06:50:03,340] INFO - Loading set purchase locations list [2025-09-12 06:50:03,342] INFO - Loading set storages list [2025-09-12 06:51:15,902] INFO - tag "Wishlist" state changed to "True" for set 75341-1 (b5df9006-e845-45af-92c1-76467aa84b67) [2025-09-12 06:56:44 -0500] [7] [INFO] Starting gunicorn 23.0.0 [2025-09-12 06:56:44 -0500] [7] [INFO] Listening at: http://0.0.0.0:3333/ (7) [2025-09-12 06:56:44 -0500] [7] [INFO] Using worker: eventlet [2025-09-12 06:56:44 -0500] [8] [INFO] Booting worker with pid: 8 1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. [2025-09-12 06:56:57,826] INFO - Loading themes list [2025-09-12 06:56:57,826] INFO - Loading instructions file list [2025-09-12 06:56:59,332] INFO - Loading set storages list [2025-09-12 06:56:59,336] INFO - Loading set purchase locations list [2025-09-12 06:56:59,338] INFO - Loading set tags list [2025-09-12 06:56:59,351] INFO - tag "Wishlist" state changed to "True" for set 75337-1 (382d458f-95e1-435f-9f50-1ca66adf134c)
Author
Owner

@tylerobara commented on GitHub (Sep 12, 2025):

You found me! This is actually a fork of https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker

I forked just to get a GitHub action build going so the code base is certainly out of date.

Check out the original author's repo and let me know if that helps. Otherwise I'll take a look this evening maybe.

@tylerobara commented on GitHub (Sep 12, 2025): You found me! This is actually a fork of https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker I forked just to get a GitHub action build going so the code base is certainly out of date. Check out the original author's repo and let me know if that helps. Otherwise I'll take a look this evening maybe.
Author
Owner

@jeffreyswiggins commented on GitHub (Sep 12, 2025):

nevermind this appears to be the wrong repo for this container

@jeffreyswiggins commented on GitHub (Sep 12, 2025): nevermind this appears to be the wrong repo for this container
tylerobara changed title from Adding any new set is hanging up and this is in the logs at start up "1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules." to [GH-ISSUE #1] Adding any new set is hanging up and this is in the logs at start up "1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules." 2026-03-08 14:15:34 +00:00
Sign in to join this conversation.
No labels
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
tylerobara/BrickTracker#1
No description provided.