Skip to content

Not able to run #10

@stayupthetree

Description

@stayupthetree

tried several of the docker methods. It looks like it is running when I look at the logs

root@Star-Labs:~/temp# docker logs --follow ocdarr
[2025-04-15 23:21:16 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2025-04-15 23:21:16 +0000] [1] [INFO] Listening at: http://0.0.0.0:5002 (1)
[2025-04-15 23:21:16 +0000] [1] [INFO] Using worker: sync
[2025-04-15 23:21:16 +0000] [8] [INFO] Booting worker with pid: 8
[2025-04-15 23:21:16 +0000] [9] [INFO] Booting worker with pid: 9
[2025-04-15 23:21:16 +0000] [10] [INFO] Booting worker with pid: 10
[2025-04-15 23:21:16 +0000] [11] [INFO] Booting worker with pid: 11
2025-04-15 23:21:17,045 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,045 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,045 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,045 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,050 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,050 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,051 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,051 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,105 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,105 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,109 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,109 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,163 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,163 - DEBUG - Making request to http://192.168.2.2:8989/api/v3/tag
2025-04-15 23:21:17,166 - INFO - Found existing 'episodes' tag with ID 4
2025-04-15 23:21:17,166 - INFO - Found existing 'episodes' tag with ID 4

But as soon as I try to load the webpage

I get this error in the browser

Image

And this in the logs:

2025-04-15 23:23:39,245:ERROR:Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/webhook_listener.py", line 1357, in home
rules_mapping = {str(series_id): rule_name for rule_name, details in config['rules'].items() for series_id in details.get('series', [])}
TypeError: 'NoneType' object is not subscriptable
2025-04-15 23:23:39,245 - ERROR - Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/app/webhook_listener.py", line 1357, in home
rules_mapping = {str(series_id): rule_name for rule_name, details in config['rules'].items() for series_id in details.get('series', [])}
TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions