Trackerd starts but shows a lot of errors while indexing directories.

Bug #148520 reported by FredBezies
0
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
Fix Released
Medium
Jamie McCracken

Bug Description

Binary package hint: tracker

I am using Gutsy Gibbon, up-to-date, tracker version 0.6.3.0-ubuntu1 - AMD64

Here is the options of my config file :

"[General]
Verbosity=3
InitialSleep=30
LowMemoryMode=false

[Watches]
WatchDirectoryRoots=/home/fred;/home/fred/Musique;
CrawlDirectory=
NoWatchDirectory=/home/fred/share;/home/fred/Applications;/home/fred/logs;/home/fred/sources;
EnableWatching=true

[Indexing]
Throttle=0
EnableIndexing=true
EnableFileContentIndexing=true
EnableThumbnails=true
NoIndexFileTypes=;

MinWordLength=3
MaxWordLength=30
Language=fr
EnableStemmer=true
SkipMountPoints=false

[Emails]
IndexEvolutionEmails=true

[Performance]
MaxTextToIndex=1048576
MaxWordsToIndex=10000
OptimizationSweepCount=10000
MaxBucketCount=524288
MinBucketCount=65536
Dvisions=4
BucketRatio=1
Padding=2"

I have around 1700 ogg file in music directory, and none of them can be indexed.

In the tracker.log file, I have error messages like this one :

"03 oct 2007, 13:50:50:880 - ERROR: execution of prepared query InsertWatch failed due to constraint failed with return code 19"

A lot of times.

And no english word are available for search. Even french ones are sometime unusable.

I will attach log file asap.

Related branches

Revision history for this message
FredBezies (fredbezies-deactivatedaccount) wrote :
Revision history for this message
Jamie McCracken (jamiemcc-blueyonder) wrote :

your config shows you have overlapping watch directory roots

WatchDirectoryRoots=/home/fred;/home/fred/Musique;

change to

WatchDirectoryRoots=/home/fred;

and then start trackerd --reindex and it should be fine

we will check for overlaps in next version

Revision history for this message
FredBezies (fredbezies-deactivatedaccount) wrote :

Ok. I tried reindex and it worked after some searches on google a few minutes after my last comment.

Sorry having opened a bug when it was not very useful.

Can anybody close this bug, please ?

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Closed on request of the reporter.

Changed in tracker:
status: New → Invalid
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Reopening. This should be closed when overlaps are checked.

Changed in tracker:
importance: Undecided → Medium
status: Invalid → Triaged
Changed in tracker:
assignee: nobody → jamiemcc-blueyonder
status: Triaged → In Progress
Changed in tracker:
status: In Progress → Fix Committed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

tracker (0.6.4-1ubuntu1) hardy; urgency=low

  * Merge with Debian, remaining Ubuntu changes:
    - debian/control:
      + Addhere to DebianMaintainerField spec.
      + Do not build-depend on universe dependencies:
        libunac1-dev, libqdbm-dev.
      + tracker depends on o3read instead of recommend it, so we have
        OOo indexing by default.
    - debian/rules:
      + Enable sqlite external db instead of qdbm.
    - debian/patches/02_no_kde_autostart.patch:
      + Do not autostart trackerd in Kde, as they have strigi.
    - debian/patches/03_no_initial_index_in_battery.patch:
      + Do not run the initial index if running on battery.
        Patch taken from upstream SVN, revision 1075:
        http://svn.gnome.org/viewvc/tracker?view=revision&revision=1075
    - debian/patches/04_fix_crash_index_name_is_null.patch:
      + Fix a crash when index name is null during merging.
        Patch taken from upstream SVN, revision 1076:
        http://svn.gnome.org/viewvc/tracker?view=revision&revision=1076
    - debian/patches/05_typo_audio_track_peak_gain_tag.patch:
      + Fix a typo in a tag metadata. LP: #145359
        Patch taken from upstream SVN, revision 1077:
        http://svn.gnome.org/viewvc/tracker?view=revision&revision=1077
    - debian/patches/06_trackerd_infinite_loop.patch:
      + Fix an infinite loop in trackerd if a second instance is
        launched. Patch taken from upstream SVN, revision 1079:
        http://svn.gnome.org/viewvc/tracker?view=revision&revision=1079

  * Bugs fixed in the new release:
    - LP: #130935. Added a notification area tool displaying trackerd's
      status, and allowing to search from there.
    - LP: #138331: prevent hangs which stopped tracker quitting smoothly.
    - LP: #147756: Fixed memory leaks.
    - LP: #159807: Stop indexing if disk is full.
    - LP: #164148: Unsafe tempfile usage.
    - LP: #148520: Check for overlapping watch dirs
    - LP: #132463: Always show full path of files in tracker-search-tool.
    - LP: #133402: Do not repeat 'Preferences' in the preferences title.
    - LP: #164412: Limit log size to 10MB.
    - LP: #150814: Detect and prevent database corruption.
    - LP: #160262: Fix evolution email opening for the deskbar handlers.
    - LP: #150030: Show applications in search results.

 -- Emilio Pozuelo Monfort <email address hidden> Fri, 14 Dec 2007 01:16:26 +0100

Changed in tracker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.