Skip to content
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

RegieLive JSONDecodeError #2727

Closed
ciotorcristian opened this issue Oct 17, 2024 · 3 comments
Closed

RegieLive JSONDecodeError #2727

ciotorcristian opened this issue Oct 17, 2024 · 3 comments

Comments

@ciotorcristian
Copy link

Describe the bug
When searching for subs, RegieLive provider throws the following error. I couldn't find a pattern yet.

Throttling regielive for 10 minutes, until 24/10/18 01:48, because of: JSONDecodeError. Exception info: "'Expecting value: line 1 column 1 (char 0)' ~ regielive.py@95" 2024-10-18 01:38:36
Throttling regielive for 10 minutes, until 24/10/18 01:35, because of: JSONDecodeError. Exception info: "'Expecting value: line 1 column 1 (char 0)' ~ regielive.py@95" 2024-10-18 01:25:37

To Reproduce
Steps to reproduce the behavior:

  1. Download a large number of subs
  2. Get the error

Expected behavior
The provider shouldn't raise any erros

Software (please complete the following information):
Bazarr Version 1.4.6-beta.6
Package Version v1.4.6-beta.6-ls646 by linuxserver.io
Sonarr Version 4.0.9.2244
Radarr Version 5.12.2.9335
Operating System Linux-6.1.0-25-amd64-x86_64-with
Python Version 3.12.7

@JaiZed
Copy link
Collaborator

JaiZed commented Oct 17, 2024

This is a provider website issue.
The error means that no data was returned in the response by the website.
The provider code could probably be updated to issue better error messages in this case.

JaiZed added a commit to JaiZed/bazarr that referenced this issue Oct 20, 2024
Just basic defensive programming.
Should fix issue morpheus65535#2727
JaiZed added a commit that referenced this issue Oct 20, 2024
@JaiZed
Copy link
Collaborator

JaiZed commented Oct 20, 2024

Fixed in upcoming beta.

@ciotorcristian
Copy link
Author

Didn't encountered this again. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants