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 352541 - beagle-live handler causes error on query
beagle-live handler causes error on query
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
: 352820 353759 354189 354425 354427 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-23 13:43 UTC by Raphael Slinckx
Modified: 2006-09-05 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Raphael Slinckx 2006-08-23 13:43:27 UTC
+++ This bug was initially created as a clone of Bug #349196 +++

If I activate the beagle-live handler, then every time I do a query in deskbar I get the following error:

Traceback (most recent call last):
  • File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 104 in <lambda>
    context.module.connect ('query-ready', lambda sender, qstring, matches: self.dispatch_matches([(qstring, match) for match in matches]))
  • File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 166 in dispatch_matches
    self.ui.append_matches (results)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/entriac/CuemiacEntryUI.py", line 157 in append_matches
    self.cuemiac.append_matches (matches)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacUIManager.py", line 187 in append_matches
    self.model.append (matches)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 90 in append
    self.__append (hit)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 99 in __append
    self.__create_category_with_match (match)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 117 in __create_category_with_match
    self.__append_match_to_iter (iter, match)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 142 in __append_match_to_iter
    self.append_method (self, iter, [match, match_obj.get_verb () % verbs])
KeyError: 'escaped_uri'

After this error occurred I removed the applet from my panel, then tried to add it again, upon which the "Add to panel" dialog frozen until I killed gnome-panel a couple of times. After this, it was back on the panel.

I've had this error occur where, if I do not terminate deskbar or deactivate beagle-live and continue to enter queries, beagled will eventually lock up and have to be killed. There are no problems with beagled otherwise. This behavior is intermittent and I could not duplicate it for this bug report.

I'm running gnome 2.15.90, deskbar-applet 2.15.90.1, beagle 0.2.7 (mono 1.1.16.1) on Gentoo AMD64.
Comment 1 Raphael Slinckx 2006-08-23 13:44:16 UTC
Also see part of the discussion on bug #349196
Comment 2 Raphael Slinckx 2006-08-23 13:53:02 UTC
I don't see how this error could happen ?

Maybe you could try to printout the value of self.result after line 196 in beale-live.py ?
Comment 3 Jose M. daLuz 2006-08-23 22:05:36 UTC
Here's a session with the print statements you requested prefixed by DEBUG:

$ /usr/lib64/deskbar-applet/deskbar-applet -w
Running installed deskbar, using [/usr/lib/python2.4/site-packages/deskbar:$PYTHONPATH]
Data Dir: /usr/share/deskbar-applet
Handlers Dir: ['/home/jdaluz/.gnome2/deskbar-applet/handlers', '/usr/lib64/deskbar-applet/handlers']
Binding Global shortcut <Alt>F3 to focus the deskbar

** (deskbar-applet:13985): WARNING **: Binding '<Alt>F3' failed!

Starting Deskbar instance: <gnome.applet.Applet object (PanelApplet) at 0x2b9d865a2a00> None
Set entry width: 20
Layout changed to 1
Set entry width: 20
Layout changed to 1
Changing UI to: Entriac
Loading module 'SSH' from file /home/jdaluz/.gnome2/deskbar-applet/handlers/ssh.py.
Loading module 'Gmail Search' from file /home/jdaluz/.gnome2/deskbar-applet/handlers/gmail-deskbar-hack.py.
Loading module 'Mail (Address Book)' from file /usr/lib64/deskbar-applet/handlers/evolution.py.
Loading module 'Google Search' from file /usr/lib64/deskbar-applet/handlers/google-live.py.
Loading module 'Files and Folders Search' from file /usr/lib64/deskbar-applet/handlers/programs.py.
Loading module 'Dictionary' from file /usr/lib64/deskbar-applet/handlers/programs.py.
Error:load_icon:Icon Load Error:Icon 'gdict' not present in theme (or Icon 'gdict' not present in theme)
Loading module 'Developer Documentation' from file /usr/lib64/deskbar-applet/handlers/programs.py.
Error:load_icon:Icon Load Error:Icon 'devhelp' not present in theme (or Icon 'devhelp' not present in theme)
Loading module 'Programs' from file /usr/lib64/deskbar-applet/handlers/programs.py.
Loading module 'Beagle' from file /usr/lib64/deskbar-applet/handlers/beagle-static.py.
Loading module 'Files, Folders and Places' from file /usr/lib64/deskbar-applet/handlers/files.py.
Loading module 'Beagle Live' from file /usr/lib64/deskbar-applet/handlers/beagle-live.py.
***
*** The file /usr/lib64/deskbar-applet/handlers/epiphany.py (EpiphanyBookmarksHandler) decided to not load itself: Epiphany is not your preferred browser, not using it.
***
Loading module 'History' from file /usr/lib64/deskbar-applet/handlers/history.py.
Loading module 'Yahoo! Search' from file /usr/lib64/deskbar-applet/handlers/yahoo.py.
Loading module 'Web Searches' from file /usr/lib64/deskbar-applet/handlers/mozilla.py.
Loading module 'Web History' from file /usr/lib64/deskbar-applet/handlers/mozilla.py.
Loading module 'Web Bookmarks' from file /usr/lib64/deskbar-applet/handlers/mozilla.py.
***
*** The file /usr/lib64/deskbar-applet/handlers/galago.py (GalagoHandler) decided to not load itself: Waiting for python bindings of galago. Should allow to send IM by typing name.
***
***
*** The file /usr/lib64/deskbar-applet/handlers/galeon.py (GaleonBookmarksHandler) decided to not load itself: Galeon is not your preferred browser, not using it.
***
Loading module 'Computer Actions' from file /usr/lib64/deskbar-applet/handlers/gdmactions.py.
Loading module 'del.icio.us Bookmarks' from file /usr/lib64/deskbar-applet/handlers/desklicious.py.
Loading module 'Web' from file /usr/lib64/deskbar-applet/handlers/web_address.py.
Loading module 'Window Switcher' from file /usr/lib64/deskbar-applet/handlers/iswitch-window.py.
Initializing History
Initializing Web
Initializing Web History
Initializing Web Bookmarks
Initializing Web Searches
Initializing Beagle
Initializing Programs

