Bug 219008 - traceback due to python-2.5
Summary: traceback due to python-2.5
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-09 06:10 UTC by Deji Akingunola
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-11 19:10:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Deji Akingunola 2006-12-09 06:10:00 UTC
Description of problem:
I had just updated my rawhide system with yesterday's updates which include the
python-2.5 stuff. Now trying to run pirut, clicking on the 'List' tab produce
the following traceback.

>>
Component: Software Manager
Summary: TB6cffb9d0 __init__.py:169:simpleDBInstalled:TypeError: unknown key type

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 112, in _pageSwitch
    self.pageMap[num]()
  File "/usr/sbin/pirut", line 266, in _showListReal
    elif self.simpleDBInstalled(po.returnSimple('name')):
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 169, in
simpleDBInstalled
    mi = self.ts.ts.dbMatch('name', name)
TypeError: unknown key type

Local variables in innermost frame:
self: <__main__.PackageManager object at 0xf2f8d0>
name: a2ps
<<

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2006-12-11 19:10:09 UTC
rpm wasn't handling unicode objects as stirngs; fixed with rpm-4.4.2-38


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