New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception on /api/movies [PATCH] (docker, Ubuntu) #2390
Comments
goshpolly
changed the title
Exception on /api/movies [PATCH] (main branch, docker, Ubuntu)
Exception on /api/movies [PATCH] (docker, Ubuntu)
Feb 12, 2024
This has been fixed post beta.2 but the release pipeline is broken. I'll fix that ASAP. Thanks! |
Oh thank you! I take there's no easy way to deploy the fix now into a docker compose install? If not, no worries, I'll be patient. |
No, no easy way. |
morpheus65535
added a commit
that referenced
this issue
Feb 12, 2024
Should be fixed in beta.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First time user, so forgive me if I'm being stupid. I've run through the wiki and set up everything as suggested that I can see. Indexing from radarr and sonarr succeeded, and I've set up opensubtitles.com with a valid username (not email) and password which has status "Good". But every time I do a manual "Search" on a series or movie it throws an error 500, immediately disconnecting from the server, and logs reports:
Exception on /api/series [PATCH]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should correctly contact the provider and search for subtitles.
Software (please complete the following information):
Additional context
Trace:
Traceback (most recent call last):
File "/app/bin/bazarr/subtitles/pool.py", line 85, in decorated
profile_id = kwargs["profile_id"]
~~~~~~^^^^^^^^^^^^^^
KeyError: 'profile_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/bin/bazarr/../libs/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/flask_restx/api.py", line 405, in wrapper
resp = resource(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/flask/views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/../libs/flask_restx/resource.py", line 46, in dispatch_request
resp = meth(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/api/utils.py", line 30, in wrapper
return actual_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/api/series/series.py", line 212, in patch
series_download_subtitles(seriesid)
File "/app/bin/bazarr/subtitles/mass_download/series.py", line 84, in series_download_subtitles
for result in generate_subtitles(path_mappings.path_replace(episode.path),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/bin/bazarr/subtitles/pool.py", line 87, in decorated
profile_id = args[args_spec.index("profile_id")]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: