Hi,
the whole part
try:
import ICCProfile
...
except ImportError:
is a leftover from development code. It can be removed with just leaving the
name = "ICC Profile"
without impeding any functionality (I contributed support for ICC
profile reading/writing a while back, and forgot to re
I suspect a buglet in the GAE development server: when reloading the
code, it explicitly messes with sys.modules in a way that triggers
this error when PIL is invoked the next time (by calling code in a
module that no longer exists in sys.modules). It only happens for
some PNG files, and only for
As you suggested, I've commented out the try except code
#try:
#import ICCProfile
#p = ICCProfile.ICCProfile(im.info["icc_profile"])
#name = p.tags.desc.get("ASCII", p.tags.desc.get("Unicode",
p.tags.desc.get("Macintosh", p.tags.desc.get("en", {}).get("U
On Sun, Nov 14, 2010 at 3:46 PM, Bharathwaaj Srinivasan
wrote:
> Hi,
>
> I tried from the command line. Still getting error. Please see the log.
>
> bhar...@bharath-laptop:~/workspace/webKit$ python2.5
> Python 2.5.5 (r255:77872, Nov 3 2010, 13:18:19)
> [GCC 4.4.5] on linux2
> Type "help", "copyr
Hi,
I tried from the command line. Still getting error. Please see the log.
bhar...@bharath-laptop:~/workspace/webKit$ python2.5
Python 2.5.5 (r255:77872, Nov 3 2010, 13:18:19)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> import
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
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
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.
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
Kind regards,
Bharath
On 13 November 2010 02:04, Fredrik Lundh wrote:
> On Fri
On Fri, Nov 12, 2010 at 7:30 PM, Bharathwaaj Srinivasan
wrote:
> I keep getting error in import ICCProfile in PNGImagePlugin.py _save.
>
> What am I missing? Which package contains ICCProfile?
Not sure why that code was left in there, but iirc it's an extension hook.
> I've been searching but co
Hi,
I keep getting error in import ICCProfile in PNGImagePlugin.py _save.
What am I missing? Which package contains ICCProfile?
I've been searching but couldn't get a clue on why it is failing.
The support was added as mentioned here:
http://mail.python.org/pipermail/image-sig/2009-March/005460
11 matches
Mail list logo