Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SVG-TT-Graph CPAN distribution.

Report information
The Basics
Id: 44115
Status: resolved
Priority: 0/
Queue: SVG-TT-Graph

People
Owner: Nobody in particular
Requestors: deehun [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.12
Fixed in: (no value)



Subject: Lots of TT warnings from SVG::TT::Graph::Line
I get a ton of template toolkit warnings from SVG::TT::Graph::Line. These are the 3 I've noticed, but I get lots of each, maybe one per data point: Argument "" isn't numeric in numeric gt (>) at input text line 561, <DATA> line 604. Argument "" isn't numeric in numeric lt (<) at input text line 569, <DATA> line 604. Argument "" isn't numeric in subtraction (-) at input text line 1061. Unfortunately the line number doesn't seem to correspond to anything useful in the Line template as far as I can tell. The template is only about 600 lines, so I am not sure what the line number 1061 is referring to. If anyone has a suggestion on making sense of the line numbers, or generate more specific errors from TT, let me know. I'll need to get rid of these because our log file is flooded with these messages. I can't see a way to turn them off in TT either.
I got this problem too. That's how I work around it. It's not pretty. # The SVG::TT::Graph::Pie->graph function ouputs lots of warnings. # Silence them temporarily open my $oldstderr, ">&STDERR" or die "Can't dup STDERR: $!"; open(STDERR, '>', File::Spec->devnull()); my $piechart_svg = $graph->burn(); open STDERR, ">&", $oldstderr or die "Can't dup \$oldout: $!"; Any chance of seeing a fix soon Ian?? If you don't have time to work on it, I volunteer to try and fix the current bugs of SVG:::TT::Graph and release an updated version. Let me know.