Wget make progress of download print several lines

Bug #505389 reported by crashvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wget (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: wget

I'm experiencing a strange problem in GNU Wget 1.11.4.
When I do a download it show many progress bars. See this image, please.
http://i46.tinypic.com/2l9iki0.png

I'm using the version that was translated to Brazilian Portuguese.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 1a88f2462e9fa263661afea1e5a6e129
CheckboxSystem: c69722ecac764861be52925fa50b4dcc
Date: Sun Jan 10 03:32:49 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: wget 1.11.4-2ubuntu2
ProcEnviron:
 LANGUAGE=pt_BR.UTF-8
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: wget
Uname: Linux 2.6.31-17-generic i686

Revision history for this message
crashvk (dsantos-lncc) wrote :
Revision history for this message
crashvk (dsantos-lncc) wrote :

This image shows the problem.

Revision history for this message
Micah Cowan (micahcowan) wrote :

Confirmed. Installed language-pack-pt and set environment to match reporter's, saw the same problem.

The issue is a translation one... sort of. The wget source that deals with the progress bar is poorly written (I'm the upstream Wget maintainer, but didn't write that part), and assumes that the translation for "ETA" will only be about three characters. So when it's replaced by a sufficiently long string, like "tempo estimado", it writes longer than a single line, which screws up the display.

The original upstream wget-1.11.4 has no translation for that string (it's empty), so this must be an issue specific to Debian or Ubuntu.

The core issue is really wget's poor handling of the translation (though that is a long string to appear in the progress), but the most straightforward solution would be to file a translation issue (it's a separate area from "bugs"), and link this to that. Probably leave this one open until the other's resolved, but I'm not really sure.

Changed in wget (Ubuntu):
status: New → Confirmed
Andreas Olsson (andol)
Changed in wget (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.