Closed Delivator closed 7 months ago
I'm not able to reproduce this. Can you attach the debug logs?
I'm not able to reproduce this. Can you attach the debug logs?
How do I enable verbose logging in v2.0.2? Seems like it got removed
rip lastfm --help
Usage: rip lastfm [OPTIONS] URL
Download tracks from a last.fm playlist.
Options:
-s, --source TEXT The source to search tracks on.
-fs, --fallback-source TEXT The source to search tracks on if no results
were found with the main source.
--help Show this message and exit.
I also have this issue. The debug logs is so long so I use pastebin to display the information.
I use the command like this:
rip -v url {album-links}
Here's my debug logs: https://pastebin.com/BZsXcPv3
Ohh I didn't realize that you have to put the -v
first.
Here is my debug log using the last fm playlist.
PS C:\Users\david> rip -v lastfm https://www.last.fm/de/user/TheDelivator/playlists/12870515
[15:11:15] DEBUG Showing all debug logs cli.py:100
[15:11:16] DEBUG Fetching lastfm playlist playlist.py:314
🌓 Searching for last.fm tracks (0 found, 0 failed, 100 total)[15:11:19] DEBUG Found result for Flares The Script on deezer
playlist.py:269
🌔 Searching for last.fm tracks (1 found, 0 failed, 100 total) DEBUG Found result for Seit du weg bist BRKN on deezer
playlist.py:269
DEBUG Found result for Then It All Goes Away Dayglow on deezer playlist.py:269
🌕 Searching for last.fm tracks (3 found, 0 failed, 100 total) DEBUG Found result for Sad in Mérida BRKN on deezer
playlist.py:269
🌖 Searching for last.fm tracks (4 found, 0 failed, 100 total) DEBUG Found result for TRAP HOUSE TRAUMATA Sierra Kidd on deezer
playlist.py:269
🌘 Searching for last.fm tracks (5 found, 0 failed, 100 total) DEBUG Found result for FUCK BABY I'M IN LOVE Lotte on deezer
playlist.py:269
🌑 Searching for last.fm tracks (6 found, 0 failed, 100 total) DEBUG Found result for Competition Kissing Levi Roth on deezer
playlist.py:269
DEBUG Found result for Cravin' Stileto on deezer playlist.py:269
🌒 Searching for last.fm tracks (8 found, 0 failed, 100 total) DEBUG Found result for Danke Nein Lostboi Lino on deezer
playlist.py:269
🌓 Searching for last.fm tracks (9 found, 0 failed, 100 total) DEBUG Found result for Shut Me Up Nicky Youre on deezer
playlist.py:269
🌔 Searching for last.fm tracks (10 found, 0 failed, 100 total) DEBUG Found result for bad idea! girl in red on deezer
playlist.py:269
🌕 Searching for last.fm tracks (11 found, 0 failed, 100 total) DEBUG Found result for Formula Labrinth on deezer
playlist.py:269
🌗 Searching for last.fm tracks (12 found, 0 failed, 100 total)[15:11:20] DEBUG Found result for Formular Lostboi Lino on deezer
playlist.py:269
🌘 Searching for last.fm tracks (13 found, 0 failed, 100 total) DEBUG Found result for What I Know is All Quicksand - rookery live tapes Giant Rooks on deezer
playlist.py:269
🌑 Searching for last.fm tracks (14 found, 0 failed, 100 total) DEBUG Found result for Oysters In My Pocket Royel Otis on deezer
playlist.py:269
DEBUG Found result for Dass du mich liebst Klan on deezer playlist.py:269
🌒 Searching for last.fm tracks (16 found, 0 failed, 100 total) DEBUG Found result for Manchmal (Outro) Lostboi Lino on deezer
playlist.py:269
🌓 Searching for last.fm tracks (17 found, 0 failed, 100 total) DEBUG Found result for 2 / 14 The Band CAMINO on deezer
playlist.py:269
🌔 Searching for last.fm tracks (18 found, 0 failed, 100 total) DEBUG Found result for Hateful Post Malone on deezer
playlist.py:269
🌕 Searching for last.fm tracks (19 found, 0 failed, 100 total) DEBUG Found result for Nice Docs, Baby! Blue Foster on deezer
playlist.py:269
🌗 Searching for last.fm tracks (20 found, 0 failed, 100 total) DEBUG Found result for I'm in Love with You The 1975 on deezer
playlist.py:269
DEBUG Found result for Kippe Ennio on deezer playlist.py:269
🌘 Searching for last.fm tracks (21 found, 0 failed, 100 total) DEBUG Found result for Ypsilon Yassin on deezer
playlist.py:269
🌑 Searching for last.fm tracks (23 found, 0 failed, 100 total) DEBUG Found result for Höhenangst Schmyt on deezer
playlist.py:269
🌒 Searching for last.fm tracks (24 found, 0 failed, 100 total) DEBUG Found result for i wanna be your girlfriend girl in red on deezer
playlist.py:269
🌓 Searching for last.fm tracks (25 found, 0 failed, 100 total)[15:11:21] DEBUG Found result for I Can Talk Two Door Cinema Club on deezer
playlist.py:269
🌔 Searching for last.fm tracks (26 found, 0 failed, 100 total) DEBUG Found result for Cocoon Catfish and the Bottlemen on deezer
playlist.py:269
🌖 Searching for last.fm tracks (27 found, 0 failed, 100 total) DEBUG Found result for I Think I Like You The Band CAMINO on deezer
playlist.py:269
🌗 Searching for last.fm tracks (28 found, 0 failed, 100 total) DEBUG Found result for A Thousand Bad Times Post Malone on deezer
playlist.py:269
🌘 Searching for last.fm tracks (29 found, 0 failed, 100 total) DEBUG Found result for girls girl in red on deezer
playlist.py:269
🌑 Searching for last.fm tracks (30 found, 0 failed, 100 total) DEBUG Found result for Ich wünschte, du wärst verloren - A COLORS SHOW Schmyt on deezer
playlist.py:269
🌒 Searching for last.fm tracks (31 found, 0 failed, 100 total) DEBUG Found result for violet Lexie Carroll on deezer
playlist.py:269
DEBUG Found result for Gut für dich EMMA6 on deezer playlist.py:269
🌓 Searching for last.fm tracks (33 found, 0 failed, 100 total) DEBUG Found result for Get By Still Woozy on deezer
playlist.py:269
🌕 Searching for last.fm tracks (34 found, 0 failed, 100 total) DEBUG Found result for Think of Me Madi Diaz on deezer
playlist.py:269
🌖 Searching for last.fm tracks (35 found, 0 failed, 100 total) DEBUG Found result for Ein Song reicht - BLVTH Version Kraftklub on deezer
playlist.py:269
🌗 Searching for last.fm tracks (36 found, 0 failed, 100 total)[15:11:22] DEBUG Found result for EINZIGE CHANCE Sierra Kidd on deezer
playlist.py:269
🌘 Searching for last.fm tracks (37 found, 0 failed, 100 total) DEBUG Found result for Du hast mich nie geliebt </3… Replay Okay on deezer
playlist.py:269
🌑 Searching for last.fm tracks (38 found, 0 failed, 100 total) DEBUG Found result for Lavender Haze Taylor Swift on deezer
playlist.py:269
DEBUG Found result for I Burned LA Down Noah Cyrus on deezer playlist.py:269
🌔 Searching for last.fm tracks (40 found, 0 failed, 100 total) DEBUG Found result for People Watching Conan Gray on deezer
playlist.py:269
DEBUG Found result for schon okay Jeremias on deezer playlist.py:269
🌕 Searching for last.fm tracks (42 found, 0 failed, 100 total) DEBUG Found result for BOP Will Joseph Cook on deezer
playlist.py:269
🌖 Searching for last.fm tracks (43 found, 0 failed, 100 total) DEBUG Found result for Ancoats Junction Morning Midnight on deezer
playlist.py:269
🌘 Searching for last.fm tracks (44 found, 0 failed, 100 total) DEBUG Found result for Chapstick Hastings on deezer
playlist.py:269
DEBUG Found result for GLÜCKWUNSCH Sierra Kidd on deezer playlist.py:269
🌒 Searching for last.fm tracks (46 found, 0 failed, 100 total) DEBUG Found result for October Passed Me By girl in red on deezer
playlist.py:269
🌓 Searching for last.fm tracks (47 found, 0 failed, 100 total) DEBUG Found result for Auf meinem Grab Yassin on deezer
playlist.py:269
🌔 Searching for last.fm tracks (48 found, 0 failed, 100 total)[15:11:23] DEBUG Found result for A Toast and a Spirit Vacation Manor on deezer
playlist.py:269
🌕 Searching for last.fm tracks (49 found, 0 failed, 100 total) DEBUG Found result for Just Yet Bizzy on deezer
playlist.py:269
🌖 Searching for last.fm tracks (50 found, 0 failed, 100 total)[15:11:28] DEBUG Found result for Something Real Post Malone on deezer
playlist.py:269
DEBUG Found result for Stadt Ennio on deezer playlist.py:269
🌑 Searching for last.fm tracks (52 found, 0 failed, 100 total) DEBUG Found result for Das muss eine Demokratie aushalten können Waving The Guns on deezer
playlist.py:269
DEBUG Found result for we fell in love in october girl in red on deezer playlist.py:269
🌒 Searching for last.fm tracks (54 found, 0 failed, 100 total) DEBUG Found result for Poseidon Schmyt on deezer
playlist.py:269
🌓 Searching for last.fm tracks (55 found, 0 failed, 100 total) DEBUG Found result for DER LETZTE SONG (ALLES WIRD GUT) (feat. Fred Rabe) Kummer on deezer
playlist.py:269
🌔 Searching for last.fm tracks (56 found, 0 failed, 100 total) DEBUG Found result for Next To You John Vincent III on deezer
playlist.py:269
🌕 Searching for last.fm tracks (57 found, 0 failed, 100 total) DEBUG Found result for ceilings Lizzy McAlpine on deezer
playlist.py:269
🌖 Searching for last.fm tracks (58 found, 0 failed, 100 total)[15:11:29] DEBUG Found result for VIEL ZU VIEL (NICHT GENUG) - Akustik Version Lotte on deezer
playlist.py:269
🌘 Searching for last.fm tracks (59 found, 0 failed, 100 total) DEBUG Found result for Hör mal mein Herz <3… Replay Okay on deezer
playlist.py:269
DEBUG Found result for Nur ein Wort Benne on deezer playlist.py:269
🌑 Searching for last.fm tracks (61 found, 0 failed, 100 total) DEBUG Found result for golden hour JVKE on deezer
playlist.py:269
🌒 Searching for last.fm tracks (62 found, 0 failed, 100 total) DEBUG Found result for Misery Michigander on deezer
playlist.py:269
🌓 Searching for last.fm tracks (63 found, 0 failed, 100 total) DEBUG Found result for sonne Tiavo on deezer
playlist.py:269
🌔 Searching for last.fm tracks (64 found, 0 failed, 100 total) DEBUG Found result for 2AM Landon Conrath on deezer
playlist.py:269
🌖 Searching for last.fm tracks (65 found, 0 failed, 100 total) DEBUG Found result for Magazine Blake Rose on deezer
playlist.py:269
🌖 Searching for last.fm tracks (66 found, 0 failed, 100 total) DEBUG Found result for Blister wavvyboi on deezer
playlist.py:269
🌑 Searching for last.fm tracks (67 found, 0 failed, 100 total) DEBUG Found result for Deep End Holly Humberstone on deezer
playlist.py:269
DEBUG Found result for Herbst edo saiya on deezer playlist.py:269
🌒 Searching for last.fm tracks (69 found, 0 failed, 100 total) DEBUG Found result for Fuchs Lea on deezer
playlist.py:269
🌓 Searching for last.fm tracks (70 found, 0 failed, 100 total)[15:11:30] DEBUG Found result for Oasis The Kooks on deezer
playlist.py:269
🌔 Searching for last.fm tracks (71 found, 0 failed, 100 total) DEBUG Found result for ein kuss skrt cobain on deezer
playlist.py:269
DEBUG Found result for Zeit - Interlude BRKN on deezer playlist.py:269
🌖 Searching for last.fm tracks (73 found, 0 failed, 100 total) DEBUG Found result for Sonnenmond Lostboi Lino on deezer
playlist.py:269
🌗 Searching for last.fm tracks (74 found, 0 failed, 100 total) DEBUG Found result for Letzter Track Haftbefehl on deezer
playlist.py:269
🌘 Searching for last.fm tracks (75 found, 0 failed, 100 total) DEBUG Found result for WAS IST DAS PT.I 3Plusss on deezer
playlist.py:269
DEBUG Found result for alle von unten Sierra Kidd on deezer playlist.py:269
🌒 Searching for last.fm tracks (77 found, 0 failed, 100 total) DEBUG Found result for I Do - Bonus Track Wild Rivers on deezer
playlist.py:269
🌓 Searching for last.fm tracks (78 found, 0 failed, 100 total) DEBUG Found result for Just Smoke Mumford & Sons on deezer
playlist.py:269
DEBUG Found result for Ich wünschte, du wärst verloren Schmyt on deezer playlist.py:269
🌕 Searching for last.fm tracks (80 found, 0 failed, 100 total) DEBUG Found result for Zuhause Fynn Kliemann on deezer
playlist.py:269
🌖 Searching for last.fm tracks (81 found, 0 failed, 100 total) DEBUG Found result for London Is Lonely Holly Humberstone on deezer
playlist.py:269
🌗 Searching for last.fm tracks (82 found, 0 failed, 100 total) DEBUG Found result for Novacandy Post Malone on deezer
playlist.py:269
🌘 Searching for last.fm tracks (83 found, 0 failed, 100 total)[15:11:31] DEBUG Found result for Am I Dreaming (Metro Boomin & A$AP Rocky, Roisee) Metro Boomin on deezer
playlist.py:269
🌒 Searching for last.fm tracks (84 found, 0 failed, 100 total) DEBUG Found result for then i met her EKKSTACY on deezer
playlist.py:269
🌓 Searching for last.fm tracks (85 found, 0 failed, 100 total) DEBUG Found result for Nieselregen Lea on deezer
playlist.py:269
🌕 Searching for last.fm tracks (86 found, 0 failed, 100 total) DEBUG Found result for Abendkleider und Nadelstreifen Schmyt on deezer
playlist.py:269
🌖 Searching for last.fm tracks (87 found, 0 failed, 100 total) DEBUG Found result for Photosynthese Dilla on deezer
playlist.py:269
🌗 Searching for last.fm tracks (88 found, 0 failed, 100 total) DEBUG Found result for What I Want The Band CAMINO on deezer
playlist.py:269
DEBUG Found result for Don't Wild Rivers on deezer playlist.py:269
🌘 Searching for last.fm tracks (90 found, 0 failed, 100 total) DEBUG Found result for About You The 1975 on deezer
playlist.py:269
🌑 Searching for last.fm tracks (91 found, 0 failed, 100 total) DEBUG Found result for Latley Jakey on deezer
playlist.py:269
🌒 Searching for last.fm tracks (92 found, 0 failed, 100 total) DEBUG Found result for Do You Wanna Talk Circa Waves on deezer
playlist.py:269
DEBUG Found result for Why Dominic Fike on deezer playlist.py:269
🌔 Searching for last.fm tracks (94 found, 0 failed, 100 total)[15:11:32] DEBUG Found result for tiny things Tiny Habits on deezer
playlist.py:269
🌗 Searching for last.fm tracks (95 found, 0 failed, 100 total) DEBUG Found result for All Is Well Hans Williams on deezer
playlist.py:269
DEBUG Found result for PINCH ME young friend on deezer playlist.py:269
🌓 Searching for last.fm tracks (97 found, 0 failed, 100 total) DEBUG Found result for 3 Sekunden (feat. Paula Hartmann) Céline on deezer
playlist.py:269
DEBUG Found result for FLiP iT/SKiP iT TJ_beastboy on deezer playlist.py:269
🌔 Searching for last.fm tracks (99 found, 0 failed, 100 total) DEBUG Found result for Cure For Me Aurora on deezer
playlist.py:269
DEBUG Removing dirs set() artwork.py:19
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _run_module_as_main:198 │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ alter_argv = False │ │
│ │ code = <code object <module> at 0x000002B70C860030, file │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\__ma… │ │
│ │ line 1> │ │
│ │ main_globals = { │ │
│ │ │ '__name__': '__main__', │ │
│ │ │ '__doc__': None, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ │ '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │ │ '__annotations__': {}, │ │
│ │ │ '__builtins__': <module 'builtins' (built-in)>, │ │
│ │ │ '__file__': │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ │ '__cached__': │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ │ 're': <module 're' from │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\re\\__i… │ │
│ │ │ ... +2 │ │
│ │ } │ │
│ │ mod_name = '__main__' │ │
│ │ mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ in _run_code:88 │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ cached = 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ code = <code object <module> at 0x000002B70C860030, file │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\__ma… │ │
│ │ line 1> │ │
│ │ fname = 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ init_globals = None │ │
│ │ loader = <zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\"> │ │
│ │ mod_name = '__main__' │ │
│ │ mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │ pkg_name = '' │ │
│ │ run_globals = { │ │
│ │ │ '__name__': '__main__', │ │
│ │ │ '__doc__': None, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ │ '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object │ │
│ │ "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">, │ │
│ │ origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │ │ '__annotations__': {}, │ │
│ │ │ '__builtins__': <module 'builtins' (built-in)>, │ │
│ │ │ '__file__': │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ │ '__cached__': │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ │ 're': <module 're' from │ │
│ │ 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\re\\__i… │ │
│ │ │ ... +2 │ │
│ │ } │ │
│ │ script_name = None │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ in <module>:7 │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1157 in │
│ __call__ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1078 in │
│ main │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1688 in │
│ invoke │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1434 in │
│ invoke │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:783 in │
│ invoke │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\decorators.py:33 │
│ in new_func │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\cli.py:26 │
│ in wrapper │
│ │
│ 23 def coro(f): │
│ 24 │ @wraps(f) │
│ 25 │ def wrapper(*args, **kwargs): │
│ ❱ 26 │ │ return asyncio.run(f(*args, **kwargs)) │
│ 27 │ │
│ 28 │ return wrapper │
│ 29 │
│ │
│ ╭────────────────────────────────────── locals ──────────────────────────────────────╮ │
│ │ args = (<click.core.Context object at 0x000002B71061A7E0>,) │ │
│ │ f = <function lastfm at 0x000002B710967A60> │ │
│ │ kwargs = { │ │
│ │ │ 'url': 'https://www.last.fm/de/user/TheDelivator/playlists/12870515', │ │
│ │ │ 'source': None, │ │
│ │ │ 'fallback_source': None │ │
│ │ } │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py:194 in run │
│ │
│ 191 │ │ │ "asyncio.run() cannot be called from a running event loop") │
│ 192 │ │
│ 193 │ with Runner(debug=debug, loop_factory=loop_factory) as runner: │
│ ❱ 194 │ │ return runner.run(main) │
│ 195 │
│ 196 │
│ 197 def _cancel_all_tasks(loop): │
│ │
│ ╭─────────────────────────────── locals ───────────────────────────────╮ │
│ │ debug = None │ │
│ │ loop_factory = None │ │
│ │ main = <coroutine object lastfm at 0x000002B71091DFC0> │ │
│ │ runner = <asyncio.runners.Runner object at 0x000002B7101083E0> │ │
│ ╰──────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py:118 in run │
│ │
│ 115 │ │ │
│ 116 │ │ self._interrupt_count = 0 │
│ 117 │ │ try: │
│ ❱ 118 │ │ │ return self._loop.run_until_complete(task) │
│ 119 │ │ except exceptions.CancelledError: │
│ 120 │ │ │ if self._interrupt_count > 0: │
│ 121 │ │ │ │ uncancel = getattr(task, "uncancel", None) │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ context = <_contextvars.Context object at 0x000002B710AA83C0> │ │
│ │ coro = <coroutine object lastfm at 0x000002B71091DFC0> │ │
│ │ self = <asyncio.runners.Runner object at 0x000002B7101083E0> │ │
│ │ sigint_handler = functools.partial(<bound method Runner._on_sigint of │ │
│ │ <asyncio.runners.Runner object at 0x000002B7101083E0>>, main_task=<Task │ │
│ │ finished name='Task-1' coro=<lastfm() done, defined at │ │
│ │ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\s… │ │
│ │ exception=IndexError('list index out of range')>) │ │
│ │ task = <Task finished name='Task-1' coro=<lastfm() done, defined at │ │
│ │ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\s… │ │
│ │ exception=IndexError('list index out of range')> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py:684 in │
│ run_until_complete │
│ │
│ 681 │ │ if not future.done(): │
│ 682 │ │ │ raise RuntimeError('Event loop stopped before Future completed.') │
│ 683 │ │ │
│ ❱ 684 │ │ return future.result() │
│ 685 │ │
│ 686 │ def stop(self): │
│ 687 │ │ """Stop running the event loop. │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ future = <Task finished name='Task-1' coro=<lastfm() done, defined at │ │
│ │ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamr… │ │
│ │ exception=IndexError('list index out of range')> │ │
│ │ new_task = False │ │
│ │ self = <ProactorEventLoop running=False closed=True debug=False> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\cli.py:36 │
│ 4 in lastfm │
│ │
│ 361 │ │ config.session.lastfm.fallback_source = fallback_source │
│ 362 │ with config as cfg: │
│ 363 │ │ async with Main(cfg) as main: │
│ ❱ 364 │ │ │ await main.resolve_lastfm(url) │
│ 365 │ │ │ await main.rip() │
│ 366 │
│ 367 │
│ │
│ ╭──────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ cfg = <streamrip.config.Config object at 0x000002B70F721940> │ │
│ │ config = <streamrip.config.Config object at 0x000002B70F721940> │ │
│ │ ctx = <click.core.Context object at 0x000002B71061A7E0> │ │
│ │ fallback_source = None │ │
│ │ main = <streamrip.rip.main.Main object at 0x000002B7100865D0> │ │
│ │ source = None │ │
│ │ url = 'https://www.last.fm/de/user/TheDelivator/playlists/12870515' │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\main.py:2 │
│ 70 in resolve_lastfm │
│ │
│ 267 │ │ │ self.config, │
│ 268 │ │ │ self.database, │
│ 269 │ │ ) │
│ ❱ 270 │ │ playlist = await pending_playlist.resolve() │
│ 271 │ │ │
│ 272 │ │ if playlist is not None: │
│ 273 │ │ │ self.media.append(playlist) │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ c = LastFmConfig(source='deezer', fallback_source='') │ │
│ │ client = <streamrip.client.deezer.DeezerClient object at 0x000002B710A05A00> │ │
│ │ fallback_client = None │ │
│ │ pending_playlist = PendingLastfmPlaylist( │ │
│ │ │ │ │
│ │ lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515', │ │
│ │ │ client=<streamrip.client.deezer.DeezerClient object at │ │
│ │ 0x000002B710A05A00>, │ │
│ │ │ fallback_client=None, │ │
│ │ │ config=<streamrip.config.Config object at 0x000002B70F721940>, │ │
│ │ │ db=Database( │ │
│ │ │ │ downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>, │ │
│ │ │ │ failed=<streamrip.db.Failed object at 0x000002B710A05D90> │ │
│ │ │ ) │ │
│ │ ) │ │
│ │ playlist_url = 'https://www.last.fm/de/user/TheDelivator/playlists/12870515' │ │
│ │ self = <streamrip.rip.main.Main object at 0x000002B7100865D0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\media\playlis │
│ t.py:215 in resolve │
│ │
│ 212 │ │ │ │ │
│ 213 │ │ │ │ for title, artist in titles_artists: │
│ 214 │ │ │ │ │ requests.append(self._make_query(f"{title} {artist}", s, callback)) │
│ ❱ 215 │ │ │ │ results: list[tuple[str | None, bool]] = await asyncio.gather(*requests) │
│ 216 │ │ else: │
│ 217 │ │ │ │
│ 218 │ │ │ def callback(): │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ artist = 'Aurora' │ │
│ │ callback = <function PendingLastfmPlaylist.resolve.<locals>.callback at │ │
│ │ 0x000002B7109E84A0> │ │
│ │ playlist_title = 'Deine Top-Songs\xa02023' │ │
│ │ requests = [ │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B7109E39A0>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B7109E3AB0>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B7109E3BC0>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B7109E3890>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A1A130>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A1A350>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A1A240>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A1A570>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A1A460>, │ │
│ │ │ <coroutine object PendingLastfmPlaylist._make_query at │ │
│ │ 0x000002B710A19E00>, │ │
│ │ │ ... +90 │ │
│ │ ] │ │
│ │ s = Status(found=100, failed=0, total=100) │ │
│ │ self = PendingLastfmPlaylist( │ │
│ │ │ │ │
│ │ lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515', │ │
│ │ │ client=<streamrip.client.deezer.DeezerClient object at │ │
│ │ 0x000002B710A05A00>, │ │
│ │ │ fallback_client=None, │ │
│ │ │ config=<streamrip.config.Config object at 0x000002B70F721940>, │ │
│ │ │ db=Database( │ │
│ │ │ │ downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>, │ │
│ │ │ │ failed=<streamrip.db.Failed object at 0x000002B710A05D90> │ │
│ │ │ ) │ │
│ │ ) │ │
│ │ status = <rich.status.Status object at 0x000002B710801040> │ │
│ │ title = 'Cure For Me' │ │
│ │ titles_artists = [ │ │
│ │ │ ('Flares', 'The Script'), │ │
│ │ │ ('Seit du weg bist', 'BRKN'), │ │
│ │ │ ('Then It All Goes Away', 'Dayglow'), │ │
│ │ │ ('Sad in Mérida', 'BRKN'), │ │
│ │ │ ('TRAP HOUSE TRAUMATA', 'Sierra Kidd'), │ │
│ │ │ ("FUCK BABY I'M IN LOVE", 'Lotte'), │ │
│ │ │ ('Competition Kissing', 'Levi Roth'), │ │
│ │ │ ("Cravin'", 'Stileto'), │ │
│ │ │ ('Danke Nein', 'Lostboi Lino'), │ │
│ │ │ ('Shut Me Up', 'Nicky Youre'), │ │
│ │ │ ... +90 │ │
│ │ ] │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\media\playlis │
│ t.py:272 in _make_query │
│ │
│ 269 │ │ │ │ logger.debug(f"Found result for {query} on {self.client.source}") │
│ 270 │ │ │ │ s.found += 1 │
│ 271 │ │ │ │ return ( │
│ ❱ 272 │ │ │ │ │ SearchResults.from_pages(self.client.source, "track", pages) │
│ 273 │ │ │ │ │ .results[0] │
│ 274 │ │ │ │ │ .id │
│ 275 │ │ │ │ ), False │
│ │
│ ╭────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ callback = <function PendingLastfmPlaylist.resolve.<locals>.callback at 0x000002B7109E84A0> │ │
│ │ pages = [{'data': [], 'total': 0}] │ │
│ │ query = 'DER LETZTE SONG (ALLES WIRD GUT) (feat. Fred Rabe) Kummer' │ │
│ │ s = Status(found=100, failed=0, total=100) │ │
│ │ self = PendingLastfmPlaylist( │ │
│ │ │ lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515', │ │
│ │ │ client=<streamrip.client.deezer.DeezerClient object at 0x000002B710A05A00>, │ │
│ │ │ fallback_client=None, │ │
│ │ │ config=<streamrip.config.Config object at 0x000002B70F721940>, │ │
│ │ │ db=Database( │ │
│ │ │ │ downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>, │ │
│ │ │ │ failed=<streamrip.db.Failed object at 0x000002B710A05D90> │ │
│ │ │ ) │ │
│ │ ) │ │
│ │ stack = <contextlib.ExitStack object at 0x000002B7108EAFF0> │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
IndexError: list index out of range
Oh sorry I mixed up two problems I have. The one above is the error I get when trying to download a lastfm playlist, this is the error when I try to download using a deezer url: https://pastebin.com/wVzj2yvQ
I have this too. I can't use the app anymore, sadly.
Same here :/
@nathom About the deezer errors, after some tries, I found that those warnings are fired by any extra track on the album if the album has more than 4 tracks
Maybe, Can you use some sort of chunking limit when check for tracks?
buggy new version.
go back to 1.9.7 with this pip3 install streamrip==v1.9.7
any updates?
BUMP - Any updates? @nathom
@nathom This is still not fixed with the dev branch.
@NighthawkUK can you send the debug trace back. I completely removed the code that was causing the error so it should be fine. It is also working on my machine.
@nathom https://pastebin.com/WAQ7bqxY This was what i got from using -v
@nathom https://pastebin.com/WAQ7bqxY This was what i got from using -v
I don't see any errors.
@nathom Neither did i. i'm going to do a full clean install of python and Streamrip.
@NighthawkUK To clarify, what happens is that no tracks are downloaded but there's also no error message? I'm still not sure what's going wrong exactly.
@nathom
Still got the same issue with v2.0.5, trying with both deezer-py
1.3.6 ands 1.3.7.
I was able to fix it by tricking urllib3 in the deezer-py
code package (site-packages/deezer/init.py):
def patch_https_connection_pool(**constructor_kwargs):
"""
This allows to override the default parameters of the
HTTPConnectionPool constructor.
For example, to increase the poolsize to fix problems
with "HttpSConnectionPool is full, discarding connection"
call this function with maxsize=16 (or whatever size
you want to give to the connection pool)
"""
from urllib3 import connectionpool, poolmanager
class MyHTTPSConnectionPool(connectionpool.HTTPSConnectionPool):
def __init__(self, *args,**kwargs):
kwargs.update(constructor_kwargs)
super(MyHTTPSConnectionPool, self).__init__(*args,**kwargs)
poolmanager.pool_classes_by_scheme['https'] = MyHTTPSConnectionPool
class Deezer:
def __init__(self):
self.http_headers = {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \
"Chrome/79.0.3945.130 Safari/537.36"
}
self.session = requests.Session()
# ********** Calling the trick just after creating the session
patch_https_connection_pool(maxsize=50)
self.logged_in = False
self.current_user = {}
self.childs = []
self.selected_account = 0
self.api = API(self.session, self.http_headers)
self.gw = GW(self.session, self.http_headers)
The method can probably be called somewhere else. And I don't know if deezer-py
is still supported, so maybe other libraries with more active development like deezer-python might be worth to be considered.
HttpSConnectionPool
Hi natooz, Where can i modify this in the last streamrip code?
Checked commands from the first post, with latest version (pip install streamrip
) and with dev branch.
All is fine, showing search results with 2 lines and downloading full album.
Windows, Python 3.11
Just try installing all clean and re-run. It's not necessary to install full python, just create a venv, install the tool there (the latest version preferably), remove/rename the config folder. btw, I think all should post the python version, it's an important factor too, sometimes...
And people, as a personal advice, learn to inform about the full reproducible steps, here and in any tech tickets basically. "me too", "same here", "+1" are very broad terms and not necessarily mean the same situation or causes. It takes some time to detect the exact steps, but it helps a lot better.
Also, you can upload text files with large logs here in the issue text directly.
Describe the bug
using
rip search deezer
doesn't work at all and usingrip url <deezer-url>
spits out this errorCommand Used
Debug Traceback
Config File
Operating System
Windows
streamrip version
2.0.2
Screenshots and recordings
Additional context
No response