Skip Menu |

This queue is for tickets about the GDGraph CPAN distribution.

Maintainer(s)' notes

There are plenty of good ideas of what people can do published here on the queue. Turning a patch from the tracker into a pull request is not one of them. In order to get maintainers' attention way more quickier, PR should have at least a sample included. We know it's hard to test images generating software, but it doesn't mean we can not test numbers produced by intermediate algorithms used to generate these images, so either a test or a sample.

Report information
The Basics
Id: 17650
Status: rejected
Priority: 0/
Queue: GDGraph

People
Owner: Nobody in particular
Requestors: msgoud1 [...] yahoo.com
Cc:
AdminCc:

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



Subject: GD::Graph::Map::level_angle()
I get this warning line printed in the log files. GD::Graph::Map::level_angle() called too early to check prototype at /appl/cpc/lib/perl5/site_perl/5.6.1/GD/Graph/Map.pm line 367. The above method level_angle() is called from in_front() method which is only used for piemap. I do not understand why it is calling the method that is related to pie as I am using GD::graph::bars. I am using perl version v5.6.1 built for PA-RISC2.0 and operating system HP-UX B.11.00 E 9000/800
This appears to be a bug in GD::Graph::Map, which is not part of the GDGraph distribution. I would suggest you submit a bug against that module (http://rt.cpan.org/Ticket/Create.html?Queue=GDGraph-Map), but it appears not to have been updated since 2001, so that's probably a useless suggestion. On the other hand, I think the warning is spurious: the prototype isn't doing anything for you anyway. You can just ignore it if you like, but if you want to get it out of the log files, edit the GD/Graph/Map.pm source file to remove the prototypes from all of the function definitions (or just the one from level_angle, for the easiest solution). Since almost all of them are meant to be called as methods anyway, the prototypes are entirely useless. If you're unclear on how Perl prototypes work (a not-uncommon complaint), take a look at the "Prototypes" section of perlsub.
Subject: Re: [rt.cpan.org #17650] GD::Graph::Map::level_angle()
Date: Fri, 17 Feb 2006 09:03:22 -0800 (PST)
To: bug-GDGraph [...] rt.cpan.org
From: Madhusudan Gaddamidi <msgoud1 [...] yahoo.com>
Thanks for your reply. Madhu Benjamin Warfield via RT <bug-GDGraph@rt.cpan.org> wrote: This appears to be a bug in GD::Graph::Map, which is not part of the GDGraph distribution. I would suggest you submit a bug against that module (http://rt.cpan.org/Ticket/Create.html?Queue=GDGraph-Map), but it appears not to have been updated since 2001, so that's probably a useless suggestion. On the other hand, I think the warning is spurious: the prototype isn't doing anything for you anyway. You can just ignore it if you like, but if you want to get it out of the log files, edit the GD/Graph/Map.pm source file to remove the prototypes from all of the function definitions (or just the one from level_angle, for the easiest solution). Since almost all of them are meant to be called as methods anyway, the prototypes are entirely useless. If you're unclear on how Perl prototypes work (a not-uncommon complaint), take a look at the "Prototypes" section of perlsub. --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.