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 729708 - "Unable to insert multiple values for subject" error
"Unable to insert multiple values for subject" error
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
unspecified
Other Linux
: Normal normal
: ---
Assigned To: tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2014-05-07 12:18 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2014-05-08 11:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtracker-miner: Fallback to URN querying on UPDATE events and API requests (4.22 KB, patch)
2014-05-08 11:31 UTC, Carlos Garnacho
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2014-05-07 12:18:30 UTC
I'm seeing these errors in my log.

May 07 07:54:33 jstpierre-snappy gnome-session[1352]: (tracker-extract:1674): Tracker-WARNING **: Task 0, error: Unable to insert multiple values for subject `urn:uuid:8eb4c26a
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: (tracker-extract:1674): Tracker-WARNING **: Sparql update was:
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: INSERT {
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: GRAPH <urn:uuid:472ed0cc-40ff-4e37-9c0c-062d78656540> {
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: <urn:equipment:Google:Nexus%20One:> a nfo:Equipment ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nfo:manufacturer "Google" ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nfo:model "Nexus One" .
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: }
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: }
Comment 1 Jasper St. Pierre (not reading bugmail) 2014-05-07 12:28:30 UTC
It's also happening with PDFs, like this one: http://www.linuxmint.com/documentation/user-guide/english_15.0.pdf

May 07 07:54:33 jstpierre-snappy gnome-session[1352]: (tracker-extract:1674): Tracker-WARNING **: Task 5, error: Unable to insert multiple values for subject `urn:uuid:dd48be23
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: (tracker-extract:1674): Tracker-WARNING **: Sparql update was:
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: INSERT {
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: GRAPH <urn:uuid:472ed0cc-40ff-4e37-9c0c-062d78656540> {
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: <urn:uuid:dd48be23-83b4-75fb-44dc-13a3e73dca2a> nie:dataSource <http://www.tracker-project.org/ontologies/tracker#extracto
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: <urn:uuid:dd48be23-83b4-75fb-44dc-13a3e73dca2a> a nfo:PaginatedTextDocument ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nie:title "Introduction to Linux Mint" ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nco:creator [ a nco:Contact ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nco:fullname "eclelef"] ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nfo:pageCount 50 ;
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: nfo:tableOfContents "Introduction to Linux Mint History Purpose Version numbers and codenames Editions Where to find help 
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: }
May 07 07:54:33 jstpierre-snappy gnome-session[1352]: }
Comment 2 Carlos Garnacho 2014-05-08 11:31:07 UTC
Created attachment 276150 [details] [review]
libtracker-miner: Fallback to URN querying on UPDATE events and API requests

Otherwise the item is mistaken as new, which trigger warnings due to
the duplicate insert.
Comment 3 Martyn Russell 2014-05-08 11:38:34 UTC
Confirmed, Carlos' patch works:
www.fpaste.org/100121/54902913/

Link will last 1 month only.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 4 Martyn Russell 2014-05-08 11:38:52 UTC
Comment on attachment 276150 [details] [review]
libtracker-miner: Fallback to URN querying on UPDATE events and API requests

Perfect thanks Carlos!