After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333069 - Python exception when no search extension is loaded
Python exception when no search extension is loaded
Status: RESOLVED DUPLICATE of bug 332141
Product: deskbar-applet
Classification: Deprecated
Component: general
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-03-02 00:06 UTC by Daniel Holbach
Modified: 2006-03-03 11:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2006-03-02 00:06:55 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/deskbar-applet/+bug/33317

Deskbar applet throws python exception when no search extension is loaded:

Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/deskbar/ui/entriac/CuemiacEntryUI.py", line 347 in on_entry_activate
    while (not self.model.iter_has_child(iter)) or (not self.cview.row_expanded(self.model.get_path(iter))):
TypeError: iter should be a GtkTreeIter

Steps to reproduce:

1. In deskbar preferences deselect everything in 'Loaded extensions' list 2. Type anything in deskbar-applet entry, press enter
Comment 1 Daniel Holbach 2006-03-02 01:06:49 UTC
Another bug report we received show a similar backtrace but exposed by a different use case:

I have the "Files and Folders" extension in deskbar-applet enabled, and if I type "~" or "~username" I don't receive a suggestion to open it.

Moreover, when I hit <enter> when a "~" or "~/" is in the deskbar, a nice error is reported:

Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/deskbar/ui/entriac/CuemiacEntryUI.py", line 343 in on_entry_activate
    while (not self.model.iter_has_child(iter)) or (not self.cview.row_expanded(self.model.get_path(iter))):
TypeError: iter should be a GtkTreeIter

Comment 2 Raphael Slinckx 2006-03-02 09:02:35 UTC
The main issue is fixed in CVS already, see #332141
The "~" issue will be fixed..

*** This bug has been marked as a duplicate of 332141 ***
Comment 3 milouny 2006-03-03 11:39:17 UTC
Nice. By the way, when just a space is entered in deskbar-applet, the same error occurs. Ugly ;)

With a dot or a minus-sign, in my case, the beagle search tool is called, which seems... reasonable.