Rt-crontool EROR

Does anybody Know what can be happening?

I am using rt-crontool Action:

rt-crontool --search RT::Search::FromSQL --search-arg “(Status=‘stalled’ AND Queue=3 AND Priority!=75)” --action MyAction::RT::Action::Verify

I am having a critical ERROR:

[Tue Feb 3 11:56:42 2015] [critical]: ERROR when loading MyAction::RT::Action::Verify. () at rt-crontool line 307. (/opt/rt3/bin/…/lib/RT.pm:382)

The rt-crontool line 307 is at rt-crontool load module:

{{{ load_module

=head2 load_module

Loads a perl module, dying nicely if it can’t find it.

=cut

sub load_module {
my $modname = shift;
eval “require $modname”;
if ($@) {
die loc( “Failed to load module [_1]. ([_2])”, $modname, $@ ); ##### LINE 307
}

}

}}}

THANKS

Does anybody Know what can be happening?

Upgrading to 4.2.7 or higher will resolve
https://issues.bestpractical.com/Ticket/Display.html?id=22991 and allow
you to see the actual error. Alternately, you can apply
https://github.com/bestpractical/rt/commit/625e7b99.patch to your
bin/rt-crontool

  • Alex