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

Samarco, Paul psamarco at delonghiusa.com
Tue Dec 15 15:34:55 EST 2009


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? 

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




More information about the rt-users mailing list