[Image-SIG] Handling "image file is not of type 17" errors...

Fredrik Lundh fredrik at pythonware.com
Sun Nov 25 16:22:02 CET 2007


Alec Bennett wrote:

> Running PIL 1.1.6 with Python 2.4 on Windows XP I
> occasoinally get an error "Image file is not of type
> 17". Unfortunately this error doesn't throw an
> exception, instead it pops up a modular dialog box
> that completely halts my program.

> I've grepped the PIL files for any mention of this
> error and can't find it. I don't imagine anyone knows
> what file is throwing this error? Or otherwise how to
> disable it?

there's no such error message in PIL, afaik.

a quick googling indicates that it might be caused by something in 
wxWindows.  does your application perhaps use wxPython?

</F>



More information about the Image-SIG mailing list