Closed itractus closed 6 months ago
hi,
which sonarr/radarr version are you using? Have you tried v4 nightly?
Could you paste the logs when you switch to "debug" INFO_LEVEL (maybe use a pastebin)
i'm using: Radarr Version 5.1.3.8246 Sonarr Version 3.0.10.1567 Lidarr Version 1.4.5.3639 here is the verbose log output: https://pastebin.com/rKVvnSiy
Just studied your pastebin, hard to tell what's going on. Could we try the following please?
Then run again on DEBUG mode and print kindly share again the output, thx
here is one with the dev versions of lidarr/sonarr/radarr and decluttarr https://pastebin.com/zyuXvNtP
Posting here due to having a very similar error, running on a fresh Ubuntu 20.04 container with current versions of all arr apps and a fully updated python3 package I get this error.
2023-12-12 05:29:27,506 [VERBOSE]: Cleaning queue on Radarr: 2023-12-12 05:29:27,513 [VERBOSE]: >>> Queue is empty. 2023-12-12 05:29:27,513 [VERBOSE]: Cleaning queue on Sonarr: 2023-12-12 05:29:27,526 [WARNING]: >>> Queue cleaning failed on Sonarr. (File: queue_cleaner.py / Line: 213 / Error Message: unsupported operand type(s) for |: 'dict' and 'dict' / Error Type: <class 'TypeError'>) 2023-12-12 05:29:27,526 [VERBOSE]: Cleaning queue on Lidarr: 2023-12-12 05:29:27,533 [WARNING]: >>> Queue cleaning failed on Lidarr. (File: queue_cleaner.py / Line: 213 / Error Message: unsupported operand type(s) for |: 'dict' and 'dict' / Error Type: <class 'TypeError'>) 2023-12-12 05:29:27,533 [VERBOSE]: 2023-12-12 05:29:27,533 [VERBOSE]: Queue clean-up complete!
After a bit of digging I tracked the issue down to line 19 of the queue_cleaner.py
queue = await rest_get(f'{BASE_URL}/queue', API_KEY, {'page': '1', 'pageSize': totalRecords}|params)
The | operand was causing issues, python is not my background and I cant see why there is a OR operand here instead of adding params into the previous object but after removing
'|params'
everything works great (or at least appears to), I know how to add this to an object in JS but I'm not sure how in python so its a quick fix
I don't know how or why, but it is solved. I wish I could be more specific. I am using the images with the latest tag from linuxserverio.
mh. no clue :) glad it works for you now. Just bear in mind that with the "latest" tag for Sonarr/radarr, the stuck-in-meta-data stage detection will not work properly; nightly is required for that
/I seem to be getting a dict error on all connections. Any ideas on what this might be?
my compose: