ManiMatter / decluttarr

Watches radarr, sonarr, lidarr, readarr and whisparr download queues and removes downloads if they become stalled or no longer needed.
GNU General Public License v3.0
99 stars 15 forks source link

TypeError: string indices must be integers #69

Closed acid-0verride closed 3 months ago

acid-0verride commented 3 months ago

Getting an error when running this, probably my fault! Any help is appreciated

decluttarr | [INFO]: Decluttarr - Application Started! decluttarr | [INFO]: decluttarr | [INFO]: Current Settings decluttarr | [INFO]: Version: v1.33.0 decluttarr | [INFO]: Commit: 075dace decluttarr | [INFO]: decluttarr | [INFO]: True | Removing failed downloads decluttarr | [INFO]: True | Removing downloads missing metadata decluttarr | [INFO]: True | Removing downloads missing files decluttarr | [INFO]: True | Removing orphan downloads decluttarr | [INFO]: True | Removing slow downloads decluttarr | [INFO]: True | Removing stalled downloads decluttarr | [INFO]: True | Removing downloads belonging to unmonitored TV shows/movies decluttarr | [INFO]: decluttarr | [INFO]: Running every: 0 days 1.0 hours 0.0 minutes decluttarr | [INFO]: Minimum speed enforced: 100 KB/s decluttarr | [INFO]: Permitted number of times before stalled/missing metadata/slow downloads are removed: 3 decluttarr | [INFO]: Downloads with this tag will be skipped: "Don't Kill" decluttarr | [INFO]: Private Trackers will be skipped: True decluttarr | [INFO]: decluttarr | [INFO]: Configured Instances decluttarr | [INFO]: Radarr: http://192.168.1.194:7878//api/v3 decluttarr | [INFO]: Sonarr: http://192.168.1.194:8989//api/v3 decluttarr | [INFO]: Lidarr: http://192.168.1.194:8686//api/v1 decluttarr | [INFO]: Readarr: http://readarr:8787/api/v1 decluttarr | [INFO]: qBittorrent: http://192.168.1.194:8080//api/v2 decluttarr | [INFO]: decluttarr | [INFO]: Check Instances decluttarr | [DEBUG]: Starting new HTTP connection (1): 192.168.1.194:7878 decluttarr | [DEBUG]: http://192.168.1.194:7878 "GET //api/v3/system/status HTTP/1.1" 200 None decluttarr | [DEBUG]: Starting new HTTP connection (1): 192.168.1.194:7878 decluttarr | [DEBUG]: http://192.168.1.194:7878 "GET //api/v3/system/status HTTP/1.1" 200 None decluttarr | TypeError: string indices must be integers

ManiMatter commented 3 months ago

Could it be that you defined the URLs with a trailing backslash? http://192.168.1.194:7878//api/v3 --> the two // in here could be the problem.

acid-0verride commented 3 months ago

damn im dumb as hell. Thank you so much Mani