Hello,
This bug is related to package tracker-extract version 2.3.3-2 on Ubuntu 20.04.4 LTS.
For some text files, the following error is written every 4 seconds or so to my syslog file:
Apr 23 22:46:59 air tracker-extract[10376]: Could not insert metadata for item "file:///home/tof/Documents/comptes/cultura.txt": constraint failed (strerror of errno (not necessarily related): Ressource temporairement non disponible)
Apr 23 22:46:59 air tracker-extract[10376]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information
The consequence of this bug is to generate log files of the order of 130MB per day and to solicit permanently the hard disk.
As the error is recurrent, I give you aditionnal informations requested:
of@air:/$tracker extract --verbosity=debug /home/tof/Documents/comptes/cultura.txt
Tracker-Message: 22:49:42.351: Set scheduler policy to SCHED_IDLE
Tracker-Message: 22:49:42.352: Setting priority nice level to 19
Tracker-Message: 22:49:42.355: Starting tracker-extract 2.3.3
Tracker-Message: 22:49:42.355: General options:
Tracker-Message: 22:49:42.355: Verbosity ............................ 3
Tracker-Message: 22:49:42.355: Sched Idle ........................... 1
Tracker-Message: 22:49:42.355: Max bytes (per file) ................. 1048576
Tracker-Message: 22:49:42.355: Set scheduler policy to SCHED_IDLE
Tracker-Message: 22:49:42.355: Setting priority nice level to 19
(tracker-extract:10648): dconf-DEBUG: 22:49:42.356: watch_established: "/org/freedesktop/tracker/extract/" (establishing: 1)
(tracker-extract:10648): GLib-GIO-DEBUG: 22:49:42.358: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
Tracker-Message: 22:49:42.358: Loading extractor rules... (/usr/share/tracker-miners/extract-rules)
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.358: Loaded rule '10-abw.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.358: Loaded rule '10-bmp.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.358: Loaded rule '10-comics.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.358: Loaded rule '10-desktop.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-dvi.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-ebooks.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-epub.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-flac.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-gif.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-html.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-ico.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-jpeg.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-mp3.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-msoffice.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-oasis.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-pdf.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-png.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-ps.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-raw.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-svg.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-tiff.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-vorbis.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-xmp.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '10-xps.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '11-msoffice-xml.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '15-gstreamer-guess.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '15-playlist.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '15-source-code.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '90-gstreamer-audio-generic.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '90-gstreamer-image-generic.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '90-gstreamer-video-generic.rule'
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.359: Loaded rule '90-text-generic.rule'
Tracker-Message: 22:49:42.359: Extractor rules loaded
Tracker-Message: 22:49:42.360: MIME type guessed as 'text/plain' (from GIO)
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.360: Using /usr/lib/x86_64-linux-gnu/tracker-miners-2.0/extract-modules/libextract-text.so...
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.360: Starting to read 'file:///home/tof/Documents/comptes/cultura.txt' up to 1048576 bytes...
(tracker-extract:10648): Tracker-DEBUG: 22:49:42.361: Read 28 bytes from file, 1048548 bytes remaining until configured threshold is reached
@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<file:///home/tof/Documents/comptes/cultura.txt> nie:plainTextContent "www.cultura.com\na1Lev20$00\n\n" ;
a nfo:PlainTextDocument , nfo:FileDataObject .
In attachment I join the related text file.
Best regards
Hello,
The problem have been solved with the following command : /home/tof/ Documents/ comptes/ cultura. txt
tracker reset --file file://
This command has been executed 2 times. org.freedesktop .Tracker1. SparqlError. Internal: cannot commit - no transaction is active (strerror of errno (not necessarily related): Ressource temporairement non disponible)
The first time I had the following message :
Suppression…
(tracker reset:37089): Tracker-WARNING **: 23:43:22.597: GDBus.Error:
Best regards