[Yum-devel] urlgrabber text_meter_total_size
James Antill
james at fedoraproject.org
Wed Mar 24 19:08:47 UTC 2010
On Wed, 2010-03-24 at 09:46 -0700, Aaron Brice wrote:
> Installed yum 3.2.27 and urlgrabber 3.1.0 and have a problem:
>
> File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1348, in
> _commonRetrieveDataMD
> AttributeError: 'module' object has no attribute 'text_meter_total_size'
>
> It's referring to a call to
> urlgrabber.progress.text_meter_total_size() which does not seem to
> exist in urlgrabber 3.1.0.
This is kind of a bug, you can apply the obvious fix from __init__
(just search for text_meter_total_size there). However it's worth noting
that yum in Fedora/RHEL/etc. hasn't used a plain upstream urlgrabber
3.1.0 in a long time, so it will act differently (Eg. no
terminal_width_cached either).
> Which version of urlgrabber is yum 3.2.27
> tested against, and where can I find it? The urlgrabber-related pages
> at linux.duke.edu do not seem to be there anymore..
As Seth said, you almost certainly want the latest urlgrabber from
Fedora ... the one from F12 should be fine (and certainly the pycurl
from F12 should be fine).
--
James Antill - james at fedoraproject.org
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.27
http://yum.baseurl.org/wiki/YumMultipleMachineCaching
More information about the Yum-devel
mailing list