#29 UnicodeDecodeError

open
nobody
Bug fix (17)
5
2013-03-27
2013-03-27
Twi John
No

Hello,

I had to a problem wtth codec but I correct.

This Error:

File "/home/twijohn/Área de Trabalho/boa-constructor-0.6.1/ImageStore.py", line 97, in checkPath
raise InvalidImgPathError, _('%s not valid') %imgPath
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)

Ok. Now go to "ImageStore.py" in line 97

You need add this decode: imgPath.decode('utf-8')

Problem Solved

Thanks. Twi John

Discussion

  • Twi John
    Twi John
    2013-03-27

    ImageStore.py

     
    Attachments