Subject: | Bug report |
Date: | Tue, 23 Jan 2007 14:13:45 +0100 |
To: | bug-Bio-Phylo [...] rt.cpan.org |
From: | Jens Joachim <itbjjo [...] itb.uni-stuttgart.de> |
Hallo,
I really like the idea of a SVG-treedrawer, but if I try Treedrawer with
the example from the SYNOPSIS I get the following error:
Can't load image drawer: Can't locate Bio/Phylo/Treedrawer/SVG.pm in
@INC ( @INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . ) at ( eval 20 ) line 3.
If I create a SVG.pm file and change there all appearances of 'Svg' to
'SVG' it works but it doesn't get the options in SVG.pm (line 229)
my $width = $options->{'-width'};
Error message:
Use of uninitialized value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.8.5/Bio/Phylo/Treedrawer/SVG.pm line 230.
I used the following environment:
Bio-Phylo-0.15
Perl: v5.8.5
OS: Linux
Best regards,
Jens Joachim