Re: [Tracker] strange bugs and test script
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Samuel Cormier-Iijima <sciyoshi gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] strange bugs and test script
- Date: Fri, 15 Sep 2006 18:21:35 +0100
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)
jamie.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]