r3/R3Tagger — Issue #2: AttributeError: 'NoneType' object has no attribute 'getTracks'
Author: Havvy
Created: 2011-12-15 05:42:43+00:00
State: open

Traceback (most recent call last):
File "./control.py", line 199, in
main(args.path, args.recurse)
File "./control.py", line 189, in main
rename_tracks()))))), recurse).send(root)
File "./control.py", line 46, in collect
target.send([os.path.join(path, x) for x in files])
File "./control.py", line 37, in clean_compat
target.send(files)
File "./control.py", line 61, in build_album
target.send(classes.Album(res))
File "./control.py", line 143, in populate_tags
from_existing(album)
File "./control.py", line 80, in from_existing
if mu.album_track_count(release) == len(album):
File "/home/havvy/Downloads/r3Tagger/musicbrainz.py", line 122, in album_track_count
return len(album.getTracks())
AttributeError: 'NoneType' object has no attribute 'getTracks'