Comment 1 for bug 649247

Revision history for this message
Eric Casteleijn (thisfred) wrote :

hmm, there may be a bootstrapping problem here: To make QL not have to wait for the plugin, I defer all db writes to the 'daemon' but that means when you add an artist, its database id is not immediately available for the next query. So what happens here is that the db knows the eagles, finds a similar artist (in this case Lynyrd Skynyrd), tells the daemon to add it to the db when it so pleases, and queues a track by that artist. Then it tries to look for similar tracks to the lynyrd skynyrd one, but immediately fails since it does not find that artist in the db. It then backtracks and tries to add another track similar to the previous one, which is again the eagles, and so on, until the queue has the desired length.

It looks like this is all working properly, until the database lock, which I have not seen before with the current trunk. It may be that the daemon gets stuck, or is taking too long with the writes, so I should maybe catch this exception and back off when it fires. Sqlite is a bit weird though in that it often never recovers from this kind of problem.

Did you at least see tracks show up in the queue? (If you don't see a queue, make sure to check it in the View menu.)

Also: which 'browser' are you using? I always use 'Search Library' so the other ones are very undertested.