My code runs successfully when I run it locally, but when I upload it to GAE and try to run it, it throws me a BadZipfile: The file is not a zip file or ends with a comment
raw_file = urllib2.urlopen(url)
buffer = cStringIO.StringIO(raw_file.read())
z = zipfile.ZipFile(buffer)
zip file size is 2.5 mb unzipped size is 14 mb
What is the difference in the two environments causing this error?
mike
source
share