Re: Error when python script run as cgi script

2007-10-22 Thread sophie_newbie
On Oct 21, 7:28 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Sun, 21 Oct 2007 09:50:54 -0700, sophie_newbie > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > Hi, I'm running a python script which if I run from the command line > > as root runs fine. But if I run it t

Error when python script run as cgi script

2007-10-21 Thread sophie_newbie
Hi, I'm running a python script which if I run from the command line as root runs fine. But if I run it through the web-browser as a cgi script gives the following error "Error in X11: unable to start device PNG". Now I should say that this python script is calling fucntions in R (a scripting lang