[Image-SIG] OleFileIO.py still maintained?

Bernd Prager bernd at prager.ws
Mon Jan 30 21:09:10 CET 2006


I'm trying to extract pictures from Outlook attachments and thought to
give OleFileIO.py a shot. With PIL-1.1.5 for Python2.4 on Windows I
unfortunately run into strange errors. When I try to load the message file
I get:

File "C:\bin\Python24\Lib\site-packages\PIL\OleFileIO.py", line 103, in
__init__
    data.append(fp.read(sectorsize))
AttributeError: 'str' object has no attribute 'append'

It's the init in class _OleStream(StringIO.StringIO).

Any ideas what's wrong?

Thanks a lot,
-- Bernd



More information about the Image-SIG mailing list