[rt-devel] Scrip errors

J. Sloan js138 at eng.cam.ac.uk
Fri Feb 21 08:51:24 EST 2003


Hmm.   On a pristine database:
(
make dropdb
make initialize-database
/opt/rt3/sbin/rt-setup-database --action insert --datafile
etc/upgrade/2.1.71
)
I get errors, quoted below.

A different test using just one scrip which I created didn't trigger
these, so I wonder if there is something funky going on with the default
scrips or the way there are installed.

[Fri Feb 21 13:40:51 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/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:3643]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:2268]
  [/opt/rt3/lib/RT/Interface/Web.pm:363]
  [/opt/rt3/share/html/Ticket/Display.html:101]
  [/opt/rt3/share/html/Ticket/Update.html:189]
  [/opt/rt3/share/html/autohandler:162]
 (/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Fri Feb 21 13:40:51 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/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:3643]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:2268]
  [/opt/rt3/lib/RT/Interface/Web.pm:363]
  [/opt/rt3/share/html/Ticket/Display.html:101]
  [/opt/rt3/share/html/Ticket/Update.html:189]
  [/opt/rt3/share/html/autohandler:162]
 (/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Fri Feb 21 13:40:51 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/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:3643]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:2268]
  [/opt/rt3/lib/RT/Interface/Web.pm:363]
  [/opt/rt3/share/html/Ticket/Display.html:101]
  [/opt/rt3/share/html/Ticket/Update.html:189]
  [/opt/rt3/share/html/autohandler:162]
 (/opt/rt3/lib/RT/Scrip_Overlay.pm:360)
[Fri Feb 21 13:40:51 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/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:3643]
  [/opt/rt3/lib/RT/Ticket_Overlay.pm:2268]
  [/opt/rt3/lib/RT/Interface/Web.pm:363]
  [/opt/rt3/share/html/Ticket/Display.html:101]
  [/opt/rt3/share/html/Ticket/Update.html:189]
  [/opt/rt3/share/html/autohandler:162]
 (/opt/rt3/lib/RT/Scrip_Overlay.pm:360)

etc

I've also managed to trigger a Mason error just trying to view the scrips.
What's going on?

Thanks.

John





More information about the Rt-devel mailing list