From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5 Description of problem: I did a new install of F7 with a minimum number of packages (because so many need updating anyway). I used pirut to try to add all of the packages that I thought I'd need. It crashed, but I don't recall whether it was when I pressed "Apply" or when I approved the additional packages needed. Version-Release number of selected component (if applicable): pirut-1.3.9 How reproducible: Didn't try Steps to Reproduce: 1.See description 2. 3. Actual Results: Expected Results: Pirut should have completed normally. Additional info: I was successful in using pirut to add the files I needed by adding the files from one (left pane) menu at a time.
Component: pirut Summary: TB6ea86385 sqlitesack.py:794:excludeArchs:AttributeError: 'NoneType' object has no attribute 'cursor' Traceback (most recent call last): File "/usr/sbin/pirut", line 441, in <module> main() File "/usr/sbin/pirut", line 434, in main pm = PackageManager(options.config, options.onlyrepo) File "/usr/sbin/pirut", line 61, in __init__ GraphicalYumBase.__init__(self, False, config) File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 124, in __init__ self.reset() File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 223, in reset self.doTsSetup() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 64, in doTsSetup return self._getTs() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 78, in _getTs self._tsInfo.setDatabases(self.rpmdb, self.pkgSack) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 517, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 382, in _getSacks self._pkgSack.excludeArchs(archlist) File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 336, in excludeArchs sack.excludeArchs(archlist) File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 794, in excludeArchs cur = cache.cursor() AttributeError: 'NoneType' object has no attribute 'cursor' Local variables in innermost frame: arch_query: ('x86_64','athlon','i686','i586','i486','i386','noarch') archlist: ["'x86_64'", "'athlon'", "'i686'", "'i586'", "'i486'", "'i386'", "'noarch'"] rep: fedora cache: None self: <yum.sqlitesack.YumSqlitePackageSack object at 0xfbc750>
What versions of yum and pirut was this with?
yum-3.2.4 pirut-1.3.9
This is fixed in CVS and will be in the update that will be getting pushed for Fedora 7 within the next week or two.