|
From: Thomas S. <t.s...@fz...> - 2009-11-15 13:01:06
|
there should be information about what caused the error in the error-log of the http-server. stevecoh1 wrote: > > 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? > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/strange-behavior-on-calling-gnuplot-from-cgi-script-written-in-python-tp26356744p26358940.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |