ArrTools icon indicating copy to clipboard operation
ArrTools copied to clipboard

(JSONDecodeError) radarr_add_from_list.py

Open bison529 opened this issue 3 years ago • 1 comments

Hi,

when run command $python3 radarr_add_from_list.py movielist.csv

showing this error:

[INFO] Downloading Radarr Movie Data. :)
Traceback (most recent call last):
  File "radarr_add_from_list.py", line 253, in <module>
    main()
  File "radarr_add_from_list.py", line 235, in main
    RadarrData = json.loads(rsp.text)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I using Radarr in dokcer, this config.ini details (API are hid):

[radarr]
api_key = API Key
baseurl = https://radarr.domian.xyz/
urlbase =
rootfolderpath = /Movies/Movies_Hollywood
searchForMovie = False
qualityProfileId = 1
omdbapi_key = API Key; sign up here for api key http://www.omdbapi.com/apikey.aspx

 Standard Profile ID
 1 Any
 2 Bluray
 3 HD-1080p
 4 HD-720p
 5 SD
 6 Ultra-HD
 7 WEB-DL 1080P

I have tried localhost:7878 and IP Address docker network (172.18.0.25:7878) as same result.

bison529 avatar Feb 22 '22 14:02 bison529

I'm having this issue too, it's also happening in the sonarr version.

tom-dell avatar May 11 '22 10:05 tom-dell

I'd download the new file and try again. I just ran through no issue :)

dp247 avatar Dec 06 '22 21:12 dp247

Download again and it should all work

sirk123au avatar Dec 09 '22 06:12 sirk123au