r3/R3Tagger — Issue #1: Traceback if Python-musicbrainz2 is not installed.
Author: Havvy
Created: 2011-12-15 05:28:42+00:00
State: open

Basically, if musicbrainz cannot be imported, the script throws a traceback. If you plan on ever releasing this, making sure that this is handled would be nice.

Console log:

havvy-chakra% ls
classes.py control.py musicbrainz.py path_extraction.py README tests.py tests.tar.gz
havvy-chakra% chmod u+x control.py
havvy-chakra% ./control.py -h
Traceback (most recent call last):
File "./control.py", line 16, in
import musicbrainz as mu
File "/home/havvy/Downloads/r3Tagger/musicbrainz.py", line 1, in
import musicbrainz2.webservice as ws
ImportError: No module named musicbrainz2.webservice
havvy-chakra%