[Tracker] trackerd wtops indexing

2006-10-05 Thread Baptiste Mille-Mathias
For few days, the cvs build stops indexing after few seconds, and the log file contains each time the same following error. . 06 oct 2006, 08:44:47:746 - file /share/Music/Albin de la Simone - Je vais changer/04 - Tu ne peux rien faire.mp3 is indexable 06 oct 2006, 08:44:47:763 - Warning - para

Re: [Tracker] XMP sidecar files (newbie alert)

2006-10-05 Thread Jon Phillips
On Fri, 2006-10-06 at 00:34 +0100, Jamie McCracken wrote: > Alex Mac wrote: > > Hi there I'm fairly new to tracker so I'm not sure if this is already > > supported or completely incompatible with what tracker does but here > > goes: > > > > One of the things I've been hoping the beagle folk would

Re: [Tracker] Cleanup of sqlite files

2006-10-05 Thread Jamie McCracken
Laurent Aguerreche wrote: > Le vendredi 06 octobre 2006 à 00:26 +0100, Jamie McCracken a écrit : >> Laurent Aguerreche wrote: >>> Le jeudi 05 octobre 2006 à 11:02 +0100, Jamie McCracken a écrit : Laurent Aguerreche wrote: > I propose a patch that works for Evolution. Thast great

Re: [Tracker] Cleanup of sqlite files

2006-10-05 Thread Laurent Aguerreche
Le vendredi 06 octobre 2006 à 00:26 +0100, Jamie McCracken a écrit : > Laurent Aguerreche wrote: > > Le jeudi 05 octobre 2006 à 11:02 +0100, Jamie McCracken a écrit : > >> Laurent Aguerreche wrote: > >> > >>> I propose a patch that works for Evolution. > >> Thast great > >> > >> just one thing : >

Re: [Tracker] XMP sidecar files (newbie alert)

2006-10-05 Thread Jamie McCracken
Alex Mac wrote: > Hi there I'm fairly new to tracker so I'm not sure if this is already > supported or completely incompatible with what tracker does but here > goes: > > One of the things I've been hoping the beagle folk would implement is > support for XMP sidecar files. Anyone who has used phot

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> Marcus Fritzsch wrote: >> > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> >> Marcus Fritzsch wrote: >> >> > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> >> >> [...] >> >> >> it should be a lo

Re: [Tracker] Fix for segfault

2006-10-05 Thread Jamie McCracken
Samuel Cormier-Iijima wrote: > By the way, ideally the g_return_if_fail functions should only be used > to check for e.g. NULL parameters to the function (since it will > create a warning message) For example, when searching for something > without any results, I get "assertion failed (row != NULL

Re: [Tracker] Cleanup of sqlite files

