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

Some sort of error #16

Open
vegiemane opened this issue Jan 16, 2024 · 3 comments
Open

Some sort of error #16

vegiemane opened this issue Jan 16, 2024 · 3 comments

Comments

@vegiemane
Copy link

vegiemane commented Jan 16, 2024

Works fine. But it is outputting a weird error to the logs of the docker container:

2024-01-16 05:31:12,627 [INFO]: Running media-tools script
2024-01-16 05:31:12,627 [INFO]: Checking Sonarr queue...
2024-01-16 05:31:12,636 [INFO]: Processing Sonarr queue...
2024-01-16 05:31:12,636 [INFO]: Checking the status of Greys.Anatomy.S14E24.All.of.Me.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb[eztv]
2024-01-16 05:31:12,637 [INFO]: Removing stalled Sonarr download: Greys.Anatomy.S14E24.All.of.Me.720p.AMZN.WEB-DL.DDP5.1.H.264-NTb[eztv]
2024-01-16 05:31:12,658 [ERROR]: Error making API request to http://sonarr:8989/api/v3/queue/1249371407: Expecting value: line 1 column 1 (char 0)
2024-01-16 05:31:12,659 [INFO]: Checking radarr queue...
2024-01-16 05:31:12,683 [INFO]: Processing Radarr queue...
2024-01-16 05:31:12,683 [INFO]: Finished running media-tools script. Sleeping for 10 minutes.

@SivertGullbergHansen
Copy link

I am experiencing the same error

@SivertGullbergHansen
Copy link

SivertGullbergHansen commented Jan 25, 2024

From what I can tell, the tool is working. It is throwing an exception because the response cannot be parsed by JSON. Simply removing .json() from the return response.json() seems to remove the exception.

@SivertGullbergHansen
Copy link

I decided to fork this repository and make my own version. You can grab it from here:
https://github.com/SivertGullbergHansen/arr-cleaner.git

Instructions are in the readme (almost identical to this repository)

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

No branches or pull requests

2 participants