Bug 730422

Summary: [abrt] abrt-addon-ccpp-2.0.3-1.fc15: abrt-action-install-debuginfo:172:updateProgress:TypeError: %d format: a number is required, not str
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dfediuck, dvlasenk, harald, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:906dec333e414cf378a911672cf7079164e36613
Fixed In Version: abrt-2.0.7-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-16 19:53:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Meyer 2011-08-12 20:49:15 UTC
abrt version: 2.0.3
architecture:   i686
cmdline:        /usr/bin/python -u /usr/bin/abrt-action-install-debuginfo --size_mb=4096
comment:        This error occurs everytime abrt tries to download a debuginfo file. I fixed the relevant python script manually to report this bug via abrt...
component:      abrt
executable:     /usr/bin/abrt-action-install-debuginfo
kernel:         3.0.1
os_release:     Fedora release 15 (Lovelock)
package:        abrt-addon-ccpp-2.0.3-1.fc15
reason:         abrt-action-install-debuginfo:172:updateProgress:TypeError: %d format: a number is required, not str
time:           Sat Aug  6 10:49:47 2011
uid:            491
username:       abrt

backtrace:
:abrt-action-install-debuginfo:172:updateProgress:TypeError: %d format: a number is required, not str
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1695, in _progress_update
:    self.opts.progress_obj.update(downloaded)
:  File "/usr/lib/python2.7/site-packages/yum/callbacks.py", line 91, in update
:    BaseMeter.update( self, amount_read, now )
:  File "/usr/lib/python2.7/site-packages/urlgrabber/progress.py", line 141, in update
:    self._do_update(amount_read, now)
:  File "/usr/lib/python2.7/site-packages/yum/callbacks.py", line 113, in _do_update
:    self.updateProgress(name,frac,fread,frtime)
:  File "/usr/bin/abrt-action-install-debuginfo", line 172, in updateProgress
:    % (self.downloaded_pkgs + 1, self.total_pkgs, name, pct)
:TypeError: %d format: a number is required, not str
:
:Local variables in innermost frame:
:frac: 0.9581119903888845
:name: 'gstreamer-plugins-good-debuginfo-0.10.29-1.fc15.i686.rpm'
:self: <__main__.MyDownloadCallback instance at 0x93e1eac>
:fread: '4.2 M'
:pct: 95
:ftime: '00:00'
:t: 1312620587.195344

Comment 1 Jiri Moskovcak 2011-11-03 09:20:26 UTC
*** Bug 728681 has been marked as a duplicate of this bug. ***

Comment 2 Jiri Moskovcak 2011-11-03 15:48:28 UTC
*** Bug 751125 has been marked as a duplicate of this bug. ***

Comment 3 Jiri Moskovcak 2011-11-30 16:22:53 UTC
Fixed in git (commit:28682377a79ca848570c2ea1d06a8d46983bca05)

Comment 4 Fedora Update System 2011-12-10 11:05:34 UTC
abrt-2.0.7-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/abrt-2.0.7-2.fc16

Comment 5 Fedora Update System 2011-12-11 21:57:06 UTC
Package abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.7-2.fc16 libreport-2.0.8-3.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16990/libreport-2.0.8-3.fc16,abrt-2.0.7-2.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-12-16 19:53:11 UTC
abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.