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

Can't download album ending in '...' #32

Open
RollingStar opened this issue Mar 13, 2022 · 2 comments
Open

Can't download album ending in '...' #32

RollingStar opened this issue Mar 13, 2022 · 2 comments

Comments

@RollingStar
Copy link

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.

@sixty4k
Copy link
Contributor

sixty4k commented Aug 3, 2023

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

@treloret
Copy link

Not the most elegant solution, but I just added a - at the end of it, to avoid this issue with trailing dots and spaces.

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

3 participants