wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wget2 | Floating Point Exception with Unknown-sized File (#674)


From: Pairman (@Pairman)
Subject: wget2 | Floating Point Exception with Unknown-sized File (#674)
Date: Thu, 18 Jul 2024 08:05:17 +0000


Pairman created an issue: https://gitlab.com/gnuwget/wget2/-/issues/674



When downloading from a URL a file whose size is unknown, wget2 will fail on 
start and throw "floating point exception":

```
$ wget --verbose 
https://github.com/rockdaboot/wget2/archive/refs/heads/master.zip
                          [htt]
                          [Fil]                      Floating point exception 
(core dumped)
```


The file is downloadable with wget1 or other tools (e.g. chrome or whatever 
browsers).

This error is probably due to unknown file size being divided when calculating 
the progress percentage. Any URL like 
"https://github.com/<owner_name>/<repo_name>/refs/heads/<tag_name>.zip" 
triggers this since all of them have unknown file size at download time.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/674
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]