Can't download album ending in '...'
RollingStar opened this issue · comments
https://strawberry3000.bandcamp.com/album/invitation-to
java -jar bandcamp-collection-downloader.jar -f flac -j 1 myusername
Managing item 2/2
Found release "invitation to..." (2017) by Strawberry 3000 (Bandcamp ID: r96591444).
Starting the download of "invitation to..." (2017) by Strawberry 3000.
Error while trying: "java.lang.NullPointerException: null".
Retrying (1/3).
Error while trying: "java.lang.NullPointerException: null".
Retrying (2/3).
Error while trying: "java.lang.NullPointerException: null".
Retrying (3/3).
Error while trying: "java.lang.NullPointerException: null".
Could not download item: Could not perform task after 3 retries.
Windows 10 powershell. Also fails on cmder. I notice some unicode weirdness in both terminals, but writing out ex. japanese characters seems fine on the filesystem itself.
I ran out of disk space when I ran the full batch so maybe there's an error with that somehow.
\bandcamp\Strawberry 3000\2017 - invitation to
That's the folder created. Empty inside. Possibly related to #6 . Using latest compiled release from gitlab.
Likely hitting this issue: https://framagit.org/Ezwen/bandcamp-collection-downloader/-/issues/34
Basically, Windows (using NTFS filesystem) doesn't like folders that end with periods (which invitation to...
does). Windows silently drops the periods, but the tool fails the download because it tries to save to a directory with periods.
There's a PR over on framagit that maybe fixes this for you: https://framagit.org/Ezwen/bandcamp-collection-downloader/-/merge_requests/4
Not the most elegant solution, but I just added a - at the end of it, to avoid this issue with trailing dots and spaces.