Hi James,

On Thu, Jun 9, 2011 at 8:22 PM, James Davidson <[email protected]> wrote:
> [...]
> File "C:\Python26\RDKit_2011_03_2\rdkit\Chem\Draw\__init__.py", line 54, in
> MolToImage
>     canvas = Canvas(img)
>   File "C:\Python26\RDKit_2011_03_2\rdkit\Chem\Draw\cairoCanvas.py", line
> 38, in __init__
>     imgd = image.tostring("raw","BGRA")
>   File "C:\Python26\lib\site-packages\PIL\Image.py", line 516, in tostring
>     e = _getencoder(self.mode, encoder_name, args)
>   File "C:\Python26\lib\site-packages\PIL\Image.py", line 389, in
> _getencoder
>     return apply(encoder, (mode,) + args + extra)
> <type 'exceptions.SystemError'>: unknown raw mode

I don't know exactly about the other problems, but this one should be
related to the version of the installed PIL. If I remember correctly,
BGRA raw mode requires PIL 1.1.7.

Regards,
Riccardo

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to