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 571573 - Tracker's deskbar module has incorrect import
Tracker's deskbar module has incorrect import
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Search Tool
0.6.6
Other All
: Normal normal
: ---
Assigned To: tracker-search-tool
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2009-02-13 00:39 UTC by Michel Alexandre Salim
Modified: 2009-03-06 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for tracker-module.py (435 bytes, patch)
2009-02-13 00:40 UTC, Michel Alexandre Salim
committed Details | Review

Description Michel Alexandre Salim 2009-02-13 00:39:42 UTC
Please describe the problem:
Tracker's deskbar module imports deskbar.core.gnomedesktop, which does not exist, rather than simply gnomedesktop. This causes it to throw an ImportError, and thus it is not even listed when configuring Deskbar's modules.

Steps to reproduce:
1. Install tracker-search-tool and deskbar-applet
2. Run deskbar from the command line
3. Notice the import error
4. Configure deskbar. No Tracker.

Actual results:
ImportError when Deskbar attempts to check available modules; in step 4, Tracker is not listed

Expected results:
Should work as expected

Does this happen every time?
Always

Other information:
Attached patch fixes Tracker module functionality in F-10 (with tracker 0.6.6). The same problem is present in 0.6.90 (the patch applies cleanly there, the files differ by only one line); I have not tested it with this version, however.
Comment 1 Michel Alexandre Salim 2009-02-13 00:40:30 UTC
Created attachment 128605 [details] [review]
Patch for tracker-module.py
Comment 2 Michael Biebl 2009-03-06 14:48:16 UTC
Hi, the patch doesn't seem to be complete. This one looks better:
http://patches.ubuntu.com/t/tracker/extracted/05_gnomedesktop.patch