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

Failed to download some files. #9

Closed
pikach0o opened this issue Oct 14, 2023 · 5 comments
Closed

Failed to download some files. #9

pikach0o opened this issue Oct 14, 2023 · 5 comments

Comments

@pikach0o
Copy link

For some reason download is failed with the Linux package in Debian 9.
Downloaded fine with Linux package in WSL, and with Windows package in Win11.
Other smaller items successfully downloaded.

error displayed:
Error: json: cannot unmarshal number 3436873471 into Go struct field ResponseFileInfo.bandwidth_used of type int

https://pixeldrain.com/l/MN5CyAyT#item=1 >> https://pixeldrain.com/u/Wpggfbtp
https://pixeldrain.com/l/MN5CyAyT#item=3 >> https://pixeldrain.com/u/8r2cfLKM

@Fornax96
Copy link

I think you're running a 32 bit executable. 32 bit ints can only hold file sizes up to 2 GiB. Try installing a 64 bit release.

Ideally all ints from the API should be saved as int64.

@ManuelReschke
Copy link
Owner

I will change all to int64 and push a fix soon as possible.

@ManuelReschke
Copy link
Owner

@ManuelReschke
Copy link
Owner

@pikach0o can you confirm that it work?

@pikach0o
Copy link
Author

@pikach0o can you confirm that it work?

Sorry for the late reply.
I confirm that version 1.4.1 linux_386 works in my vps, with those two files.

Thank you for the fix.

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