Bug 850913 - AttributeError: _YumPreRepoConf instance has no attribute 'multi_progressbar'
Summary: AttributeError: _YumPreRepoConf instance has no attribute 'multi_progressbar'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-22 17:26 UTC by Richard W.M. Jones
Modified: 2014-01-21 23:23 UTC (History)
5 users (show)

Fixed In Version: yum-3.4.3-34.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-23 08:14:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
yumtest.py (249 bytes, text/x-python)
2012-08-22 17:26 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2012-08-22 17:26:09 UTC
Created attachment 606352 [details]
yumtest.py

Description of problem:

yum script that previously worked now breaks with the error:

Traceback (most recent call last):
  File "<string>", line 24, in <module>
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 777, in _getSacks
    self.repos.getPackageSack().setCompatArchs(archdict)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1010, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 688, in _getRepos
    prerepoconf.multi_progressbar)
AttributeError: _YumPreRepoConf instance has no attribute 'multi_progressbar'

A reproducer script is attached.

Version-Release number of selected component (if applicable):

yum 3.4.3-33.fc19

How reproducible:

100%

Steps to Reproduce:
1. Save the attached script to a file
2. Run: python yumtest.pl


Note You need to log in before you can comment on or make changes to this bug.