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 601885 - tracker-tags can not attach tags to certain file:// URIs
tracker-tags can not attach tags to certain file:// URIs
Status: RESOLVED NOTABUG
Product: tracker
Classification: Core
Component: General
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2009-11-14 11:38 UTC by Debarshi Ray
Modified: 2009-12-22 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Debarshi Ray 2009-11-14 11:38:43 UTC
tracker-tags is unable to attach tags to certain file:// URIs.

For example:

[rishi@freebook ~]$ tracker-tag --add=bar file:///home/rishi/Game.png 
Tag was added successfully
[rishi@freebook ~]$ tracker-tag -t -s
Tags: 5 (shown by name)
  bar
    urn:uuid:6fd49d4b-cb37-a94a-894c-974c50d7817f
    0 files
...


[rishi@freebook ~]$ tracker-tag --add=bar file:///home/rishi/Desktop/Resume.pdf 
Tag was added successfully
[rishi@freebook ~]$ tracker-tag -t -s
Tags: 5 (shown by name)
  bar
    urn:uuid:6fd49d4b-cb37-a94a-894c-974c50d7817f
    1 file
    file:///home/rishi/Desktop/Resume.pdf
...


Both the files actually exist on the system:

[rishi@freebook ~]$ file /home/rishi/Game.png 
/home/rishi/Game.png: PNG image, 117 x 230, 8-bit/color RGBA, non-interlaced
[rishi@freebook ~]$ file /home/rishi/Desktop/Resume.pdf 
/home/rishi/Desktop/Resume.pdf: PDF document, version 1.4
[rishi@freebook ~]$
Comment 1 Juan A. Suarez Romero 2009-11-23 12:56:59 UTC
Hi!

I've been testing with latest version of tracker, and it works fine for me.

Would you mind to test again?

If it doesn't work, could you attach the conflicting file?
Comment 2 Martyn Russell 2009-11-23 16:13:29 UTC
Does the file exist? 
If so, can you include the output of tracker-info <file> here please :)

Thanks for testing Juan.
Comment 3 Debarshi Ray 2009-12-19 16:40:04 UTC
I am stupid. It was not working because the top lovel home directory is not indexed by Tracker according to the way it is configured on my machine.

Please close this.
Comment 4 Martyn Russell 2009-12-22 09:29:38 UTC
Closing :)