Bug 221709 - system-config-package crashes after starting and selecting choosing 'list'
Summary: system-config-package crashes after starting and selecting choosing 'list'
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-packages
Version: 5.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-06 14:45 UTC by ca
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-09 18:55:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ca 2007-01-06 14:45:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3

Description of problem:
The following dump is generated:

Component: Software Manager
Summary: TB3bfa8c03 PackageList.py:108:addPackage:AttributeError: YumAvailablePa
ckageSqlite instance has no attribute 'returnPackageTuple'

Traceback (most recent call last):
  File "/usr/sbin/system-config-packages", line 211, in _showList
    plist.addPackage(po, SHOW_AVAIL)
  File "/usr/lib/python2.4/site-packages/pirut/PackageList.py", line 108, in add
Package
    if apply(self.ayum.tsInfo.matchNaevr, po.returnPackageTuple()):
AttributeError: YumAvailablePackageSqlite instance has no attribute 'returnPacka
geTuple'

Local variables in innermost frame:
self: <PirutPackageList object (pirut+PackageList+PirutPackageList) at 0x8e3a3ec
>
type: 2
po: yum-updatesd - 3.0-5.4.noarch


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


How reproducible:
Always


Steps to Reproduce:
1. Launch system-config-packages
2. Click on List button
3.

Actual Results:
Exception Windows Appears and application terminates

Expected Results:
List packages

Additional info:

Comment 1 Jeremy Katz 2007-01-08 19:06:42 UTC
What's the output of 'rpm -q pirut'?

Comment 2 ca 2007-01-09 00:11:28 UTC
pirut-1.1.8-1

Also, I have tried rpm --updatedb (after mv the __db.* files)



Comment 3 ca 2007-01-09 00:21:32 UTC
Jeremy, I downloaded the pirut package and manually installed it (via rpm -U)
and that fixed the issue. Thanks.




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