|
From: Steve C. <sc...@ja...> - 2009-11-15 06:05:34
|
Am trying to use gnuplot as a subprocess to a CGI script written in python (similar to the perl script on p. 241 of "Gnuplot in Action"). The python script itself follows the pattern of the python script on p.230-231, that is gp = os.popen( ' /usr/bin/gnuplot', 'w') ... plotting commands gp.close() The cgi script produces a 500 error. But, if I comment out the gp.close() command, it works perfectly, and produces the graph I want. What is going on here? |