Skip Menu |

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

Report information
The Basics
Id: 13878
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Graph-Easy

People
Owner: TELS [...] cpan.org
Requestors: stratedge [...] gmail.com
Cc:
AdminCc:

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



Subject: Simply doesn't work at all
On "Linux version 2.4.20-30.9 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Wed Feb 4 20:44:26 EST 2004", Perl v5.8.3, I am seeing the following when trying to execute a very basic Graph: use Graph::Easy; my $graph = Graph::Easy->new(); my $t1 = Graph::Easy::Node->new(name => 'Test1'); my $t2 = Graph::Easy::Node->new(name => 'Test2'); my $t3 = Graph::Easy::Node->new(name => 'Test3'); $graph->add_edge($t1, $t2); $graph->add_edge($t2, $t3); $graph->layout(); print $graph->as_ascii(); exit(0); Where I get the following error: Can't call method "attribute" on an undefined value at /usr/lib/perl5/site_perl/5.8.3/Graph/Easy/Edge/Cell.pm line 347. The get the same error when I try to parse from text.
The failure was caused by a bug in Graph 0.66. Downgrading to Graph 0.65 or upgrading to Graph 0.67 will fix the issue. In addition, upgrading to Graph::Easy v0.24 will also fix the problem by requiring Graph 0.67. Thanx for the report :)