콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
12739 화면

Hi everybody,

I try to print a picture in a xml file. I have a problem when i get my file.

To do that i use this code:

cr.execute('SELECT res_company.logo_web FROM res_company') res = cr.fetchall() v['logoTmp'] = base64.decodestring(str(res[0][0]))

And i have this error:

UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: invalid start byte

Someone know why?

Thank a lot!

Selverine

아바타
취소