[rt-devel] Something wrong with my scrips.
J. Sloan
js138 at eng.cam.ac.uk
Tue Mar 4 09:13:04 EST 2003
Despite upgrading to Mason 1.18 and rt-2-1-78, I'm stilling seeing these
errors (at bottom), even on a minimalist system.
My recipie to generate this was straightforward enough.
make dropdb
make initialize-database
via the web interface create two users, make them superusers. Add a
global script 'OnOwnerChange NotifyOwner with template Transaction' and
the create a ticket, change owner a couple of times (which had no effect -
the scrip appeared not to fire off) and then reply to it.
This is a showstopper for me, but since i guess most other people aren't
seeing it it's likely to be something to do with my local setup.
For historical reasons I build both perl and apache myself from source (I
have a long and multifunctional makefile) but at least that means I know
which versions of all the perl modules I'm using, should it prove
relevant.
Any suggestions?
Thanks.
John
[Tue Mar 4 13:33:47 2003] [debug]: Guessed encoding: ascii (/opt/rt3/lib/RT/I18N.pm:260)
[Tue Mar 4 13:33:47 2003] [debug]: Converting 'ascii' to 'utf-8' (/opt/rt3/lib/RT/I18N.pm:279)
[Tue Mar 4 13:33:47 2003] [error]: Scrip 1 died. - Can't locate object method "CurrentUser" via package "RT::ScripAction" at /opt/rt3/lib/RT/ScripAction_Overlay.pm line 170.
Stack:
[/opt/web-world/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:170]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:147]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:333]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/share/html/Ticket/Update.html:189]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Tue Mar 4 13:33:47 2003] [error]: Scrip 4 died. - Can't locate object method "LoadById" via package "RT::ScripAction" at /opt/rt3/lib/RT/ScripAction_Overlay.pm line 109.
Stack:
[/opt/web-world/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:108]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:243]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:333]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/share/html/Ticket/Update.html:189]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Tue Mar 4 13:33:47 2003] [error]: Scrip 5 died. - Can't locate object method "LoadById" via package "RT::ScripAction" at /opt/rt3/lib/RT/ScripAction_Overlay.pm line 109.
Stack:
[/opt/web-world/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:108]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:243]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:333]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/share/html/Ticket/Update.html:189]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Tue Mar 4 13:33:48 2003] [error]: Scrip 6 died. - Can't locate object method "LoadById" via package "RT::ScripAction" at /opt/rt3/lib/RT/ScripAction_Overlay.pm line 109.
Stack:
[/opt/web-world/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:108]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:243]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:333]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3649]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2274]
[/opt/rt3/lib/RT/Interface/Web.pm:388]
[/opt/rt3/share/html/Ticket/Display.html:101]
[/opt/rt3/share/html/Ticket/Update.html:189]
[/opt/rt3/share/html/autohandler:146]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
More information about the Rt-devel
mailing list