GraphViz issue in 3.8.1

Just about worked out all the kinks in my 3.8.1 installation before the
final transition from 3.4.2.

The last one is that when I pull up a ticket and try to view the
relationship graph with GraphViz I get the following error in the browser.

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/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:811]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:441]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:246]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:211]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/…/lib/RT/Interface/Web/Request.pm:68]
[/usr/local/lib/perl5/site_perl/5.10.0/Class/Container.pm:275]
[/usr/local/lib/perl5/site_perl/5.10.0/Class/Container.pm:353]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:348]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm:868]
[/usr/local/lib/perl5/site_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/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:811]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:441]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:246]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:211]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm:97]
[/opt/rt3/bin/…/lib/RT/Interface/Web/Request.pm:68]
[/usr/local/lib/perl5/site_perl/5.10.0/Class/Container.pm:275]
[/usr/local/lib/perl5/site_perl/5.10.0/Class/Container.pm:353]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:348]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm:868]
[/usr/local/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm:822]
[/opt/rt3/bin/webmux.pl:148]
[/opt/rt3/share/html/Ticket/Graphs/index.html:78]
There are no other messages being generated and I am logging in debug mode.

Install Details.

CentOS 5.2
Apache 2.2.9
mod_perl 2.0.4
GraphViz 2.20.2
GraphViz.pm 2.03

Any ideas where to look?

Thanks,

Todd

Try this… it worked for me :slight_smile:

With the same problem in 3.8.0 fresh install, after an explicit install
of IPC::Run::SafeHandles it was resolved:

root@deck:~# perl /opt/rt3/lib/RT/Graph/Tickets.pm
Name “RT::WebPath” used only once: possible typo at
/opt/rt3/lib/RT/Graph/Tickets.pm line 229.
Name “RT::DisableGraphViz” used only once: possible typo at
/opt/rt3/lib/RT/Graph/Tickets.pm line 60.
Can’t locate IPC/Run/SafeHandles.pm in @INC (@INC contains: /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 /opt/rt3/lib/RT/Graph/Tickets.pm line 63.

root@deck:~# perl -MCPAN -e ‘install IPC::Run::SafeHandles’

Luca Greco @ Alca Societ� Cooperativa