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

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to