Bug 427139

Summary: Package Manager crash customizing the software components.
Product: [Fedora] Fedora Reporter: Jose Pena <jo_andp>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8CC: james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-01 15:22:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Pirut bug. none

Description Jose Pena 2008-01-01 03:09:28 UTC
Component: pirut
Summary: TB91835f44 GroupSelector.py:211:_pkgToggled:TypeError:
GtkTreeModel.get_iter_from_string() argument 1 must be string, not tuple

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 208, in
_rowToggle
    self._pkgToggled(None, path)
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 211, in
_pkgToggled
    i = self.pkgstore.get_iter_from_string(path)
TypeError: GtkTreeModel.get_iter_from_string() argument 1 must be string, not tuple

Local variables in innermost frame:
path: (11,)
widget: None
self: <pirut.GroupSelector.OptionalPackageSelector instance at 0x86e3f80>



Description of problem:
 
The problem happens when you trying to customize the packages in the
installation, and when you try to see the optional packages in the Package
Manager, at the begin of this comment is the output the the crashed software. 

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

Package Manager, in Fedora 8 x86-64.

Comment 1 Jose Pena 2008-01-01 03:09:28 UTC
Created attachment 290600 [details]
Pirut bug.

Comment 2 Jose Pena 2008-01-01 03:16:38 UTC
The bug happens again like a problem when the optional packages, its like a
casting problem to a string data type, espected by a function named:
GtkTreeModel.get_iter_from_string() 

Please when the problem is solved advise me. Best regards.

Component: pirut
Summary: TB91835f44 GroupSelector.py:211:_pkgToggled:TypeError:
GtkTreeModel.get_iter_from_string() argument 1 must be string, not tuple

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 208, in
_rowToggle
    self._pkgToggled(None, path)
  File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 211, in
_pkgToggled
    i = self.pkgstore.get_iter_from_string(path)
TypeError: GtkTreeModel.get_iter_from_string() argument 1 must be string, not tuple

Local variables in innermost frame:
path: (2,)
widget: None
self: <pirut.GroupSelector.OptionalPackageSelector instance at 0x4ca45f0>


Comment 3 Jeremy Katz 2008-01-01 15:22:24 UTC

*** This bug has been marked as a duplicate of 336791 ***