2006-10-05 Thread Jamie McCracken
Laurent Aguerreche wrote: > Le jeudi 05 octobre 2006 à 11:02 +0100, Jamie McCracken a écrit : >> Laurent Aguerreche wrote: >> >>> I propose a patch that works for Evolution. >> Thast great >> >> just one thing : >> >> could you add the uri field to the MailMessage struct please (we also >> dont ne

Re: [Tracker] Fix for segfault

2006-10-05 Thread Edward Duffy
Can you upload of these problematic files? Or send to me directly... On 10/5/06, Marcus Fritzsch <[EMAIL PROTECTED]> wrote: > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > > Marcus Fritzsch wrote: > > > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > > >> Marcus Fritzsch wrote

[Tracker] XMP sidecar files (newbie alert)

2006-10-05 Thread Alex Mac
Hi there I'm fairly new to tracker so I'm not sure if this is already supported or completely incompatible with what tracker does but here goes: One of the things I've been hoping the beagle folk would implement is support for XMP sidecar files. Anyone who has used photoshop will know that it can

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Marcus Fritzsch
On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Marcus Fritzsch wrote: > > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > >> Marcus Fritzsch wrote: > >> > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > >> >> [...] > >> >> it should be a lot easier to build now that mysq

Re: [Tracker] Fix for segfault

2006-10-05 Thread Samuel Cormier-Iijima
By the way, ideally the g_return_if_fail functions should only be used to check for e.g. NULL parameters to the function (since it will create a warning message) For example, when searching for something without any results, I get "assertion failed (row != NULL && row[0] != NULL)" etc. Some more he

Re: [Tracker] Cleanup of sqlite files

2006-10-05 Thread Laurent Aguerreche
Le jeudi 05 octobre 2006 à 11:02 +0100, Jamie McCracken a écrit : > Laurent Aguerreche wrote: > > > > > I propose a patch that works for Evolution. > > Thast great > > just one thing : > > could you add the uri field to the MailMessage struct please (we also > dont need the ExtraFields stuff)

Re: [Tracker] Fix for segfault

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> Marcus Fritzsch wrote: >> > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> >> Marcus Fritzsch wrote: >> >> > Hello there. >> >> > >> >> > With the new tracker I always encountered a segfault with some db

Re: [Tracker] Fix for segfault

2006-10-05 Thread Marcus Fritzsch
On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Marcus Fritzsch wrote: > > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > >> Marcus Fritzsch wrote: > >> > Hello there. > >> > > >> > With the new tracker I always encountered a segfault with some db code. > >> > > >> >tracker_d

Re: [Tracker] Fix for segfault

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> Marcus Fritzsch wrote: >> > Hello there. >> > >> > With the new tracker I always encountered a segfault with some db code. >> > >> >tracker_db_get_field_def >> > >> > can return NULL but >> > >> >tracker_meta

Re: [Tracker] Fix for segfault

2006-10-05 Thread Marcus Fritzsch
On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Marcus Fritzsch wrote: > > Hello there. > > > > With the new tracker I always encountered a segfault with some db code. > > > >tracker_db_get_field_def > > > > can return NULL but > > > >tracker_metadata_is_date > > > > in src/tracker

Re: [Tracker] Fix for segfault

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > Hello there. > > With the new tracker I always encountered a segfault with some db code. > >tracker_db_get_field_def > > can return NULL but > >tracker_metadata_is_date > > in src/trackerd/tracker-db.c:591 dereferences a field in this > structure w/o checking f

[Tracker] Fix for segfault

2006-10-05 Thread Marcus Fritzsch
Hello there. With the new tracker I always encountered a segfault with some db code. tracker_db_get_field_def can return NULL but tracker_metadata_is_date in src/trackerd/tracker-db.c:591 dereferences a field in this structure w/o checking for NULL. Rgds, Marcus diff -urN tracker.orig

Re: [Tracker] Tracker 0.0.4 apparently doing nothing after a while.

2006-10-05 Thread Jamie McCracken
ks3597 wrote: > Hello all, > > I was impressed by the descriptions of tracker (compared to beagle which > I have some reservations about) and decided to try it out on an Ubuntu > Dapper PC. I installed tracker 0.0.4 on Ubuntu Dapper (with all updates > installed) using the following: > >s

[Tracker] Tracker 0.0.4 apparently doing nothing after a while.

2006-10-05 Thread ks3597
Hello all, I was impressed by the descriptions of tracker (compared to beagle which I have some reservations about) and decided to try it out on an Ubuntu Dapper PC. I installed tracker 0.0.4 on Ubuntu Dapper (with all updates installed) using the following: sudo apt-get install libextra

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> [...] >> it should be a lot easier to build now that mysql has been replaced! >> >> What is the build problem exactly? > > The build problems I am having: > > [./configure] > configure: creating ./config.status > c

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Marcus Fritzsch
On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > [...] > it should be a lot easier to build now that mysql has been replaced! > > What is the build problem exactly? The build problems I am having: [./configure] configure: creating ./config.status config.status: creating Makefile config.st

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > Hi, > > On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> Marcus Fritzsch wrote: >> > Hi there. >> > >> > I am currently having chrooted installation inside a tracker-indexed >> > directory. The chroot does contain a /dev. The thing I am seeing, is >> > trackerd re

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Marcus Fritzsch
Hi, On 10/5/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Marcus Fritzsch wrote: > > Hi there. > > > > I am currently having chrooted installation inside a tracker-indexed > > directory. The chroot does contain a /dev. The thing I am seeing, is > > trackerd reading from ${chrootdir}/dev/zero li

Re: [Tracker] possible bug? trackerd and device files

2006-10-05 Thread Jamie McCracken
Marcus Fritzsch wrote: > Hi there. > > I am currently having chrooted installation inside a tracker-indexed > directory. The chroot does contain a /dev. The thing I am seeing, is > trackerd reading from ${chrootdir}/dev/zero like mad ;). > > Possible fix to that might be in > > src/trackerd/

Re: [Tracker] Cleanup of sqlite files

2006-10-05 Thread Jamie McCracken
Laurent Aguerreche wrote: > > I propose a patch that works for Evolution. Thast great just one thing : could you add the uri field to the MailMessage struct please (we also dont need the ExtraFields stuff). > For Thunderbird, I can't currently figure out what "ID" in uris is... > I'm invest

[Tracker] possible bug? trackerd and device files

2006-10-05 Thread Marcus Fritzsch
Hi there. I am currently having chrooted installation inside a tracker-indexed directory. The chroot does contain a /dev. The thing I am seeing, is trackerd reading from ${chrootdir}/dev/zero like mad ;). Possible fix to that might be in src/trackerd/tracker-utils.c:tracker_file_is_valid on