- Notifications
You must be signed in to change notification settings - Fork 977
Closed
Description
I use the example upload_image.py
catch error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
if, I change open(image_filename, 'r')
to open(image_filename, 'rb')
I got error:
suds.WebFault: Server raised fault: 'Unmarshalling Error: cvc-datatype-valid.1.2.1: 'b'/9j/4AAQSkZJRgABA...
so what is the right way to upload image or create ImageAd
My python version is python 3.5.2
and system is ubuntu 16.04
and image is download from http://goo.gl/9JmyKk
Metadata
Metadata
Assignees
Labels
No labels