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 523188 - Catch dbus exceptions
Catch dbus exceptions
Status: RESOLVED NOTABUG
Product: tracker
Classification: Core
Component: Applet / Search Bar
unspecified
Other All
: Normal minor
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks: 478758
 
 
Reported: 2008-03-18 15:04 UTC by Sebastian Pölsterl
Modified: 2009-01-05 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Pölsterl 2008-03-18 15:04:50 UTC
Please describe the problem:
Comment 27 in bug 478758 mentioned that he received an exception that went away when he disabled the tracker module.

Although, the error seems to appear only on some machines I think it's best to surround each D-Bus call with a try-except statement for dbus.exceptions.DBusException. That way the module will at least fail silently and don't bother the user.

Steps to reproduce:
No way to reproduce this reliably is known to me.

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ivan Frade 2009-01-05 12:46:50 UTC
I think this is not a bug in tracker, but in deskbar-applet. The try-except must be added in client side.

I close the bug as NOTABUG because i don't see any action to do in tracker.