Red Hat Bugzilla – Bug 202536
pirut crashes when switching from List view to Search view
Last modified: 2007-11-30 17:11:40 EST
Description of problem:
Rawhide, current as of ~1200 UTC, 2006-08-14. pirut crashes when switching from
the List view to the Search view.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run pirut.
2. Select List view. Wait for parser to finish normally.
3. Select Search view.
A proper list view.
Bug reporter generates the following output. I am just learning Python so I
restarted once from a terminal and tried "Debug" just to see if I could learn
anything -- to no avail of course. :-) But I *do* know (or *think* I know) that
the self.xml.get_widget("packageListTree") is probably expected to return a
gtk.Widget, right? Maybe this is an incorrect widget label? Aww, listen to me
jawin' like I know somethin'. What a swelled-head. Pay me no mind, here's the
- - - - -
Component: Software Manager
Summary: TB969e4b0d PackageList.py:137:grab_focus:AttributeError: 'NoneType'
object has no attribute 'grab_focus'
Traceback (most recent call last):
File "/usr/sbin/pirut", line 230, in _showList
File "/usr/lib/python2.4/site-packages/pirut/PackageList.py", line 137, in
AttributeError: 'NoneType' object has no attribute 'grab_focus'
Local variables in innermost frame:
self: <PirutPackageList object (pirut+PackageList+PirutPackageList) at 0xa15d5f4>
- - - - -
I can't reproduce this, but committed something which should hopefully avoid it
being a problem