streamrip
streamrip copied to clipboard
[BUG] <ARL not configured? Unable to download after trying to upgrade version>
Describe the bug
ARL not loading in streamrip
Command Used
Rip url [insert deezer track link]
NonExistentKey
'Key "arl" does not exist.'
at /usr/local/lib/python3.9/site-packages/tomlkit/container.py:553 in __getitem__
549│ key = Key(key)
550│
551│ idx = self._map.get(key, None)
552│ if idx is None:
→ 553│ raise NonExistentKey(key)
554│
555│ if isinstance(idx, tuple):
556│ # The item we are getting is an out of order table
557│ # so we need a proxy to retrieve the proper objects
Debug Traceback
rip -vvv url https://www.deezer.com/us/track/[9 digit track ID]
DEBUG:streamrip:Config loaded
DEBUG:streamrip:Parsed urls: [('deezer', 'track', '[9 digit track ID]')]
DEBUG:streamrip:Searching for {'id': '[9 digit track ID]'} in database
DEBUG:streamrip:Executing SELECT EXISTS(SELECT 1 FROM downloads WHERE id=?)
Stack trace:
13 /usr/local/lib/python3.9/site-packages/cleo/application.py:330 in run
328│
329│ try:
→ 330│ exit_code = self._run(io)
331│ except Exception as e:
332│ if not self._catch_exceptions:
12 /usr/local/lib/python3.9/site-packages/rip/cli.py:762 in _run
760│ logger.addHandler(fh)
761│
→ 762│ super()._run(io)
763│
764│ def create_io(self, input=None, output=None, error_output=None):
11 /usr/local/lib/python3.9/site-packages/cleo/application.py:425 in _run
423│ io.set_input(ArgvInput(argv))
424│
→ 425│ exit_code = self._run_command(command, io)
426│ self._running_command = None
427│
10 /usr/local/lib/python3.9/site-packages/cleo/application.py:432 in _run_command
430│ def _run_command(self, command: Command, io: IO) -> int:
431│ if self._event_dispatcher is None:
→ 432│ return command.run(io)
433│
434│ # Bind before the console.command event,
9 /usr/local/lib/python3.9/site-packages/cleo/commands/base_command.py:118 in run
116│ io.input.validate()
117│
→ 118│ status_code = self.execute(io)
119│
120│ if status_code is None:
8 /usr/local/lib/python3.9/site-packages/cleo/commands/command.py:85 in execute
83│
84│ try:
→ 85│ return self.handle()
86│ except KeyboardInterrupt:
87│ return 1
7 /usr/local/lib/python3.9/site-packages/rip/cli.py:122 in handle
120│
121│ if urls:
→ 122│ core.handle_urls(";".join(urls))
123│
124│ if len(core) > 0:
6 /usr/local/lib/python3.9/site-packages/rip/core.py:183 in handle_urls
181│ continue
182│
→ 183│ self.handle_item(source, url_type, item_id)
184│
185│ def handle_item(self, source: str, media_type: str, item_id: str):
5 /usr/local/lib/python3.9/site-packages/rip/core.py:195 in handle_item
193│ :type item_id: str
194│ """
→ 195│ client = self.get_client(source)
196│
197│ if media_type not in MEDIA_TYPES:
4 /usr/local/lib/python3.9/site-packages/rip/core.py:359 in get_client
357│ if not client.logged_in:
358│ try:
→ 359│ self.login(client)
360│ except DeezloaderFallback:
361│ client = self.clients["deezloader"]
3 /usr/local/lib/python3.9/site-packages/rip/core.py:370 in login
368│ :param client:
369│ """
→ 370│ creds = self.config.creds(client.source)
371│ if client.source == "deezer" and creds["arl"] == "":
372│ if self.config.session["deezer"]["deezloader_warnings"]:
2 /usr/local/lib/python3.9/site-packages/rip/config.py:192 in creds
190│ return self.tidal_creds
191│ if source == "deezer":
→ 192│ return {"arl": self.file["deezer"]["arl"]}
193│ if source == "soundcloud":
194│ soundcloud = self.file["soundcloud"]
1 /usr/local/lib/python3.9/site-packages/tomlkit/items.py:1007 in __getitem__
1005│
1006│ def __getitem__(self, key): # type: (Union[Key, str]) -> Item
→ 1007│ return self._value[key]
1008│
1009│ def __setitem__(self, key, value): # type: (Union[Key, str], Any) -> None
NonExistentKey
'Key "arl" does not exist.'
at /usr/local/lib/python3.9/site-packages/tomlkit/container.py:553 in __getitem__
549│ key = Key(key)
550│
551│ idx = self._map.get(key, None)
552│ if idx is None:
→ 553│ raise NonExistentKey(key)
554│
555│ if isinstance(idx, tuple):
556│ # The item we are getting is an out of order table
557│ # so we need a proxy to retrieve the proper objects
Config File
rip config open
RuntimeException
No arguments expected for "config" command, got "open"
at /usr/local/lib/python3.9/site-packages/cleo/io/inputs/argv_input.py:258 in _parse_argument
254│ )
255│ else:
256│ message = 'No arguments expected, got "{}"'.format(token)
257│
→ 258│ raise RuntimeException(message)
259│
260│ def _add_short_option(self, shortcut: str, value: Any) -> None:
261│ if not self._definition.has_shortcut(shortcut):
262│ raise NoSuchOptionException(f'The option "-{shortcut}" does not exist')
Operating System
macOS
streamrip version
1.9.7
Screenshots and recordings
No response
Additional context
I was trying to upgrade to the latest version of rip with pillow 10.