Rt 3.8.1 graph not working

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

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

stop/start your web serverOn Sat, Dec 6, 2008 at 5:04 PM, Natxo Asenjo natxo.asenjo@gmail.com wrote:

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


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

stop/start your web server

that did not solve the problem yesterday. It doesn’t solve it today
either. I rebooted the vm; removed the mason cache. Any other ideas?

It is not critical either. Is there a way to disable the graphing
abilitiy all together in RT_StieConfig.pm ?

natxo