Re: [Image-SIG] broken data stream when reading image file

2010-06-02 Thread Simon Mosk-Aoyama
Hello Fredrik, Thanks so much for the response, your explanation makes sense to me though I'm not quite sure how to solve it. Here are the results of the python commands you gave me: Python 2.6.5 (r265:79063, Apr 17 2010, 18:49:39) [GCC 4.2.1 (Apple Inc. build 5659)] on darwin Type "help", "copyr

Re: [Image-SIG] broken data stream when reading image file

2010-05-29 Thread Fredrik Lundh
The confusion here is that setup.py reports what it identified, and what parts it told the distutils system to build (expecting distutils to yell if something went wrong), while the selftest.py reports what it actually found for the PIL build it managed to import. Usually, having the first one bui

[Image-SIG] broken data stream when reading image file

2010-05-29 Thread Simon Mosk-Aoyama
Hello, I'm trying to get PIL to work on my OS X 10.6 box, and unfortunately have ran into some trouble with the JPEG CODEC. I installed the library from port, but when I try to run my application and read a JPEG I get the following error: broken data stream when reading image file Tracing this b