I have been using the boto python library (in appengine) for several years to upload files to AWS S3. With no new changes to the code, I started getting the following error (in random cases) when trying to change files to S3. After an error occurs, the files are not updated.
My code is:
if website_bucket is not None:
new_key = Key(website_bucket)
new_key.key = "live/"+page_domain+"/"+s3_name
new_key.set_metadata('original_filename', s3_name)
if s3_name == "sitemap.xml":
new_key.set_metadata('Content-Type', 'text/xml')
else:
new_key.set_metadata('Content-Type', 'text/html')
new_key.set_contents_from_string(page_html, policy='public-read')
return s3_name
Error:
in file /boto/s3/key.py", line 684, in sender
S3ResponseError: S3ResponseError: 100 Continue
I do not know the version of the boto library ...
source
share