Yea, I thought the same thing, but it's declared with the same typo in
tracker-utils.[hc] :-)
On 9/15/06, Laurent Aguerreche <[EMAIL PROTECTED]> wrote:
> Le vendredi 15 septembre 2006 à 18:21 +0100, Jamie McCracken a écrit :
> > Samuel Cormier-Iijima wrote:
> > > here's the python test script i was using to find bugs in tracker. it
> > > starts sending random stuff at the end just to make sure tracker never
> > > segfaults or anything. however, sometimes it doesn't even get that
> > > far. it seems that tracker has some bugs with maybe a race condition
> > > and dbus? for me, the client will stall at some random point in the
> > > test, but tracker keeps on running (ie it's not sending a reply). you
> > > guys should try this script and see if it works for you....
> >
> > its failing on this line for me
> >
> > metadata = ifacem.Get('Music', file, ['audio.artist', 'audio.title',
> > 'audio.album'])
> >
> > as it says "Entity with ID /home/jamie/music/Gustav Holst - Mars, the
> > Bringer of War.ogg not found in database" in log file
> >
> > This would cause an exception in python and so halt the client (as its a
> > dbus error)
> >
> > Fix should be to use "Files" instead of "Music" for the service
> > parameter in metadata get method (this is a bug in tracker_db_get_id in
> > tracker-db.c as its hardcoded to reject any service thats not "Files".)
> >
> > patch welcome to fix tracker_db_get_id (and tracker_db_get_file_id)
>
> I didn't take a look at tracker_db_get_file_id() but tracker_db_get_id()
> uses "service_index_array" (there is a typo in sources...) and this
> global variable isn't declared. So it is needed to add:
>
> extern char *service_index_array[];
>
> at the top of file tracker-db.c
>
>
>
> > jamie.
> >
> >
> > _______________________________________________
> > tracker-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/tracker-list
>
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list