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

some releases throw a "File name too long" error. #56

Open
thegass opened this issue Oct 24, 2024 · 0 comments · May be fixed by #57
Open

some releases throw a "File name too long" error. #56

thegass opened this issue Oct 24, 2024 · 0 comments · May be fixed by #57

Comments

@thegass
Copy link
Contributor

thegass commented Oct 24, 2024

I have a view releases in my collection that fail to download because of "File name too long"

Which limit is there kicking in? java or OS?

I use your tool on my linux system.

~ » lsb_release -a                                                                                                                                                                                        gass@area51
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble
~ » java --version                                                                                                                                                                                        gass@area51
openjdk 11.0.24 2024-07-16
OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu324.04.1)
OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu324.04.1, mixed mode, sharing)

target filesystem is xfs

/dev/sda1 on /media type xfs (rw,noatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)

this is one of the releases

https://dmttapes.bandcamp.com/album/promise-confirmation-fl-217

[pool-1-thread-1] Found release "Promise Confirmation // FL​​​​​​-​​​​​​217" (2024) by Love Ranger (Bandcamp ID: r307798166).
[pool-1-thread-1] Starting the download of "Promise Confirmation // FL​​​​​​-​​​​​​217" (2024) by Love Ranger.
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".
[pool-1-thread-1] Retrying (1/5).
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".
[pool-1-thread-1] Retrying (2/5).
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".
[pool-1-thread-1] Retrying (3/5).
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".
[pool-1-thread-1] Retrying (4/5).
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".
[pool-1-thread-1] Retrying (5/5).
[pool-1-thread-1] Error while trying: "java.nio.file.FileSystemException: /media/audio/music/bandcamp/new/Love Ranger/2024 - Promise Confirmation // FL​​​​​​-​​​​​​217: File name too long".

Manual Download & unzip is working fine

unzip -d Love\ Ranger\ -\ Promise\ Confirmation\ //\ FL____________________________________________ Love\ Ranger\ -\ Promise\ Confirmation\ //\ FL____________________________________________.zip
Archive:  Love Ranger - Promise Confirmation // FL____________________________________________.zip
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 01 From the Plain Unto the Mountain.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 02 Over Against Jericho.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 03 All the Land.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 04 Unto the Utmost Sea.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 05 I Will Give It Unto Thy Seed (He Saith Not, -And To Seeds-).flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 06 430+.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 07 I Have Caused Thee to See It.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 08 But Thou Shalt Not Go Over.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 09 So Moses the Servant of the Lord Died There in the Land of Moab, According to the Word of the Lord.flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/Love Ranger - Promise Confirmation // FL​​​​​​ - 10 And He Buried Him in a Valley (No Man Knoweth of His Sepulchre Unto This Day).flac
 extracting: Love Ranger - Promise Confirmation // FL____________________________________________/cover.png

@thegass thegass linked a pull request Oct 25, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant