Oops!  I meant Q4_2009.

I was working on a Windows system with Python 2.6.  I did not build PIL from
source - I simply downloaded the Windows installer.  Reverting to the 1.1.6
version was the only change I made that fixed the font error.

I have another LINUX system that has the same font error that I want to
check.  I don't remember which version of PIL was installed on that one, but
I'm reasonably sure it was 1.1.7.  Once I test that one, I'll let you know
if I get a similar result.  I'll also capture the complete error message on
the Windows system and send that to you.

I hope your vacation was good.

-Kirk






On Sat, Apr 3, 2010 at 8:19 AM, Greg Landrum <[email protected]> wrote:

> Hi Kirk,
>
> On Fri, Apr 2, 2010 at 2:47 PM,  <[email protected]> wrote:
> > While updated various parts of my system, I found that the latest version
> of
> > RDKit (Q3_2009) combined with the latest version of PIL (1.1.7) leads to
> > errors when trying to execute Draw.MolToImageFile(...)
>
> FYI: there is a Q4_2009 version.
>
> > The error stated
> > "cannot load font" and not image was generated. When I downgraded to PIL
> > v1.1.6, all is fine.
> >
> > Nothing mission critical here, just an FYI.
>
> Thanks for the information. Which system was this on? Did you build
> PIL both times yourself or get it in binary form? The reason I ask is
> that 1.1.7 works fine for me on the Mac:
> [3]>>> m = Chem.MolFromSmiles('c1ncccc1')
> [4]>>> Draw.MolToImageFile(m,'blah.png')
> [5]>>> import Image
> [6]>>> Image.VERSION
> Out[6]: '1.1.7'
>
> The "cannot load font" type errors are, I think, generally related to
> freetype, so I'm a bit surprised that one version would work and the
> other not.
>
> Best regards,
> -greg
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to