(deskbar-applet:13985): Gnome-WARNING **: gnome-program.c:1015: Directory properties not set correctly.  Cannot locate application specific files.

(deskbar-applet:13985): Gnome-WARNING **: gnome-program.c:1015: Directory properties not set correctly.  Cannot locate application specific files.

(deskbar-applet:13985): Gnome-WARNING **: gnome-program.c:1015: Directory properties not set correctly.  Cannot locate application specific files.

(deskbar-applet:13985): Gnome-WARNING **: gnome-program.c:1015: Directory properties not set correctly.  Cannot locate application specific files.
Initializing Window Switcher
Initializing Files, Folders and Places
Initializing Gmail Search
Initializing Computer Actions
Initializing Google Search
Initializing Beagle Live
DEBUG:  {'snippet': "\n<span foreground='grey' size='small'>programs. In 1975, science fiction writer John Brunner had written about such programs ... book The Shockwave Rider. PARC researchers John F. Shoch and Jon A. Hupp ... in, started at IBM in 1975. John Cocke, who is regarded as the ... In the fall of 1990, Timothy John \xe2\x80\x9cTim\xe2\x80\x9d Berners-Lee at CERN created the ... </span>", 'type': 'File', 'uri': 'file:///home/jdaluz/Desktop/Current%20Stuff/macosxinternals-singh-1.pdf', 'name': 'macosxinternals-singh-1.pdf'}
DEBUG:  {'snippet': '', 'type': 'WebHistory', 'uri': 'http://en.wikipedia.org/wiki/Sinestro', 'name': 'Sinestro - Wikipedia, the free encyclopedia'}
Traceback (most recent call last):
  • File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 104 in <lambda>
    context.module.connect ('query-ready', lambda sender, qstring, matches: self.dispatch_matches([(qstring, match) for match in matches]))
  • File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 166 in dispatch_matches
    self.ui.append_matches (results)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/entriac/CuemiacEntryUI.py", line 157 in append_matches
    self.cuemiac.append_matches (matches)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacUIManager.py", line 187 in append_matches
    self.model.append (matches)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 90 in append
    self.__append (hit)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 99 in __append
    self.__create_category_with_match (match)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 117 in __create_category_with_match
    self.__append_match_to_iter (iter, match)
  • File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 142 in __append_match_to_iter
    self.append_method (self, iter, [match, match_obj.get_verb () % verbs])
KeyError: 'escaped_uri'
Query Gmail for: john
Query google for: john
Error:GMail handler:login(): <urlopen error (-2, 'Name or service not known')>
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib64/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "//usr/lib64/python2.4/site-packages/deskbar/Handler.py", line 297, in __query_async
    self.__query_async (query_change.new_query)
  File "//usr/lib64/python2.4/site-packages/deskbar/Handler.py", line 287, in __query_async
    res = self.query (qstring)
  File "//usr/lib64/deskbar-applet/handlers/google-live.py", line 125, in query
    "utf-8", "utf-8") # input/output encodings
  File "/usr/lib64/python2.4/site-packages/SOAPpy/Client.py", line 453, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib64/python2.4/site-packages/SOAPpy/Client.py", line 475, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib64/python2.4/site-packages/SOAPpy/Client.py", line 347, in __call
    config = self.config)
  File "/usr/lib64/python2.4/site-packages/SOAPpy/Client.py", line 187, in call
    r.endheaders()
  File "/usr/lib64/python2.4/httplib.py", line 798, in endheaders
    self._send_output()
  File "/usr/lib64/python2.4/httplib.py", line 679, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.4/httplib.py", line 646, in send
    self.connect()
  File "/usr/lib64/python2.4/httplib.py", line 614, in connect
    socket.SOCK_STREAM):
