Include path for email tickets vs. web tickets

I am trying to run a Scrip with condition OnCreate which works fine for web
created tickets but fails for email created tickets. My log file complains
with the following:

Can’t locate RT/Action/AutoTake.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2
/lib /usr/lib/perl5/5.6.1/PA-RISC2.0 /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_pe
rl/5.6.1/PA-RISC2.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl)
at
(eval 32) line 3, line 21.

Require of RT::Action::AutoTake failed.

Can’t locate RT/Action/AutoTake.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2
/lib /usr/lib/perl5/5.6.1/PA-RISC2.0 /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_pe
rl/5.6.1/PA-RISC2.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl)
at
(eval 32) line 3, line 21.

Is there a reason the path RT/Action/AutoTake is no good hear although @INC
clearly includes the rt2/lib/ directory? Is the creation sequence of an
email ticket different from a web ticket that might somehow affect this?
Thanks!

-david

David C. Chu
Network Tools Intern
America Online

I am trying to run a Scrip with condition OnCreate which works fine for web
created tickets but fails for email created tickets. My log file complains

(betcha it doesn’t)

with the following:


Can’t locate RT/Action/AutoTake.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2/lib

You did put AutoTake.pm in the /opt/rt2/lib/RT/Action/ directory , and it
is readable by the user that executes rt-mailgate ?

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations