Red Hat Bugzilla – Bug 281591
pirut crashes when adding many files
Last modified: 2007-11-30 17:12:15 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:188.8.131.52) Gecko/20070718 Fedora/184.108.40.206-1.fc7 Firefox/220.127.116.11
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):
Steps to Reproduce:
Pirut should have completed normally.
I was successful in using pirut to add the files I needed by adding the files from one (left pane) menu at a time.
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>
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__
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 223, in reset
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 64, in doTsSetup
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 78, in _getTs
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
File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 336, in
File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 794, in
cur = cache.cursor()
AttributeError: 'NoneType' object has no attribute 'cursor'
Local variables in innermost frame:
archlist: ["'x86_64'", "'athlon'", "'i686'", "'i586'", "'i486'", "'i386'",
self: <yum.sqlitesack.YumSqlitePackageSack object at 0xfbc750>
What versions of yum and pirut was this with?
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.