can you also try running it a couple of times, maybe in quick
succession? on my (slower) laptop, the client will freeze quite often
while getting File.Name for the files...
On 9/15/06, Jamie McCracken <[EMAIL PROTECTED]> wrote:
> 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.
>
>
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list