Skip to content

Issue with Approving Show in OCDarr #13

Description

@jheck90

Howdy,

Receiving a 500 with my completed(?) Overseerr -> Sonarr -> OCDarr flow.

2025-06-03 21:19:19,765 - ERROR - Error getting media details: Invalid URL '/api/v1/tv/85723': No scheme supplied. Perhaps you meant https:///api/v1/tv/85723?
2025-06-03 21:19:19,765 - ERROR - Exception on /select-seasons/85723 [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 1112, in select_seasons
    return render_template('error.html', message="Failed to get show details")
  File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 149, in render_template
    template = app.jinja_env.get_or_select_template(template_name_or_list)
  File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
  File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1010, in get_template
    return self._load_template(name, globals)
  File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 969, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
  File "/usr/local/lib/python3.8/site-packages/jinja2/loaders.py", line 125, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 65, in get_source
    return self._get_source_fast(environment, template)
  File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 99, in _get_source_fast
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: error.html

It looks like the flow is doing what you'd expect.

  1. I requested Raised by Wolves in overseerr, ensured episodes tag was passed. FWIW I set that webhook to include auto-approvals, since my user has auto-approved.
  2. Can see the series added to sonarr but with the delay, nothing is done, which is good.
  3. See the request populate into OCDarr.
  4. This stack trace is thrown when trying to click on Select Season https://ocdarr.mydomain.net/select-seasons/85723

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