Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download Error: Downloaded file is not the same size as the content length #96

Open
xkirbys opened this issue Jul 30, 2024 · 4 comments

Comments

@xkirbys
Copy link

xkirbys commented Jul 30, 2024

Some songs in a Playlist will download perfectly, but some give this error:

ERROR - Error downloading oU5Dbk87Wss: Download Error: Downloaded file is not the same size as the content length (1024001/2433379) [src\tasks\download.rs]

Platform: Windows 11

@ccgauche
Copy link
Owner

If you restart multiple times the download does it always crash on the same music or it is just a random crash?

This error is just a check I added to see whether the downloaded file was the expected length, this could mean the song download crashed half way through.

@xkirbys
Copy link
Author

xkirbys commented Jul 30, 2024

If restarted multiple times, the download goes through, for some I only need to restart once for others multiple times.

@gunjubas
Copy link

gunjubas commented Aug 21, 2024

I have the same issue on Ubuntu 22.04 (built from source)
`
YTerMusic log file
INFO - Logger mode INFO [src/systems/logger.rs]
INFO - Init: 0ms [src/structures/performance.rs]
INFO - Startup: 0ms [src/structures/performance.rs]
INFO - Spawned clean task: 0ms [src/structures/performance.rs]
INFO - Loading config from "/home/ganistrat/.config/ytermusic/config.toml" [src/config.rs]
INFO - Clean task: 0ms [src/structures/performance.rs]
INFO - Spawned system task: 10ms [src/structures/performance.rs]
INFO - Spawned last playlist task: 10ms [src/structures/performance.rs]
INFO - Spawned api task: 10ms [src/structures/performance.rs]
INFO - Running manager: 10ms [src/structures/performance.rs]
INFO - Last playlist task on [src/tasks/last_playlist.rs]
INFO - Last playlist: 0ms [src/structures/performance.rs]
INFO - API task on [src/tasks/api.rs]
INFO - Database getter task on [src/tasks/local_musics.rs]
INFO - Local musics: 0ms [src/structures/performance.rs]
INFO - Playlist Episodes for Later is too small so skipped [src/tasks/api.rs]
INFO - Browse playlist Episodes for Later VLSE: 254ms [src/structures/performance.rs]
INFO - Browse playlist Liked Music VLLM: 371ms [src/structures/performance.rs]
INFO - Browse playlist VERY_IMPORTANT_THINGS VLPLoZE7FiUPyjRdbibvaHsWc0ojEjXi3Tl_: 687ms [src/structures/performance.rs]
INFO - Browse playlist дитячий_альбом VLPLoZE7FiUPyjTXboSxwyr7WXqTfWGI1lDj: 715ms [src/structures/performance.rs]
INFO - Browse playlist Козацькі, Стрілецькі і Повстанські пісні VLPL331NYfnTBXW8sxjkbG7rn8I5rrh4Oirc: 730ms [src/structures/performance.rs]
INFO - Browse playlist Taras_Songs VLPLoZE7FiUPyjTAbHDEwwL4kpR2pzQr28fi: 789ms [src/structures/performance.rs]
INFO - Browse playlist Trance_Work VLPLoZE7FiUPyjRUd-pHL4jV_gaZ6KtUNkog: 813ms [src/structures/performance.rs]
INFO - Skipping channel (CONFIG) The Prodigy UCOEO40PfRXSKhslXNgS0H8Q [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Benny Benassi UC0rp__Z5Xi4nZ4DEmCyCZTg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Mason UC0xI1_4w0f3TcoYHpNqnlww [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Reina del Cid UCWg7feo3VIfBmkvoWYzft-Q [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Partiboi69 UCR3qqKVcTcok5-LYa1VLaMQ [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Johnny Cash UCiGs21G3KeE2tpbbMPzn9Qg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Miss Monique UCE9PYNPQ7AJxlCns31vvZGg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Yoxden UCqnq8PI4inFie9qxic_R3FQ [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Katy Perry UC_7s69e1mDS3lgcTMJEPjCg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) satelibra UCcqswGuyCPJqE74cnzuHxmQ [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Surface Tension UCva-oAgde-_G84i3vcwygDg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) СТРУКТУРА ЩАСТЯ UCJucLuWzXseVUdqRKI9OYuQ [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Alice Change UCx0IdNUgaXNeD0xgDPO9AYg [src/tasks/api.rs]
INFO - Skipping channel (CONFIG) Марія Бурмака UCmPr5QeTG67ZBY8MQ0SUXTA [src/tasks/api.rs]
...skipping...
INFO - Browse playlist Dance Party Hits VLRDCLAK5uy_mkXiaMATud8GJQ3aX7f0nCeCqvehA9wTQ: 1067ms [src/structures/performance.rs]
INFO - Browse playlist My Mix 2 VLRDTMAK5uy_lz2owBgwWf1mjzyn_NbxzMViQzIg8IAIg: 1093ms [src/structures/performance.rs]
INFO - Browse playlist Techno Room VLRDCLAK5uy_khFJzdpmtk0_MaUuWNgqYbNamuGV623kk: 1139ms [src/structures/performance.rs]
INFO - Browse playlist Deep House Deep Dive VLRDCLAK5uy_ln5QrejQxkRjfKqqrWPtxtAOjkGR2w1FI: 1144ms [src/structures/performance.rs]
INFO - Browse playlist Sweaty EDM Workout VLRDCLAK5uy_m-YJyz6cquN8dHWwbuwWJpoY7gC2dSaVo: 1153ms [src/structures/performance.rs]
INFO - Browse playlist My Mix 5 VLRDTMAK5uy_lfZhS7zmIcmUhsKtkWylKzc0EN0LW90-s: 1162ms [src/structures/performance.rs]
INFO - Browse playlist EDC Mexico 2024 Lineup VLRDCLAK5uy_k7ef6j9rkPJAHIXb4Yo_1sU4t6fiMWt4Y: 1219ms [src/structures/performance.rs]
INFO - Browse playlist My Mix 3 VLRDTMAK5uy_k5UUl0lmrrfrjMpsT0CoMpdcBz1ruAO1k: 1214ms [src/structures/performance.rs]
INFO - Browse playlist Feeling Epic EDM VLRDCLAK5uy_nBQm8_YpP--R6zU8p3dypKm1QKqzWY6qU: 1259ms [src/structures/performance.rs]
INFO - Browse playlist My Supermix VLRDTMAK5uy_kset8DisdE7LSD4TNjEVvrKRTmG7a56sY: 1260ms [src/structures/performance.rs]
INFO - Browse playlist '90s Dance VLRDCLAK5uy_ltlS29HmNHZb3oCsEjfXmZhIGaWpaDZck: 1261ms [src/structures/performance.rs]
INFO - Browse playlist Trance Deep Dive VLRDCLAK5uy_ly_AXtK47X3yXEDDeUjaIZ-uPyrTQ9vRE: 1309ms [src/structures/performance.rs]
INFO - Browse playlist My Mix 1 VLRDTMAK5uy_nGQKSMIkpr4o9VI_2i56pkGliD6FQRo50: 1335ms [src/structures/performance.rs]
INFO - Browse playlist Lofi Loft VLRDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM: 1360ms [src/structures/performance.rs]
INFO - Browse playlist Summer House VLRDCLAK5uy_ll4D8yhbz6dYK6YjLF5p0MJHX4J-hgGJw: 1384ms [src/structures/performance.rs]
INFO - Browse playlist Epic EDM VLRDCLAK5uy_k1YZQSV3BiZVKj-vZbGJsJoNLc6LxLJV8: 1439ms [src/structures/performance.rs]
INFO - Browse playlist Tech House Heat 2024 VLRDCLAK5uy_lGiQTUU4XxGV7l9L5YJ3sV0zomDirmZTM: 1556ms [src/structures/performance.rs]
INFO - Browse playlist Trance & Progressive 2024 VLRDCLAK5uy_n-yE4nMyeF6YgTQscr--yzCqcyxZeZlJ4: 1786ms [src/structures/performance.rs]
INFO - Browse playlist Dance Hits VLRDCLAK5uy_k6PkYWus1Mt-aKrbb0Ne8SkA2BgAk1Yy4: 1852ms [src/structures/performance.rs]
INFO - Browse playlist Ultra Music Festival 2024 Lineup VLRDCLAK5uy_nfjzC9YC1NVPPZHvdoAtKVBOILMDOuxOs: 1965ms [src/structures/performance.rs]
INFO - Browse playlist House Music 2024 VLRDCLAK5uy_kLwgLlrxA4-_EchctXgTyHR4rwRaRv1wk: 2045ms [src/structures/performance.rs]
INFO - Browse playlist My Mix 4 VLRDTMAK5uy_nTsa0Irmcu2li2-qHBoZxtrpG9HuC3k_Q: 2135ms [src/structures/performance.rs]
ERROR - Error downloading aP2DDmoDUko: Download Error: Downloaded file is not the same size as the content length (0/3362772) [src/tasks/download.rs]
ERROR - Error downloading _nn-_bEOoDA: Download Error: Downloaded file is not the same size as the content length (0/3916527) [src/tasks/download.rs]
ERROR - Error downloading 039uT1Tg2N0: Download Error: Downloaded file is not the same size as the content length (0/4938057) [src/tasks/download.rs]
ERROR - Error downloading 3dC7RUJi8mM: Download Error: Downloaded file is not the same size as the content length (0/3562494) [src/tasks/download.rs]
ERROR - Error downloading 2BSweF7dnb4: Download Error: Downloaded file is not the same size as the content length (0/3553841) [src/tasks/download.rs]
ERROR - Error downloading kE0unyetlBw: Download Error: Downloaded file is not the same size as the content length (0/3613083) [src/tasks/download.rs]
ERROR - Error downloading udHq9Mg14Os: Download Error: Downloaded file is not the same size as the content length (0/2915024) [src/tasks/download.rs]
ERROR - Error downloading n-fhgB9b8uw: Download Error: Downloaded file is not the same size as the content length (0/3645896) [src/tasks/download.rs]
ERROR - Error downloading aSKSwTX1F_8: Download Error: Downloaded file is not the same size as the content length (0/4041682) [src/tasks/download.rs]
ERROR - Error downloading K1xaFAfPygw: Download Error: Downloaded file is not the same size as the content length (0/60589136) [src/tasks/download.rs]
ERROR - Error downloading 1dIO-TgRUco: Download Error: Downloaded file is not the same size as the content length (0/3300531) [src/tasks/download.rs]
ERROR - Error downloading st_fqD0ylcA: Download Error: Downloaded file is not the same size as the content length (0/3869552) [src/tasks/download.rs]
ERROR - Error downloading ZSM2naTDM5g: Download Error: Downloaded file is not the same size as the content length (0/3216302) [src/tasks/download.rs]
ERROR - Error downloading EavLHRaN_ao: Download Error: Downloaded file is not the same size as the content length (0/4436383) [src/tasks/download.rs]
ERROR - Error downloading vxhsmUWM9-c: Download Error: Downloaded file is not the same size as the content length (0/3488687) [src/tasks/download.rs]
ERROR - Error downloading 16EKHjm5xDY: Download Error: Downloaded file is not the same size as the content length (0/3477681) [src/tasks/download.rs]
ERROR - Error downloading gFbYjQ0DxbY: Download Error: Downloaded file is not the same size as the content length (0/8176374) [src/tasks/download.rs]

`

@diegodorado
Copy link

me too, compiled from sources

ERROR - Error downloading LLw2GdqS2fY: Download Error: Downloaded file is not the same size as the content length (0/4220729)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants