Skip Menu |

This queue is for tickets about the Chart-Gnuplot CPAN distribution.

Report information
The Basics
Id: 42913
Status: rejected
Priority: 0/
Queue: Chart-Gnuplot

People
Owner: Nobody in particular
Requestors: eugenek [...] 45-98.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: Installed correctly, but does not work
Debian Etch, perl 5.8.8, Chart::Gnuplot installed without any troubles through CPAN shell. Just exists (no file created, no messages displayed) when I try to run example: use strict; use Chart::Gnuplot; my $chart = Chart::Gnuplot->new( output => "expression.png" ); my $dataSet = Chart::Gnuplot::DataSet->new( func => "sin(x)" ); $chart->plot2d($dataSet); Could not find how to debug this in a straight way.
I mean, exits.
Subject: Re: [rt.cpan.org #42913] Installed correctly, but does not work
Date: Fri, 30 Jan 2009 15:12:08 +0800
To: bug-Chart-Gnuplot [...] rt.cpan.org
From: Ka-Wai Mak <kwmak [...] cpan.org>
Please try to output it in postscript format first: my $chart = Chart::Gnuplot->new( output => "expression.ps" ); If you still cannot get "expression.ps", please check (1) whether you can write in the temporary directory ($TMP or $TEMP or "/tmp"). (2) the version of gnuplot (use command "gnuplot --version"). Version 4.2.0 or higher is recommended. If you get "expression.ps", please check whether ImageMagick (esp. the "convert" command) is installed. If it is not yet installed, you may either install it (recommended) or specify the gnuplot terminal, e.g. my $chart = Chart::Gnuplot->new( terminal => "png", output => "expression.png" ); Regards, Ka-Wai