Error upon selecting queue scrip config

Hi,

I got the following error after clicking on Configuration -> Queues -> (Queue
#4) -> Scrips. I’m running RT 2.1.75, Red Hat 8.0, Apache 1.3.27 w/ FastCGI
2.4.0 (custom-built but fairly vanilla), Perl 5.8.0 (as distributed with Red
Hat 8.0), and MySQL 3.23 as distributed with Red Hat 8.0.

[…begin quote…]
System error
error: Can’t locate object method “LoadById” via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109.
context:

277: }
278:
279: # All errors returned from this routine will be in exception form.
280: local $SIG{‘DIE’} = sub {
281: rethrow_exception( $_[0] );
282: };
283:
284: #
285: # $m is a dynamically scoped global containing this

code stack: /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:109
/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:243
/usr/local/rt3b/share/html/Admin/Elements/ListGlobalScrips:28
/usr/local/rt3b/share/html/Admin/Queues/Scrips.html:34
/usr/local/rt3b/share/html/autohandler:162
[…end quote…]

[…begin “raw error”…]
Can’t locate object method “LoadById” via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109.

Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 123
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object method
"LoadById" via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109.^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 281
HTML::Mason::Request::ANON(‘Can’t locate object method “LoadById” via
package “RT::ScripAction” at /usr/local/rt3b/lib/RT/ScripAction_Overlay.pm
line 109.^J’) called at /usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109
RT::ScripAction::Load(‘RT::ScripAction=HASH(0xa5e156c)’, 15, 1) called at
/usr/local/rt3b/lib/RT/Scrip_Overlay.pm line 243
RT::Scrip::ActionObj(‘RT::Scrip=HASH(0xa5873c4)’) called at
/usr/local/rt3b/share/html/Admin/Elements/ListGlobalScrips line 28
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa587870)’)
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0xa587870)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’,
’/Admin/Elements/ListGlobalScrips’) called at
/usr/local/rt3b/share/html/Admin/Queues/Scrips.html line 34
HTML::Mason::Commands::ANON(‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xa56fd4c)’,
‘id’, 4) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0xa56fd4c)’, ‘id’, 4)
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’,
‘HTML::Mason::Component::FileBased=HASH(0xa56fd4c)’, ‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 735
HTML::Mason::Request::call_next(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’)
called at /usr/local/rt3b/share/html/autohandler line 162
HTML::Mason::Commands::ANON(‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x90e1d18)’,
‘id’, 4) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x90e1d18)’, ‘id’, 4)
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’,
‘HASH(0xa58a6e8)’, ‘HTML::Mason::Component::FileBased=HASH(0x90e1d18)’, ‘id’,
4) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’, ‘HASH(0xa58a6e8)’,
‘HTML::Mason::Component::FileBased=HASH(0x90e1d18)’, ‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’, ‘HASH(0xa58a6e8)’,
‘HTML::Mason::Component::FileBased=HASH(0x90e1d18)’, ‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 296
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0xa5e20ec)’) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 226
HTML::Mason::Interp::exec(‘HTML::Mason::Interp=HASH(0x8dacfe0)’,
’/Admin/Queues/Scrips.html’, ‘id’, 4) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 87
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x8bfdbfc)’,
‘HASH(0xa5cb1cc)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 70
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x8bfdbfc)’,
‘CGI::Fast=HASH(0xa5cb3f4)’) called at /usr/local/rt3b/bin/mason_handler.fcgi
line 43
[…end “raw error”…]

[…begin quote of /var/log/messages…]
Feb 22 14:41:28 archimedes /usr/local/rt3b/bin/mason_handler.fcgi: Scrip 1
died. - Can’t locate object method “CurrentUser” via package "RT::ScripAction"
at /usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 170. Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:170]
[/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:147]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:333]
[/usr/local/rt3b/lib/RT/Transaction_Overlay.pm:169]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:3643]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:2268]
[/usr/local/rt3b/lib/RT/Interface/Web.pm:363]
[/usr/local/rt3b/share/html/Ticket/Display.html:101]
[/usr/local/rt3b/share/html/Ticket/Update.html:189]
[/usr/local/rt3b/share/html/autohandler:162]
(/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:360)
Feb 22 14:41:29 archimedes /usr/local/rt3b/bin/mason_handler.fcgi: Scrip 4
died. - Can’t locate object method “LoadById” via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109. Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:109]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:243]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:333]
[/usr/local/rt3b/lib/RT/Transaction_Overlay.pm:169]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:3643]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:2268]
[/usr/local/rt3b/lib/RT/Interface/Web.pm:363]
[/usr/local/rt3b/share/html/Ticket/Display.html:101]
[/usr/local/rt3b/share/html/Ticket/Update.html:189]
[/usr/local/rt3b/share/html/autohandler:162]
(/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:360)
Feb 22 14:41:29 archimedes /usr/local/rt3b/bin/mason_handler.fcgi: Scrip 5
died. - Can’t locate object method “LoadById” via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109. Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:109]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:243]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:333]
[/usr/local/rt3b/lib/RT/Transaction_Overlay.pm:169]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:3643]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:2268]
[/usr/local/rt3b/lib/RT/Interface/Web.pm:363]
[/usr/local/rt3b/share/html/Ticket/Display.html:101]
[/usr/local/rt3b/share/html/Ticket/Update.html:189]
[/usr/local/rt3b/share/html/autohandler:162]
(/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:360)
Feb 22 14:41:29 archimedes /usr/local/rt3b/bin/mason_handler.fcgi: Scrip 6
died. - Can’t locate object method “LoadById” via package “RT::ScripAction” at
/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm line 109. Stack:
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/usr/local/rt3b/lib/RT/ScripAction_Overlay.pm:109]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:243]
[/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:333]
[/usr/local/rt3b/lib/RT/Transaction_Overlay.pm:169]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:3643]
[/usr/local/rt3b/lib/RT/Ticket_Overlay.pm:2268]
[/usr/local/rt3b/lib/RT/Interface/Web.pm:363]
[/usr/local/rt3b/share/html/Ticket/Display.html:101]
[/usr/local/rt3b/share/html/Ticket/Update.html:189]
[/usr/local/rt3b/share/html/autohandler:162]
(/usr/local/rt3b/lib/RT/Scrip_Overlay.pm:360)
[…end quote of /var/log/messages…]

Eh?

-Graham

Graham Freeman graham@jahiel.net said:

Hi,

I got the following error after clicking on Configuration -> Queues -> (Queue
#4) -> Scrips. I’m running RT 2.1.75, Red Hat 8.0, Apache 1.3.27 w/ FastCGI
2.4.0 (custom-built but fairly vanilla), Perl 5.8.0 (as distributed with Red
Hat 8.0), and MySQL 3.23 as distributed with Red Hat 8.0.
[remainder unquoted]

By the way, I initially got the error while logged in as a user with just
about every permission short of super_user. I logged back in as a super-user
and got the exact same error when trying the same thing.

-Graham