Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9924 - wget is aborted on http downloading

Attached to Project: Arch Linux
Opened by Andrey Gusev (metal) - Sunday, 23 March 2008, 23:43 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 25 March 2008, 15:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: wget is aborted on http downloading. It is seems, I already had met this, but I don't sure. Example:

[code]
bash-3.2$ wget http://abuki.info/go/http://downloads.abuki.info/Kafka%20F./%28abook-club.ru%29Kafka_Zamok.rar
--2008-03-24 02:16:55-- http://abuki.info/go/http://downloads.abuki.info/Kafka%20F./%28abook-club.ru%29Kafka_Zamok.rar
Распознаётся abuki.info... 83.222.9.15
Устанавливается соединение с abuki.info|83.222.9.15|:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 301 Moved Permanently
Адрес: http://downloads.abuki.info/Kafka%20F./(abook-club.ru)Kafka_Zamok.rar [переход]
--2008-03-24 02:16:56-- http://downloads.abuki.info/Kafka%20F./(abook-club.ru)Kafka_Zamok.rar
Распознаётся downloads.abuki.info... 83.222.9.16
Устанавливается соединение с downloads.abuki.info|83.222.9.16|:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 1206922956 (1,1G) [application/octet-stream]
Сохраняется в каталог: `(abook-club.ru)Kafka_Zamok.rar'.

0% [ ] 77 760 25,9K/s wget: progress.c:972: create_image: Проверочное утверждение `p - bp->buffer <= bp->width' не выполнено.
Аварийный останов
[/code]

I try to translate in english this log.

[code]
bash-3.2$ wget http://abuki.info/go/http://downloads.abuki.info/Kafka%20F./%28abook-club.ru%29Kafka_Zamok.rar
--2008-03-24 02:16:55-- http://abuki.info/go/http://downloads.abuki.info/Kafka%20F./%28abook-club.ru%29Kafka_Zamok.rar
Resolving abuki.info... 83.222.9.15
Make connection with abuki.info|83.222.9.15|:80... is connected.
Send HTTP query, wait answer... 301 Moved Permanently
Адрес: http://downloads.abuki.info/Kafka%20F./(abook-club.ru)Kafka_Zamok.rar [move]
--2008-03-24 02:16:56-- http://downloads.abuki.info/Kafka%20F./(abook-club.ru)Kafka_Zamok.rar
Resolving downloads.abuki.info... 83.222.9.16
Make connection wtih downloads.abuki.info|83.222.9.16|:80... is connected.
Send HTTP query, wait answer... 200 OK
Size: 1206922956 (1,1G) [application/octet-stream]
Is saved in directory: `(abook-club.ru)Kafka_Zamok.rar'.

0% [ ] 77 760 25,9K/s wget: progress.c:972: create_image: checking expression `p - bp->buffer <= bp->width' Wasn't done.
Aborted
[/code]

I tried wget http://ftp.gnu.org/gnu/wget/wget-1.10.1.tar.gz It is downloaded ok. I think "301 Moved Permanently" is key for reproducing this error.

Additional info:
* package version(s)
1.11-1
* config and/or log files etc.
See below.

Steps to reproduce:
1) try:
wget http://abuki.info/go/http://downloads.abuki.info/Kafka%20F./%28abook-club.ru%29Kafka_Zamok.rar
I don't sure this link is ok long time.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Tuesday, 25 March 2008, 15:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed upstream
Comment by Jan de Groot (JGC) - Monday, 24 March 2008, 00:14 GMT
Hmm, it's a known bug. It's the wget progress indicator that aborts because you're using a multibyte locale. try getting the file with "LANG=C wget [url]"
Comment by Jan de Groot (JGC) - Monday, 24 March 2008, 00:17 GMT
It's a duplicate of this one, and I don't like the fix mentioned in there (if we accept this fix, it should be fixed in the package, not on the users' system)
http://bugs.archlinux.org/task/9531
Comment by Andrey Gusev (metal) - Monday, 24 March 2008, 17:43 GMT
I offer a patch to solve this bug. If it is ok, it may include in package.
Comment by Jan de Groot (JGC) - Monday, 24 March 2008, 19:09 GMT
Where did you get this patch? I see there's some upstream work on solving this issue for 1.11.1, did you combine all the commits for this bug from the upstream hg repository?
Comment by Andrey Gusev (metal) - Monday, 24 March 2008, 19:41 GMT
I wrote it. It would to get current tree from upstream:( I got last release, it wasn't smart.
Comment by Andrey Gusev (metal) - Tuesday, 25 March 2008, 09:26 GMT
Upstream is further ahead, so this patch useful only for this version
Comment by Jan de Groot (JGC) - Tuesday, 25 March 2008, 10:08 GMT
Upstream released 1.11.1 today, which fixes this issue.

Loading...