TypeError: coercing to Unicode: need string or buffer, NoneType found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CoverLovin |
Fix Released
|
Critical
|
James Stewart |
Bug Description
OS: Ubuntu 10.10
Just tried on a small sample of music.
./coverlovin.py "/home/
Evaluating /home/drewsus/
Album info found in 01 Don't Panic.mp3: Coldplay - Parachutes
Trying url: http://
Downloading cover from: http://
to:/home/
Evaluating /home/drewsus/
Evaluating /home/drewsus/
Traceback (most recent call last):
File "./coverlovin.py", line 220, in <module>
sys.
File "./coverlovin.py", line 217, in main
process_
File "./coverlovin.py", line 125, in process_dir
process_
File "./coverlovin.py", line 144, in process_dir
log.info("Album info found in " + file + ": " + artist + " - " + album)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Changed in coverlovin: | |
milestone: | none → 1.01 |
Changed in coverlovin: | |
status: | Fix Committed → Fix Released |
here is another: drewsus/ Downloads/ Music" -i jpg -n "cover. jpg"Evaluating /home/drewsus/ Downloads/ Music/2000 - Parachutes www.di- arezzo. co.uk/multimedi a/images/ wise/couv/ am970893. jpg www.di- arezzo. co.uk/multimedi a/images/ wise/couv/ am970893. jpg drewsus/ Downloads/ Music/2000 - Parachutes/ cover.jpg Downloads/ Music/Elvis As Recorded At Madison Square Garden Downloads/ Music/Ronald Jenkees - Disorganized Fun (2009) exit(main( )) dir(argsOpts[ 'musicDir' ]) dir(dir) Reader( fileFullPath) drewsus/ Programs/ coverlovin_ 1.0/id3reader. py", line 215, in __init__ drewsus/ Programs/ coverlovin_ 1.0/id3reader. py", line 343, in _readId3 _interpret( ) drewsus/ Programs/ coverlovin_ 1.0/id3reader. py", line 142, in _interpret 1:].decode( _encodings[ encoding] ) python2. 6/encodings/ utf_16. py", line 16, in decode utf_16_ decode( input, errors, True)
./coverlovin.py "/home/
Album info found in 01 Don't Panic.mp3: Coldplay - Parachutes
Trying url: http://
Downloading cover from: http://
to:/home/
Evaluating /home/drewsus/
Evaluating /home/drewsus/
Traceback (most recent call last):
File "./coverlovin.py", line 220, in <module>
sys.
File "./coverlovin.py", line 217, in main
process_
File "./coverlovin.py", line 125, in process_dir
process_
File "./coverlovin.py", line 139, in process_dir
id3r = id3reader.
File "/home/
self._readId3()
File "/home/
frame.
File "/home/
value = self.rawData[
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'utf16' codec can't decode byte 0x54 in position 30: truncated data