hi
I on Google app engine platform, I have problem applying the Gdata api for Picasa.
In the html:
<input type="file" name="img"/>
In the python:
imgs = self.request.get_all('img')
In the example code of http://code.google.com/apis/picasaweb/docs/1.0/developers_guide_python.html
album_url = '/data/feed/api/user/%s/albumid/%s' % (gd_client.email, album.gphoto_id.text)
photo = gd_client.InsertPhotoSimple(album_url, 'New Photo', 'Uploaded using the API', filename, content_type='image/jpeg')
The "filename" give me error message of:
GooglePhotosException: (601, "Found , not path name or object with a .read() method", '
filename_or_handle
must be a path name or a file-like object')
What was the path name or file-like object in this case?