SetStatus Action module

Hello all,

Forgive me for not being adept as Perl!

I’m trying to follow your instructions and your
SetStatus Action module at:
http://www.gossamer-threads.com/lists/rt/devel/2931?search_string=SetStatus;#2931

Running into a problem though with getting theinsert_action_SetStatus.pl
script run

Here’s the output:

rt:~/tmp# ./insert_action_SetStatus.pl
Can’t locate config.pm in @INC (@INC contains: /usr/local/rt/etc
/usr/local/rt/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
./insert_action_SetStatus.pl line 70.
BEGIN failed–compilation aborted at ./insert_action_SetStatus.pl line 70.
rt:~/tmp#

We’re running RT-3.8.5 here and I’ve spent
the last 2 days trying to figure this out with
no success as yet…

Hope someone can help!

cheers
James

James Mills

Systems Engineer | Over the Wire Pty Ltd
support@overthewire.com.au | www.overthewire.com.au
Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0488 33 44 81

Hi,

insert_action_SetStatus.pl script uses some internal things Bruce
never shared. AFAICS that SetStatus.pm should work with modern RT. You
can insert a new scrip action into DB using
http://requesttracker.wikia.com/wiki/InitialData instead of using the
script.On Fri, Jun 17, 2011 at 5:35 AM, James Mills james.mills@overthewire.com.au wrote:

Hello all,
Forgive me for not being adept as Perl!
I’m trying to follow your instructions and your
SetStatus Action module
at: http://www.gossamer-threads.com/lists/rt/devel/2931?search_string=SetStatus;#2931
Running into a problem though with getting theinsert_action_SetStatus.pl
script run
Here’s the output:
rt:~/tmp# ./insert_action_SetStatus.pl
Can’t locate config.pm in @INC (@INC contains: /usr/local/rt/etc
/usr/local/rt/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
./insert_action_SetStatus.pl line 70.
BEGIN failed–compilation aborted at ./insert_action_SetStatus.pl line 70.
rt:~/tmp#
We’re running RT-3.8.5 here and I’ve spent
the last 2 days trying to figure this out with
no success as yet…
Hope someone can help!
cheers
James
James Mills

Systems Engineer | Over the Wire Pty Ltd
support@overthewire.com.au | www.overthewire.com.au
Phone: 07 3847 9292 | Fax: 07 3847 9696 | Mobile: 0488 33 44 81

Best regards, Ruslan.