[Python-de] PIL:
doch at ba-horb.de
doch at ba-horb.de
Die Okt 19 09:33:25 CEST 2004
Hallo zusammen,
weiterhin habe ich das Problem, wobei mir auffällt, dass wenn ich mehrmals
>>> im = Image.open("test.gif")
eingebe, sich die Fehlermeldung verändert. Anstatt wie in der ersten Mail
beschrieben steht dann an Stelle des
[...]
"C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\GifImagePlugin.py",
[...]
"C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\BmpImagePlugin.py",
oder
"C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\JpegImagePlugin.py",
usw... das ganze geht alphabetisch durch und am Schluss bekomme ich dann
nur noch folgendes (hab's mit unterschiedlichen Dateien versucht, gif,
jpeg, etc...):
----schnipp--------------------------
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\Image.py",
line 1571
, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
>>> im2 = Image.open("test.gif")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Programme\Zope-2.7.2-0\bin\lib\site-packages\PIL\Image.py",
line 1571
, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
----schnapp--------------------------
Scheint als könne er den Filetyp nicht erkennen... hfelt Python oder PIL
irgendwas? Ich habe python halt im Zope-Package installiert, fehlen dort
Teile von Python die PIL benötigt? Hab da keine Ahnung...
Gruß
Christof