After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 559759 - Zenity progress do not show progress and download speed
Zenity progress do not show progress and download speed
Status: RESOLVED INVALID
Product: zenity
Classification: Core
Component: general
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-07 14:44 UTC by Pedro Villavicencio
Modified: 2010-01-17 22:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pedro Villavicencio 2008-11-07 14:44:30 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/zenity/+bug/294498

"I am piping a download progress using below script:

wget -nd -c --read-timeout=300 --retry-connrefused --header "Accept-Encoding: gzip,deflate" http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ \+\([0-9.]\+\ [KMB\/s]\+\)$/\1\n# Downloading \2/' | zenity --progress --auto-close --title="Downloading File..."

It works on GNOME 2.22, but not on 2.24.
"

Thanks,
Comment 1 Andreas Köhler 2010-01-17 22:23:33 UTC
"""
Thank you for your feedback and you are right. After I downgrade to wget 1.10.2, it works. So I edited the script as follow:

wget -nd -c --read-timeout=300 --retry-connrefused --header "Accept-Encoding: gzip,deflate" http://www.tartet.com/target_file 2>&1 | sed -u 's/.*\ \([0-9]\+%\)\ /\1\n# Downloading /' | zenity --progress --auto-close --title="Downloading File..."

The new script works with both wget 1.10.2 and the new one (wget 1.11.4).
"""

Closing as INVALID.