[rt-users] RTx::WorkflowBuilder - unable to run rt-workflow

Kevin Falcone falcone at bestpractical.com
Tue Dec 15 16:04:40 EST 2009


On Tue, Dec 15, 2009 at 03:34:55PM -0500, Samarco, Paul wrote:
> Thanks for your help.
> 
> That seems to get me by this particular module, however it failed on my next plugin module. I also added that path, and again it worked, but failed on my next plugin. Below is the new error:
> 
> [Tue Dec 15 20:22:08 2009] [crit]: Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/local/plugins/RTx-WorkflowBuilder/lib /opt/rt3/local/plugins/RT-FM/lib /opt/rt3/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 /opt/rt3/lib/RT.pm line 627. (/opt/rt3/lib/RT.pm:377)
> Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/local/plugins/RTx-WorkflowBuilder/lib /opt/rt3/local/plugins/RT-FM/lib /opt/rt3/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 /opt/rt3/lib/RT.pm line 627.
> 
> As you can see, we're now failing in RT.pm. Am I going to have to re-construct the $PERL5LIB variable to include everything shown on my RT Configuration page? 

You have to include local/lib or RT won't load extensions,
PERL5LIB=/opt/rt3/local/lib:/opt/rt3/lib:$PERL5LIB should be fine

-kevin

> Thanks in advance
> 
> --paul
> 
> 
> -----Original Message-----
> From: Shawn M Moore [mailto:sartak at bestpractical.com] 
> Sent: Tuesday, December 15, 2009 2:53 PM
> To: Samarco, Paul
> Cc: 'rt-users at lists.bestpractical.com'
> Subject: Re: [rt-users] RTx::WorkflowBuilder - unable to run rt-workflow
> 
> On 09/12/15 14:37, Samarco, Paul wrote:
> > /opt/rt3/local/plugins/RTx-WorkflowBuilder# bin/rt-workflow --create
> > TestQueue TestQueue-Approval
> > Can't locate RTx/WorkflowBuilder.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 bin/rt-workflow line 5.
> > BEGIN failed--compilation aborted at bin/rt-workflow line 5.
> 
> The error message lists your @INC paths; your RT library path is not
> included. Does the following work any better for you?
> 
> PERL5LIB=/opt/rt3/lib:$PERL5LIB bin/rt-workflow --create TestQueue
> TestQueue-Approval
> 
> Shawn
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091215/0ec05baf/attachment.sig>


More information about the rt-users mailing list