Today I've discovered listen, a sound player for GNOME that could be a fusion of amaroK, banshee and rhythmbox. It's on ~x86 in Gentoo, so after adding the media-sound/listen ~x86
to /etc/portage/package.keywords
I emerged it without problems. But... when trying to launch it I get the following error:
$ listen
Traceback (most recent call last):
File "/usr/bin/listen", line 409, in ?
Listen()
File "/usr/bin/listen", line 136, in __init__
self.run()
File "/usr/bin/listen", line 255, in run
from player import Player
File "/usr/lib/listen/player.py", line 35, in ?
from misc_widget import VolumeSlider
File "/usr/lib/listen/misc_widget.py", line 319, in ?
from podcast_manager import PodcastManager
File "/usr/lib/listen/podcast_manager.py", line 31, in ?
from db_manager import DBManager
File "/usr/lib/listen/db_manager.py", line 681, in ?
DBManager = ListenDBManager(True)
File "/usr/lib/listen/db_manager.py", line 39, in __init__
self.db = ListenDB(check_exist)
File "/usr/lib/listen/db_manager.py", line 519, in __init__
self.cur.execute( requete_songs_view )
pysqlite2.dbapi2.OperationalError: no such table: main.Media
After searching on google, gentoo's bugzilla and sourceforge page of listen, I get no solution. Then I try to run it as root. When running it as root, it works, printing some info on the shell:
# listen LISTEN : CREATE DATABASESo the error is getting identified. But as I have no idea about python... The only thing I've been able to do is to search where the database was created. It was easy, it was saved on
/root/.listen/media.db
I simply copy the .listen
directory under my user home and chown it to my user:group
. Now I can use listen.
If you liked this post, you can donate using Bitcoin 12jVrWkk5S6x5hEizThZwgTx59KxaDdK4C