Remaining prob .exe with PIL, py2exe and Installer

Markus von Ehr markus.vonehr at ipm.fhg.de
Mon Dec 2 04:37:22 EST 2002


Hi,

I am opening an image using PIL with:

from Image import *

self.mi = open(filename)

Everything is alright opening the images in the unpackaged version.
Using py2exe or Installer I got:

Exception in TKinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1285, in __call__
File "BioChip.pyc", line 260, in Load
File "Image.pyc", line 960, in open
IOError: cannot identify image file

Why does it appear in the packaged version? Where's the difference?
Someone packaged a PIL application with py2exe or installer?

Markus



More information about the Python-list mailing list