okay, was just a small race condition. scary. anyways, fixed now. latest version is posted on the blog.
-A On Thu, Feb 17, 2011 at 8:12 PM, Andrin von Rechenberg <andri...@gmail.com>wrote: > okay this is embarrassing. > There is a bug somewhere in the code > that happens only in prod. Debugging... > > > On Thu, Feb 17, 2011 at 7:25 PM, Andrin von Rechenberg <andri...@gmail.com > > wrote: > >> Hi there >> >> If you are not interested in uploading images to datastore out of code, >> you can stop reading now. >> >> Let's assume you would like to store an image into blobstore on Google >> AppEngine in Python like this: >> >> key = blobstore_image.uploadImage(open("test.png", "rb").read()) >> >> >> and then serve it like this: >> >> self.response.out.write("<img src='" + blobstore_image.getServingUrl(key) + >> "'>") >> >> >> Well, with the normal API, that's not easily possible. >> >> However, I created exactly this API. :) >> >> See here: >> http://devblog.miumeet.com/2011/02/programmatically-upload-images-to.html >> >> Cheers, >> -Andrin >> > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.