[Catalyst] Chart::Graph::Gnuplot trouble.

Peter Edwards peter at dragonstaff.com
Mon Mar 17 07:51:11 GMT 2008


>[info] test powered by Catalyst 5.7012
>You can connect to your server at http://trillian:3000 exit value =
16777215 signal number = 127 dumped core = 128  at
>/usr/local/share/perl/5.8.8/Chart/Graph/Gnuplot.pm line 768 [info] ***
Request 1 (0.143/s) [13684] [Sun Mar 16 22:16:47 >2008] *** [debug] "GET"
request for "plot" from "127.0.0.1"
>[debug] Path is "plot"

In Chart::Graph::Gnuplot latest it looks like line 768 is in _exec_gnuplot()
which calls system() to run gnuplot.
There are known problems getting the exit status back from a spawned process
under Catalyst.

I hit this a while ago. I didn't manage to track it down quickly so I found
a workaround using IPC::Run. That might work for you if you use the
pseudo-ttys option.

Cat-devs, any pointers as to what in Catalyst is interfering with process
spawning and I/O redirection?

Regards, Peter




More information about the Catalyst mailing list