excludarr
excludarr copied to clipboard
Error when trying to list providers (and any other command)
Describe the bug
Error when running excludarr providers list
To Reproduce Steps to reproduce the behavior:
-
excludarr providers list
Expected behavior An output of available providers
Versions
- OS Version: macOS Sonoma (also happened when running on Linux seedbox)
- Excludarr version: v1.0.7
- Python version: Python 3.11.4
Debug logging
sean@Seans-Mac-mini ~ % excludarr --debug providers list
[2023-08-26 09:54:18] - Starting Excludarr v1.0.7
[2023-08-26 09:54:18] - Got radarr as subcommand
[2023-08-26 09:54:18] - Reading configuration file
[2023-08-26 09:54:18] - Determining which configfile to use
[2023-08-26 09:54:18] - Configfile to use: ./.excludarr.yml
[2023-08-26 09:54:18] - Reading configfile: ./.excludarr.yml
[2023-08-26 09:54:18] - Read the following configuration: {'general': {'fast_search': True, 'locale': 'en_NL', 'providers': ['Netflix']}, 'tmdb': {'api_key': '<REDACTED>'}, 'radarr': {'url': 'http://tangelo.whatbox.ca:29247', 'api_key': '<REDACTED>', 'verify_ssl': False, 'exclude': None}, 'sonarr': {'url': 'http://tangelo.whatbox.ca:26271', 'api_key': '<REDACTED>', 'verify_ssl': False, 'exclude': None}}
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/excludarr/comman │
│ ds/providers.py:22 in list │
│ │
│ 19 │ if not locale: │
│ 20 │ │ locale = config.locale │
│ 21 │ │
│ ❱ 22 │ justwatch_client = justwatch.JustWatch(locale) │
│ 23 │ jw_providers = justwatch_client.get_providers() │
│ 24 │ │
│ 25 │ output.print_providers(jw_providers) │
│ │
│ ╭───── locals ─────╮ │
│ │ locale = 'en_US' │ │
│ ╰──────────────────╯ │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/excludarr/module │
│ s/justwatch/justwatch.py:21 in __init__ │
│ │
│ 18 │ │ self.session.verify = ssl_verify │
│ 19 │ │ │
│ 20 │ │ # Setup retries on failure │
│ ❱ 21 │ │ retries = Retry( │
│ 22 │ │ │ total=5, │
│ 23 │ │ │ backoff_factor=0.5, │
│ 24 │ │ │ status_forcelist=[429, 500, 502, 503, 504], │
│ │
│ ╭─────────────────────────────────────── locals ───────────────────────────────────────╮ │
│ │ locale = 'en_NL' │ │
│ │ self = <excludarr.modules.justwatch.justwatch.JustWatch object at 0x106f6bad0> │ │
│ │ ssl_verify = True │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Retry.__init__() got an unexpected keyword argument 'method_whitelist'
Additional context Add any other context about the problem here.
Im getting the same problem but im using a fresh install of ubuntu on a vm
odin@randomstuff:~$ excludarr --debug providers list [2023-10-12 21:58:02] - Starting Excludarr v1.0.7 [2023-10-12 21:58:02] - Got radarr as subcommand [2023-10-12 21:58:02] - Reading configuration file [2023-10-12 21:58:02] - Determining which configfile to use [2023-10-12 21:58:02] - Configfile to use: ./.excludarr.yml [2023-10-12 21:58:02] - Reading configfile: ./.excludarr.yml [2023-10-12 21:58:02] - Read the following configuration: {'general': {'fast_search': True, 'locale': 'en_US', 'providers': ['Amazon Prime Video', 'Disney Plus']}, 'tmdb': {'api_key': '<REDACTED>'}, 'radarr': {'url': 'http://192.168.0.12:7878', 'api_key': '<REDACTED>', 'verify_ssl': False, 'exclude': None}, 'sonarr': {'url': 'http://localhost:8989', 'api_key': '<REDACTED>', 'verify_ssl': False, 'exclude': None}} ╭─────────────────────────────── Traceback (most recent call last ────────────────────────────────╮ │ /home/odin/.local/lib/python3.10/site-packages/excludarr/commands/providers.py:22 in list │ │ │ │ 19 │ if not locale: │ │ 20 │ │ locale = config.locale │ │ 21 │ │ │ ❱ 22 │ justwatch_client = justwatch.JustWatch(locale) │ │ 23 │ jw_providers = justwatch_client.get_providers() │ │ 24 │ │ │ 25 │ output.print_providers(jw_providers) │ │ │ │ ╭───── locals ─────╮ │ │ │ locale = 'en_US' │ │ │ ╰──────────────────╯ │ │ │ │ /home/odin/.local/lib/python3.10/site-packages/excludarr/modules/justwatch/justwatch.py:21 in │ │ init │ │ │ │ 18 │ │ self.session.verify = ssl_verify │ │ 19 │ │ │ │ 20 │ │ # Setup retries on failure │ │ ❱ 21 │ │ retries = Retry( │ │ 22 │ │ │ total=5, │ │ 23 │ │ │ backoff_factor=0.5, │ │ 24 │ │ │ status_forcelist=[429, 500, 502, 503, 504], │ │ │ │ ╭──────────────────────────────────────── locals ─────────────────────────────────────────╮ │ │ │ locale = 'en_US' │ │ │ │ self = <excludarr.modules.justwatch.justwatch.JustWatch object at 0x7f83c7b82560> │ │ │ │ ssl_verify = True │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: Retry.init() got an unexpected keyword argument 'method_whitelist'
if someone with a working setup could post their config.yml with the api keys removed of course it would greatly be appreciated.
I have the same problem trying to configure excludarr just now... Is it currently not working because of the API change that I've seen mentioned here? https://github.com/haijeploeg/excludarr/issues/92#issuecomment-1779912484