gaierror: (-3, 'Temporary failure in name resolution')

Query Gmail for: john cage
Error:GMail handler:login(): <urlopen error (-2, 'Name or service not known')>
DEBUG:  {'snippet': '', 'type': 'WebHistory', 'uri': 'http://cosmicvariance.com/', 'name': 'Cosmic Variance'}
Traceback (most recent call last):
  File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 104, in <lambda>
    context.module.connect ('query-ready', lambda sender, qstring, matches: self.dispatch_matches([(qstring, match) for match in matches]))
  File "//usr/lib64/python2.4/site-packages/deskbar/DeskbarApplet.py", line 166, in dispatch_matches
    self.ui.append_matches (results)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/entriac/CuemiacEntryUI.py", line 157, in append_matches
    self.cuemiac.append_matches (matches)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacUIManager.py", line 187, in append_matches
    self.model.append (matches)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 90, in append
    self.__append (hit)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 97, in __append
    self.__append_to_category (match)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 129, in __append_to_category
    self.__append_match_to_iter (cat.get_category_iter(), match)
  File "//usr/lib64/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacModel.py", line 142, in __append_match_to_iter
    self.append_method (self, iter, [match, match_obj.get_verb () % verbs])
KeyError: 'escaped_uri'
DEBUG:  {'snippet': '', 'sender': 'Jose daLuz', 'type': 'MailMessage', 'uri': 'mailbox:///home/jdaluz/.thunderbird/default.j2y/Mail/pop.theworld.com/Sent?number=630771#0', 'name': 'WHRB Orgy Season'}
DEBUG:  {'snippet': '', 'sender': 'Jose daLuz', 'type': 'MailMessage', 'uri': 'mailbox:///home/jdaluz/.thunderbird/default.j2y/Mail/pop.theworld.com/Sent?number=1446902#0', 'name': 'Stephen Drury/Summer Institute for Contemporary Piano Performance'}
DEBUG:  {'snippet': '', 'sender': 'Glenn Freeman', 'type': 'MailMessage', 'uri': 'mailbox:///home/jdaluz/.thunderbird/default.j2y/Mail/pop.theworld.com/Inbox?number=22515006', 'name': 'John Cage at eMusic'}
DEBUG:  {'snippet': '', 'sender': 'Joseph Zitt', 'type': 'MailMessage', 'uri': 'mailbox:///home/jdaluz/.thunderbird/default.j2y/Mail/pop.theworld.com/Inbox?number=27987638', 'name': 'Re: cage for idiots'}
DEBUG:  {'snippet': '', 'sender': '?', 'type': 'MailMessage', 'uri': 'mailbox:///home/jdaluz/.thunderbird/default.j2y/Mail/pop.theworld.com/Inbox?number=28004215', 'name': 'Re: cage for idiots  /  WNYC'}
DEBUG:  {'snippet': '', 'type': 'File', 'uri': 'file:///usr/share/doc/howto/html/AI-Alife-HOWTO-5.html', 'name': 'AI-Alife-HOWTO-5.html'}
WARNING: Beagle live seen an unknown type: DocbookEntry
WARNING: Beagle live seen an unknown type: DocbookEntry

(deskbar-applet:13985): Bonobo-WARNING **: Never got frame, control died - abnormal exit condition

Comment 4 Raphael Slinckx 2006-08-29 15:07:49 UTC
*** Bug 352820 has been marked as a duplicate of this bug. ***
Comment 5 Raphael Slinckx 2006-08-29 15:28:51 UTC
I think i fixed that in CVS Head. If it's not the case please reopen this bug.

Thanks for the report and debug output !
Comment 6 Karsten Bräckelmann 2006-08-31 23:27:40 UTC
*** Bug 353759 has been marked as a duplicate of this bug. ***
Comment 7 Sergej Kotliar 2006-09-03 21:53:16 UTC
*** Bug 354189 has been marked as a duplicate of this bug. ***
Comment 8 Karsten Bräckelmann 2006-09-05 14:04:42 UTC
*** Bug 354425 has been marked as a duplicate of this bug. ***
Comment 9 Karsten Bräckelmann 2006-09-05 14:04:54 UTC
*** Bug 354427 has been marked as a duplicate of this bug. ***