View Full Version : [ubuntu] [SOLVED] exaile not running

September 24th, 2008, 11:32 AM
Hey, exaile's not running.

dan@dennis:~$ exaile
Traceback (most recent call last):
File "exaile.py", line 2634, in <module>
File "exaile.py", line 2626, in main
exaile = ExaileWindow(options, fr)
File "exaile.py", line 125, in __init__
File "exaile.py", line 1091, in database_connect
self.db = self.get_database()
File "exaile.py", line 1078, in get_database
database = db.DBManager(loc)
File "/usr/share/exaile/xl/db.py", line 75, in __init__
cur.execute("PRAGMA auto_vacuum=1")
OperationalError: database is locked

The only thing I can think of is running the program as root a few minutes ago, but all I did was play some music. Is there anything I can do to fix this short of reinstalling and losing my playlists?

September 24th, 2008, 11:38 AM
Delete the .exaile folder from your home directory.
Use Control-H in Nautilus so that you can see the folder (the . in front means it's hidden).

This I found by googling "exaile locked database". If you ran as root you might have to take ownership first:
sudo chown danmeestwood /home/danmeetswood/.exaile -Rchanging both instances of danmeetswood to your actual user name.

September 24th, 2008, 11:42 AM
Well, that did unlock it for sure. But now all the settings and playlists are gone. Oh well, spilled milk. Thanks for the reply, dog.

January 31st, 2010, 05:15 PM
you only need to delete "music.db" and "music.db-journal" although I'm not sure what "music.db-journal" is or if it realy needs to go.
Deleating "music.db" may be all thats required.
Delaete "music.db" first and see if that works.