GNOME Bugzilla – Bug 729708
"Unable to insert multiple values for subject" error
Last modified: 2014-05-08 11:38:52 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]: }
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]: }
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.
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 on attachment 276150 [details] [review] libtracker-miner: Fallback to URN querying on UPDATE events and API requests Perfect thanks Carlos!