Help » app hangs and gives python error

oliver hemming

Posted on 2009-01-04 04:30:01.

I really like the look of this project, but I'm having one big problem:

When I start up bluemindo it gives some taglib errors (which I'm not bothered about) and then the following python traceback

Unhandled exception in thread started by <function download_artists_picture at 0x8fb7294>
Traceback (most recent call last):
File "/usr/share/bluemindo/src/modules/explorer/", line 938, in download_artists_picture
urlretrieve(file_, artist_picture)
File "/usr/lib/python2.5/", line 89, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.5/", line 222, in retrieve
fp =, data)
File "/usr/lib/python2.5/", line 190, in open
return getattr(self, name)(url)
File "/usr/lib/python2.5/", line 459, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.5/", line 473, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: ''

At the same time in the GUI, it's stuck "Fetching artist 19 out of 24" but it does say all my songs were imported. I'm guessing it can't find an artist and is not sure what to do. How do I get around this?

I'm using version 0.2.1 on crunchbang (based on ubuntu 8.10)

This occurs when using "full" mode, not the other three
Erwan Briand

Posted on 2009-01-04 13:58:19.

I've seen a lot of tagpy errors. They occurs in many cases: malformed informations, picture stored in idtags… I noticed that these errors can really slow down the software during the folder scanning.

For your error about download_artists_picture and the message Fetching artist 19 out of 24, it's because the API has changed, causing trouble with this function.

I'm currently rewriting parts and reorganizing the code of the software in the developement version (trunk on the SVN repository) and I rewrote the API client for and Amazon: this error should not occur in the futur. I also rewrote the function that scan the music folder so it could be faster now. I need someone else than me to test and you can do it if you want but warning: this trunk is not usable for the moment because of my work on the whole project.

Thanks for your interest in the project! ;-)
oliver hemming

Posted on 2009-01-06 02:00:10.
I'd like to help testing, but I'm having trouble getting the svn trunk to do anything. I checked out revision 66 and installed it per the INSTALL file, but I get this:

oliver@choko:~/src/bluemindo/trunk$ ./
oliver@choko:~/src/bluemindo/trunk$ The dolphin reaches the surface!

Extension `lyrics`, registered in *modules*, could not start.
Lyrics instance has no attribute 'start_module'

Bluemindo's modules are required to launch the software.

I did get some errors on installation... it was all looking good until near the end:

root@choko:~/src/bluemindo/trunk# make install
install -d /usr/share/locale /usr/bin /usr/share/bluemindo /usr/share/bluemindo/image /usr/share/bluemindo/glade /usr/share/bluemindo/src
install -m644 data/image/*.png /usr/share/bluemindo/image
install -m644 data/glade/*.glade /usr/share/bluemindo/glade
install -m644 data/misc/Bluemindo.desktop /usr/share/applications
install -m644 data/misc/bluemindo.png /usr/share/pixmaps
install -m755 data/misc/bluemindo /usr/bin
cat data/misc/bluemindo.1 | gzip > bluemindo.1.gz
install -m644 bluemindo.1.gz /usr/share/man/man1
for sourcedir in `find src/ -type d | grep -v '.svn' | grep -v '.pyc' | sed 's:src/::g'` ; do \
install -d /usr/share/bluemindo/src/$sourcedir; \
for sourcefile in `find src/$sourcedir -maxdepth 1 -type f | grep -v '.svn' | grep -v '.pyc'` ; do \
install -m644 $sourcefile /usr/share/bluemindo/src/$sourcedir; \
done \
install -m755 src/ /usr/share/bluemindo/src
install -m644 src/ /usr/share/bluemindo/src
for localename in `find locale/ -maxdepth 1 -type d | grep -v '.svn' | sed 's:locale/::g'` ; do \
if [ -d locale/$localename ]; then \
install -d /usr/share/locale/$localename; \
install -d /usr/share/locale/$localename/LC_MESSAGES; \
msgfmt locale/$localename/LC_MESSAGES/bluemindo.po -o locale/$localename/LC_MESSAGES/ -v; \
install -m644 locale/$localename/LC_MESSAGES/ /usr/share/locale/$localename/LC_MESSAGES; \
fi \
/bin/sh: msgfmt: not found
install: cannot stat `locale/sk/LC_MESSAGES/': No such file or directory
/bin/sh: msgfmt: not found
install: cannot stat `locale/fr/LC_MESSAGES/': No such file or directory
/bin/sh: msgfmt: not found
install: cannot stat `locale/zh_CN/LC_MESSAGES/': No such file or directory
/bin/sh: msgfmt: not found
install: cannot stat `locale/it/LC_MESSAGES/': No such file or directory
make: *** [install] Error 1

I'm not really a developer so feel free to tell me to wait for a release and I'll test that one :-)
oliver hemming

Posted on 2009-01-06 02:16:41.
I installed gettext and reran the 'make install' and it installed cleanly... same error on the though
Erwan Briand

Posted on 2009-01-07 20:14:09.
Yep, gettext is used for the translation of the software.

I'm currently rewriting the code so if you want to test, you have to delete src/modules/lyrics, src/plugins/jabber, src/plugins/lastfm and src/plugins/gajim. These extensions will be recoded/reorganized in a near futur (I'm currently working hard on Bluemindo).

In addition, I'm not sure that the makefile works good with my recent modifications. You can test the software by executing ./ without install anything!
1 → 4 of 4