[mod_python] plotting modpython

Handrix handrix at gmail.com
Thu Oct 16 10:53:09 EDT 2008


Yes is it.
I've changed path and that worked fine.

Best regards,

On Thu, Oct 16, 2008 at 12:56 PM, Sean Davis <sdavis2 at mail.nih.gov> wrote:

> 2008/10/16 Handrix <handrix at gmail.com>:
> > Hello,
> >
> > I'm working with modpython and I need to draw some statistic, so my
> choise
> > was about matplotlib.
> > so when execute this example :
> >
> > #########################
> > from pylab import *
> > import matplotlib
> > matplotlib.use('Agg')
> >
> > plot([1,2,3,4])
> > savefig('test')
> > #########################
> >
> > I got a Runtime error :
> > RuntimeError: Could not open file test.png
>
> Is this a permissions problem?  If you try saving to somewhere (like
> /tmp) where everyone has write privileges, does that eliminate the
> problem?
>
> Sean
>



-- 
Handrix
Network Engineering/Security
http://securynix.co.cc/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20081016/536d31fd/attachment.html


More information about the Mod_python mailing list