[rt-users] rt 3.8.1 graph not working

Natxo Asenjo natxo.asenjo at gmail.com
Fri Dec 5 16:39:24 EST 2008


hi,

I have a clean test installation of rt 3.8.1 and it looks great.
Thanks for all the hard work!

This is a kvm virtual machine with debian testing. Most of the perl
modules are from cpan, not from debian repos. I use the make fixdeps
option.

When I click on a ticket on the grap link, I get this ugly perl error page:

Error during compilation of
/opt/rt3/share/html/Ticket/Graphs/index.html: Attempt to reload
RT/Graph/Tickets.pm aborted. Compilation failed in require at
/opt/rt3/share/html/Ticket/Graphs/index.html line 78. Stack:
[/opt/rt3/share/html/Ticket/Graphs/index.html:78]
[/opt/rt3/share/html/Ticket/Graphs/index.html:78]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:811]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:441]
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:246]
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:211]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/../lib/RT/Interface/Web/Request.pm:68]
[/usr/local/share/perl/5.10.0/Class/Container.pm:275]
[/usr/local/share/perl/5.10.0/Class/Container.pm:353]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:348]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:868]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:822]
[/opt/rt3/bin/webmux.pl:148]
[/opt/rt3/share/html/Ticket/Graphs/index.html:78] BEGIN
failed--compilation aborted at
/opt/rt3/share/html/Ticket/Graphs/index.html line 78. Stack:
[/opt/rt3/share/html/Ticket/Graphs/index.html:78]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:811]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:441]
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:246]
[/usr/local/share/perl/5.10.0/HTML/Mason/Request.pm:211]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/../lib/RT/Interface/Web/Request.pm:68]
[/usr/local/share/perl/5.10.0/Class/Container.pm:275]
[/usr/local/share/perl/5.10.0/Class/Container.pm:353]
[/usr/local/share/perl/5.10.0/HTML/Mason/Interp.pm:348]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:868]
[/usr/local/share/perl/5.10.0/HTML/Mason/ApacheHandler.pm:822]
[/opt/rt3/bin/webmux.pl:148]
[/opt/rt3/share/html/Ticket/Graphs/index.html:78]

I installed graphviz because I was seeing this syslog:
Dec  4 17:14:33  RT: You've enabled GraphViz, but we couldn't load the
module: Can't locate GraphViz.pm in @INC (@INC contains:
/root/rt-3.8.1/sbin/../local/lib /root/rt-3.8.1/sbin/../lib /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /root/rt-3.8.1/sbin/../lib/RT/Config.pm
line 249.

# perl -MCPAN -e 'install GraphViz'
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Fri, 05 Dec 2008 03:27:20 GMT
CPAN: YAML loaded ok (v0.67)
Going to read 148 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
............................................................................DONE
Restored the state of 148 (in 1.2082 secs)
GraphViz is up to date (2.03).

Any clues?

-- 
Groeten,
J.Asenjo



More information about the rt-users mailing list