[GH-ISSUE #62] Some songs fail at 99% #46

Closed
opened 2026-03-04 12:28:21 +03:00 by kerem · 0 comments
Owner

Originally created by @ghost on GitHub (May 19, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/62

I'm using the latest developmentBranch build and some songs fail at 99%

[2023-05-20 01:52:09,075 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '44UnT7KIVgEQFkUeXUp3OJ', Unexpected error: Traceback (most recent call last):
File "PIL\PngImagePlugin.py", line 1286, in _save
KeyError: 'CMYK'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "worker\downloader.py", line 172, in download_track
File "utils\spotify.py", line 203, in set_music_thumbnail
File "PIL\Image.py", line 2432, in save
File "PIL\PngImagePlugin.py", line 1289, in _save
OSError: cannot write mode CMYK as PNG
!
[2023-05-20 01:52:09,082 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 377: run() :: ERROR] -> Download process returned false: 44UnT7KIVgEQFkUeXUp3OJ

image

Originally created by @ghost on GitHub (May 19, 2023). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/62 I'm using the latest developmentBranch build and some songs fail at 99% [2023-05-20 01:52:09,075 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '44UnT7KIVgEQFkUeXUp3OJ', Unexpected error: Traceback (most recent call last): File "PIL\PngImagePlugin.py", line 1286, in _save KeyError: 'CMYK' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "worker\downloader.py", line 172, in download_track File "utils\spotify.py", line 203, in set_music_thumbnail File "PIL\Image.py", line 2432, in save File "PIL\PngImagePlugin.py", line 1289, in _save OSError: cannot write mode CMYK as PNG ! [2023-05-20 01:52:09,082 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 377: run() :: ERROR] -> Download process returned false: 44UnT7KIVgEQFkUeXUp3OJ ![image](https://github.com/casualsnek/onthespot/assets/45408242/670afa96-d4fe-4713-b374-8d64c3f8e862)
kerem closed this issue 2026-03-04 12:28:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#46
No description provided.