Hi. My first run with autoqueue. One song played, Ping Floyd. Then some CPU churn, then crash, leaving Eagles playing.
I've had a rough night, and I hate the fucking Eagles, man.
This bug's solved since Eric Casteleijn rewrote the database access layer in brain.
It looks like it got in a loop.
libmirageaudio: EOS Message received
libmirageaudio: EOS Message sent
libmirageaudio: time = 6450.000000
libmirageaudio: frames=2583 (maxhops=2583), size=513
Mirage: decoded frames=c_long(2583),size=c_long(513)
Mirage: mfcc Execution Time: 0:00:00.120400
Mirage: scms created in: 0:00:06.375746
[autoqueue] Blocked artist: pink floyd (3)
libmirageaudio: rate=44100, resampling=0.500000
libmirageaudio: decoding /data/music/Pink Floyd/A Momentary Lapse of Reason/A Momentary Lapse of Reason-05-On the Turning Away.ogg
libmirageaudio: EOS Message sent
libmirageaudio: EOS Message received
libmirageaudio: time = 3810.000000
libmirageaudio: frames=2583 (maxhops=2583), size=513
Mirage: decoded frames=c_long(2583),size=c_long(513)
Mirage: mfcc Execution Time: 0:00:00.143819
Mirage: scms created in: 0:00:05.922234
[autoqueue] Blocked artist: eagles (4)
[autoqueue] Getting similar artists from last.fm for: eagles
libmirageaudio: rate=44100, resampling=0.500000
libmirageaudio: decoding /data/music/Eagles/Hotel California/Hotel California-07-Pretty Maids All in a Row.mp3
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] looking for: 000031 fleetwood mac
[autoqueue] looking for: 000030 america
[autoqueue] looking for: 000030 james taylor
[autoqueue] looking for: 000029 bad company
[autoqueue] looking for: 000029 journey
[autoqueue] looking for: 000028 foreigner
[autoqueue] looking for: 000028 .38 special
[autoqueue] looking for: 000028 chicago
[autoqueue] looking for: 000027 elton john
[autoqueue] looking for: 000026 reo speedwagon
[autoqueue] looking for: 000026 eddie money
[autoqueue] looking for: 000025 little river band
[autoqueue] looking for: 000024 crosby, stills & nash
[autoqueue] looking for: 000024 lynyrd skynyrd
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
libmirageaudio: EOS Message sent
libmirageaudio: EOS Message received
libmirageaudio: time = 6520.000000
libmirageaudio: frames=2583 (maxhops=2583), size=513
Mirage: decoded frames=c_long(2583),size=c_long(513)
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] looking for: 000031 fleetwood mac
[autoqueue] looking for: 000030 america
[autoqueue] looking for: 000030 james taylor
[autoqueue] looking for: 000029 bad company
[autoqueue] looking for: 000029 journey
[autoqueue] looking for: 000028 foreigner
[autoqueue] looking for: 000028 .38 special
[autoqueue] looking for: 000028 chicago
[autoqueue] looking for: 000027 elton john
[autoqueue] looking for: 000026 reo speedwagon
[autoqueue] looking for: 000026 eddie money
[autoqueue] looking for: 000025 little river band
[autoqueue] looking for: 000024 crosby, stills & nash
[autoqueue] looking for: 000024 lynyrd skynyrd
[autoqueue] looking for: 000024 poco
[autoqueue] looking for: 000024 the marshall tucker band
[autoqueue] looking for: 000023 tom petty and the heartbreakers
[autoqueue] looking for: 000023 rod stewart
[autoqueue] looking for: 000022 crosby, stills, nash & young
[autoqueue] looking for: 000022 steve winwood
[autoqueue] looking for: 000022 atlanta rhythm section
[autoqueue] looking for: 000021 bread
[autoqueue] looking for: 000021 supertramp
[autoqueue] looking for: 000021 linda ronstadt
[autoqueue] looking for: 000021 the allman brothers band
[autoqueue] looking for: 000020 peter frampton
[autoqueue] looking for: 000020 bonnie raitt
[autoqueue] looking for: 000019 the alan parsons project
[autoqueue] looking for: 000019 creedence clearwater revival
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] looking for: 000031 fleetwood mac
[autoqueue] looking for: 000030 america
[autoqueue] looking for: 000030 james taylor
[autoqueue] looking for: 000029 bad company
[autoqueue] looking for: 000029 journey
[autoqueue] looking for: 000028 foreigner
[autoqueue] looking for: 000028 .38 special
[autoqueue] looking for: 000028 chicago
[autoqueue] looking for: 000027 elton john
[autoqueue] looking for: 000026 reo speedwagon
[autoqueue] looking for: 000026 eddie money
[autoqueue] looking for: 000025 little river band
[autoqueue] looking for: 000024 crosby, stills & nash
[autoqueue] looking for: 000024 lynyrd skynyrd
[autoqueue] looking for: 000024 poco
[autoqueue] looking for: 000024 the marshall tucker band
[autoqueue] looking for: 000023 tom petty and the heartbreakers
Mirage: mfcc Execution Time: 0:00:00.359633
[autoqueue] looking for: 000023 rod stewart
[autoqueue] looking for: 000022 crosby, stills, nash & young
[autoqueue] looking for: 000022 steve winwood
[autoqueue] looking for: 000022 atlanta rhythm section
[autoqueue] looking for: 000021 bread
[autoqueue] looking for: 000021 supertramp
[autoqueue] looking for: 000021 linda ronstadt
[autoqueue] looking for: 000021 the allman brothers band
[autoqueue] looking for: 000020 peter frampton
[autoqueue] looking for: 000020 bonnie raitt
[autoqueue] looking for: 000019 the alan parsons project
[autoqueue] looking for: 000019 creedence clearwater revival
[autoqueue] looking for: 000019 traveling wilburys
[autoqueue] looking for: 000018 huey lewis & the news
[autoqueue] looking for: 000018 the who
[autoqueue] looking for: 000018 bee gees
[autoqueue] looking for: 000018 loggins & messina
[autoqueue] looking for: 000018 bachman-turner overdrive
[autoqueue] looking for: 000018 stevie nicks
[autoqueue] looking for: 000018 the moody blues
[autoqueue] looking for: 000017 hall & oates
[autoqueue] looking for: 000017 boz scaggs
[autoqueue] looking for: 000017 santana
[autoqueue] looking for: 000017 john fogerty
[autoqueue] looking for: 000017 garth brooks
[autoqueue] looking for: 000016 james gang
[autoqueue] looking for: 000016 van morrison
[autoqueue] looking for: 000016 three dog night
[autoqueue] looking for: 000016 10cc
[autoqueue] looking for: 000016 steely dan
[autoqueue] looking for: 000016 heart
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] looking for: 000031 fleetwood mac
[autoqueue] looking for: 000030 america
[autoqueue] looking for: 000030 james taylor
[autoqueue] looking for: 000029 bad company
[autoqueue] looking for: 000029 journey
[autoqueue] looking for: 000028 foreigner
[autoqueue] looking for: 000028 .38 special
[autoqueue] looking for: 000028 chicago
[autoqueue] looking for: 000027 elton john
[autoqueue] looking for: 000026 reo speedwagon
[autoqueue] looking for: 000026 eddie money
[autoqueue] looking for: 000025 little river band
[autoqueue] looking for: 000024 crosby, stills & nash
[autoqueue] looking for: 000024 lynyrd skynyrd
[autoqueue] looking for: 000024 poco
[autoqueue] looking for: 000024 the marshall tucker band
[autoqueue] looking for: 000023 tom petty and the heartbreakers
[autoqueue] looking for: 000023 rod stewart
[autoqueue] looking for: 000022 crosby, stills, nash & young
[autoqueue] looking for: 000022 steve winwood
[autoqueue] looking for: 000022 atlanta rhythm section
[autoqueue] looking for: 000021 bread
[autoqueue] looking for: 000021 supertramp
[autoqueue] looking for: 000021 linda ronstadt
[autoqueue] looking for: 000021 the allman brothers band
[autoqueue] looking for: 000020 peter frampton
[autoqueue] looking for: 000020 bonnie raitt
[autoqueue] looking for: 000019 the alan parsons project
[autoqueue] looking for: 000019 creedence clearwater revival
[autoqueue] looking for: 000019 traveling wilburys
[autoqueue] looking for: 000018 huey lewis & the news
[autoqueue] looking for: 000018 the who
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] looking for: 000039 tom petty
[autoqueue] looking for: 000038 boston
[autoqueue] looking for: 000036 john mellencamp
[autoqueue] looking for: 000036 dire straits
[autoqueue] looking for: 000035 eric clapton
[autoqueue] looking for: 000035 styx
[autoqueue] looking for: 000034 mark knopfler
[autoqueue] looking for: 000033 bob seger & the silver bullet band
[autoqueue] looking for: 000031 dan fogelberg
[autoqueue] looking for: 000031 billy joel
[autoqueue] looking for: 000031 fleetwood mac
[autoqueue] looking for: 000030 america
[autoqueue] looking for: 000030 james taylor
[autoqueue] looking for: 000029 bad company
[autoqueue] looking for: 000029 journey
[autoqueue] looking for: 000028 foreigner
[autoqueue] looking for: 000028 .38 special
[autoqueue] looking for: 000028 chicago
[autoqueue] looking for: 000027 elton john
[autoqueue] looking for: 000026 reo speedwagon
[autoqueue] looking for: 000026 eddie money
[autoqueue] looking for: 000025 little river band
[autoqueue] looking for: 000024 crosby, stills & nash
[autoqueue] looking for: 000024 lynyrd skynyrd
[autoqueue] looking for: 000024 poco
[autoqueue] looking for: 000024 the marshall tucker band
[autoqueue] looking for: 000023 tom petty and the heartbreakers
[autoqueue] looking for: 000023 rod stewart
[autoqueue] looking for: 000022 crosby, stills, nash & young
[autoqueue] looking for: 000022 steve winwood
[autoqueue] looking for: 000022 atlanta rhythm section
[autoqueue] looking for: 000021 bread
[autoqueue] looking for: 000021 supertramp
[autoqueue] looking for: 000021 linda ronstadt
[autoqueue] looking for: 000021 the allman brothers band
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
[autoqueue] Getting similar artists from last.fm for: eagles
Mirage: scms created in: 0:00:07.459587
[autoqueue] looking for: 000100 don henley
[autoqueue] looking for: 000053 glenn frey
[autoqueue] looking for: 000050 bob seger
[autoqueue] looking for: 000048 joe walsh
[autoqueue] looking for: 000045 jackson browne
[autoqueue] looking for: 000041 the doobie brothers
[autoqueue] looking for: 000040 steve miller band
[autoqueue] rating: 0.5 last played 14879 days ago, suggested play: after 90.0 days
Traceback (most recent call last):
File "/usr/share/pyshared/quodlibet/plugins/events/quodlibet_autoqueue.py", line 252, in _idle_callback
for _ in self._generators[0]:
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 656, in fill_queue
for exhausted in self.queue_song():
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 609, in queue_song
for result in generator:
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 554, in song_generator
for result in self.get_ordered_similar_tracks(last_song):
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 871, in get_ordered_similar_tracks
track = self.get_track(artist_name, title)
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 200, in get_track
row = self.get_artist(artist_name, with_connection=connection)
File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 186, in get_artist
"SELECT * FROM artists WHERE name = ?", (artist_name,))
sqlite3.OperationalError: database is locked
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.