[dsc] Errors when asking for dns_ip_version graphs
Duane Wessels
wessels at measurement-factory.com
Mon Jun 6 16:17:36 UTC 2011
On Mon, 6 Jun 2011, Anand Buddhdev wrote:
> Hi people,
>
> I'm running dsc-201008131729 on a CentOS 5.6 system. One of the graphs
> I'm asking the grapher to generate is the "IP versions" graphs. When I
> click on that in the UI, I get back no graphs. The web server log shows:
>
> Odd number of elements in hash assignment at /usr/lib/perl5/v
> endor_perl/5.8.8/DSC/extractor.pm line 247, <IN> line 1., referer:
> http://dsc.ripe.net/cgi-bin/dsc-grapher.pl?plot=opcode&server=K-denic
>
> There are many such lines, followed by:
>
> Use of uninitialized value in addition (+) at
> /usr/lib/perl5/vendor_perl/5.8.8/DSC/grapher.pm line 1251., referer:
> http://dsc.ripe.net/cgi-bin/dsc-grapher.pl?plot=opcode&server=K-denic
>
> Has anyone else had these errors? If so, do you know how to fix the code?
Anand,
This was fixed in a after that last release. The patch is below and I will also post
a new tarball.
dsc/trunk$ svn diff -r12603:12604
Index: presenter/perllib/DSC/grapher/plot.pm
===================================================================
--- presenter/perllib/DSC/grapher/plot.pm (revision 12603)
+++ presenter/perllib/DSC/grapher/plot.pm (revision 12604)
@@ -488,7 +488,6 @@
},
dns_ip_version => {
- dataset => 'dns_ip_version_vs_qtype',
plot_type => 'trace',
keys => [qw(IPv4 IPv6 else)],
names => [qw(IPv4 IPv6 Other)],
More information about the dsc
mailing list