mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #119] ERROR -> Download process returned false: 7H4LlyRX0YjXhJFLN5nIae #89
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sulaimanusman on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/119
C:\Users\Lappytop\onthespot\src>python -m onthespot
OTS Version : 0.5
Config version: 0.5
Attempting to use system ffmpeg binary !
Using ffmpeg binary at: C:\ffmpeg\bin\ffmpeg.EXE
[2024-03-24 14:11:03,086 :: init :: C:\Users\Lappytop\onthespot\src\onthespot_init_.py -> 11: main() :: INFO] -> Starting application in
3
2
1
[2024-03-24 14:11:03,703 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 86: init() :: INFO] -> Initialising main window, logging session : 4113073e-b342-44f7-8176-8b4b32dedd1d
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 102: init() :: INFO] -> Loading configurations..
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 474: __fill_configs() :: INFO] -> Config filled to UI
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 114: init() :: INFO] -> Preparing session loader
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 126: init() :: INFO] -> Preparing parsing queue processor
[2024-03-24 14:11:03,734 :: worker.session :: C:\Users\Lappytop\onthespot\src\onthespot\worker\session.py -> 17: run() :: INFO] -> Session loader has started !
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 170: set_table_props() :: INFO] -> Setting table item properties
[2024-03-24 14:11:03,734 :: worker.session :: C:\Users\Lappytop\onthespot\src\onthespot\worker\session.py -> 23: run() :: INFO] -> Trying to create session for musi
[2024-03-24 14:11:03,734 :: worker.utility :: C:\Users\Lappytop\onthespot\src\onthespot\worker\utility.py -> 90: run() :: INFO] -> Parsing queue processor is active !
[2024-03-24 14:11:03,734 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 141: init() :: INFO] -> Main window init completed !
[2024-03-24 14:11:03,734 :: worker.utility :: C:\Users\Lappytop\onthespot\src\onthespot\worker\utility.py -> 92: run() :: INFO] -> Waiting for new item to parse
[2024-03-24 14:11:03,947 :: utils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\utils.py -> 51: login_user() :: INFO] -> logging in user 'musi****@.'
[2024-03-24 14:11:03,949 :: utils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\utils.py -> 57: login_user() :: INFO] -> Session file exists for user, attempting to use it 'musi***@.'
[2024-03-24 14:11:07,420 :: utils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\utils.py -> 68: login_user() :: INFO] -> Login successful for user 'musi***@*.'
[2024-03-24 14:11:07,625 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 399:__generate_users_table() :: INFO] -> Accounts table was populated !
[2024-03-24 14:11:07,682 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 408: __rebuild_threads() :: INFO] -> Spawning DL thread using session : 5a80c218-9244-41ae-a7bc-7e66f949268e
[2024-03-24 14:11:07,682 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 327: run() :: INFO] -> Download worker SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e is running
[2024-03-24 14:11:12,270 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 587:_get_search_results() :: INFO] -> Search clicked with value term alien communication
[2024-03-24 14:11:12,272 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 290: search_by_term() :: INFO] -> Get search result for term 'alien communication', max items '10'
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
[2024-03-24 14:11:16,813 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 759: send_to_pqp() :: INFO] -> Prepared media for parsing, adding to PQP queue !
[2024-03-24 14:11:17,001 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Subtronics"; Allow path separators: False
[2024-03-24 14:11:17,002 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "TESSERACT"; Allow path separators: False
[2024-03-24 14:11:17,003 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Alien Communication"; Allow path separators: False
[2024-03-24 14:11:17,004 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:17,004 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:17,005 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:17,006 :: worker.utility :: C:\Users\Lappytop\onthespot\src\onthespot\worker\utility.py -> 69: enqueue_tracks() :: INFO] -> PQP parsing Alien Communication:7H4LlyRX0YjXhJFLN5nIae <-> track item: Alien Communication:7H4LlyRX0YjXhJFLN5nIae
[2024-03-24 14:11:17,014 :: worker.utility :: C:\Users\Lappytop\onthespot\src\onthespot\worker\utility.py -> 234: run() :: INFO] -> Finished parsing this item !
[2024-03-24 14:11:17,016 :: worker.utility :: C:\Users\Lappytop\onthespot\src\onthespot\worker\utility.py -> 92: run() :: INFO] -> Waiting for new item to parse
[2024-03-24 14:11:17,021 :: gui.main_ui :: C:\Users\Lappytop\onthespot\src\onthespot\gui\mainui.py -> 322:add_item_to_downloads() :: INFO] -> Adding item to download queue -> media_type:track, media_id: 7H4LlyRX0YjXhJFLN5nIae, extra_path:, extra_path_as_root: False, Prefix value: ''
[2024-03-24 14:11:17,022 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 341: run() :: INFO] -> Processing download for track by id '7H4LlyRX0YjXhJFLN5nIae', Attempt: 0/3
[2024-03-24 14:11:17,028 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Subtronics"; Allow path separators: False
[2024-03-24 14:11:17,029 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "TESSERACT"; Allow path separators: False
[2024-03-24 14:11:17,032 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Alien Communication"; Allow path separators: False
[2024-03-24 14:11:17,033 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:17,034 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:17,035 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:19,511 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '7H4LlyRX0YjXhJFLN5nIae', Unexpected error: Traceback (most recent call last):
File "C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py", line 129, in download_track
with open(filename, 'wb') as file:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Lappytop\Music\OnTheSpot\Subtronics\[2024] TESSERACT\Subtronics - TESSERACT - Alien Communication.mp3'
!
[2024-03-24 14:11:19,513 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 385: run() :: ERROR] -> Download process returned false: 7H4LlyRX0YjXhJFLN5nIae
[2024-03-24 14:11:19,515 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 341: run() :: INFO] -> Processing download for track by id '7H4LlyRX0YjXhJFLN5nIae', Attempt: 1/3
[2024-03-24 14:11:19,518 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Subtronics"; Allow path separators: False
[2024-03-24 14:11:19,518 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "TESSERACT"; Allow path separators: False
[2024-03-24 14:11:19,519 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Alien Communication"; Allow path separators: False
[2024-03-24 14:11:19,519 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:19,520 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:19,521 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
Couldn't extract expiration, invalid parameter in CDN url: https://audio4-gm-fb.spotifycdn.com/audio/e5f55a17f050ca28df41fc67befa1bcee066356e?Expires=1711390281
FullPathhmac=BNtCGS9POTMFC59aY5zBWNus6I7f4h-eJgtweMDFzAg=[2024-03-24 14:11:20,858 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '7H4LlyRX0YjXhJFLN5nIae', Unexpected error: Traceback (most recent call last):
File "C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py", line 122, in download_track
stream = session.content_feeder().load(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 722, in load
return self.load_track(playable_id, audio_quality_picker, preload,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 783, in load_track
return self.load_stream(file, track, None, preload, halt_listener)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 737, in load_stream
return CdnFeedHelper.load_track(self.session, track, file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 339, in load_track
streamer = session.cdn().stream_file(file, key, url, halt_listener)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 438, in stream_file
return CdnManager.Streamer(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 561, in init
response = self.request(range_start=0,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lappytop\AppData\Local\Programs\Python\Python311\Lib\site-packages\librespot\audio_init.py", line 622, in request
raise IOError(response.status_code)
OSError: 404
!
[2024-03-24 14:11:20,863 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 385: run() :: ERROR] -> Download process returned false: 7H4LlyRX0YjXhJFLN5nIae
[2024-03-24 14:11:20,865 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 341: run() :: INFO] -> Processing download for track by id '7H4LlyRX0YjXhJFLN5nIae', Attempt: 2/3
[2024-03-24 14:11:21,037 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Subtronics"; Allow path separators: False
[2024-03-24 14:11:21,038 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "TESSERACT"; Allow path separators: False
[2024-03-24 14:11:21,039 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Alien Communication"; Allow path separators: False
[2024-03-24 14:11:21,040 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:21,041 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:21,042 :: spotutils :: C:\Users\Lappytop\onthespot\src\onthespot\utils\spotify.py -> 101: sanitize_data() :: INFO] -> Sanitising string: "2024 Cyclops Recordings"; Allow path separators: False
[2024-03-24 14:11:22,290 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '7H4LlyRX0YjXhJFLN5nIae', Unexpected error: Traceback (most recent call last):
File "C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py", line 129, in download_track
with open(filename, 'wb') as file:
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Lappytop\Music\OnTheSpot\Subtronics\[2024] TESSERACT\Subtronics - TESSERACT - Alien Communication.mp3'
!
[2024-03-24 14:11:22,290 :: worker.downloader.SESSION_DL_TH-5a80c218-9244-41ae-a7bc-7e66f949268e :: C:\Users\Lappytop\onthespot\src\onthespot\worker\downloader.py -> 385: run() :: ERROR] -> Download process returned false: 7H4LlyRX0YjXhJFLN5nIae
@fatsolko commented on GitHub (Apr 17, 2024):
i have the same problem
@fatsolko commented on GitHub (Apr 17, 2024):
but in raw format everything is ok, i think the error is in convertation from ogg to mp3
@brunomareque commented on GitHub (Aug 24, 2024):
I had the same problem. ogg was downloaded allright, the error was converting to mp3 as @fatsolko said.
In my case i had not ffmpeg on my computer. After you download it, you have to add it to your $PATH and restart.