Re: [Image-SIG] import ICCProfile Error

2010-11-13 Thread Fredrik Lundh
So after digging a bit further, the suspect is the auto-reload mechanisms in GAE's development appserver -- the appserver attempts to clear out all imported modules in sys.modules when it detects changes to your application code, and that process apparently leaves the PIL modules in a half-baked st

Re: [Image-SIG] import ICCProfile Error

2010-11-13 Thread Fredrik Lundh
By the way, I'm pretty sure that this only happens for some PNG images, and once you upload your application, PNG reading is done by GAE:s image library, not PIL, so the application you're building should be fine. On Sat, Nov 13, 2010 at 2:40 PM, Fredrik Lundh wrote: > On Fri, Nov 12, 2010 at 1

Re: [Image-SIG] import ICCProfile Error

2010-11-13 Thread Fredrik Lundh
On Fri, Nov 12, 2010 at 10:33 PM, Bharathwaaj Srinivasan wrote: > I'm trying to get the images-demo working for google appengine. > > http://code.google.com/p/google-app-engine-samples/source/browse/trunk/images-demo > > The full traceback can be found here: > > http://pastebin.com/cBn6cA0V Hmm.