rembo10/headphones — Issue #492: NameError
Author: Rchood
Created: 2012-02-22 23:27:25+00:00
State: open

When I import my music directory I get the following error:
NameError: global name 'mbhost' is not defined.

I have read that someone has restarted headphones multiple times and that the error has gone away but that isn't working for me :(

I'm using headphones version ae543bb911546259ea232b35a1bbb8af046346cf
And Python version 2.7.2 amd64

I have tried other python versions (3.2.2 32 and 64 bit) but then headphones will not start.
Is there something else I miss?

If you need more information dont hesitate to ask.
I would love to help and make this project a succes :)

This is all the info I get:

Thread-13 : Importing 468 new artists
Exception in thread Thread-13:
File "C:\Python27\lib\threading.py", line 552, in __bootstrap_inner self.run()
File "C:\Python27\lib\threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs)
File "C:\Program Files (x86)\Headphones\headphones\librabysync.py", line 201, in libraryScan importer.artistlist_to_mbids(artist_list)
File "C:\Program Files (x86)\Headphones\headphones\importer.py", line 32, in artistlist_to_mbids results = mb.findArtist(artist, limit=1)
File "C:\Program Files (x86)\Headphones\headphones\mb.py", line 66, in findArtist logger.warn('Attempt to query MusicBrainz for %s failed: %s [%s %i]' % (name, e, mbhost, mbport))
NameError: global name 'mbhost' is not defined