Error logs

I’m trying to add Jesse’s sample code on generating a password for new
users … I originally had this as a separate scrip but have now found
and discovered the wiki article on this
(Request Tracker Wiki) and
have re-done along those lines.

I now have

===== CUT ======


This message has been automatically generated in response to the
creation of a trouble ticket regarding:
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has
assigned an ID of [{$rtname} #{$Ticket->id()}].

Please include the string:

      [{$rtname} #{$Ticket->id}]

in the subject line of all future correspondence about this issue. To
do so,
you may reply to this message.

*RT::User::GenerateRandomNextChar = &RT::User::_GenerateRandomNextChar;

if (($Transaction->CreatorObj->id != $RT::Nobody->id) &&

 (!$Transaction->CreatorObj->Privileged) &&
 ($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*')
 ) {

     my $user = RT::User->new($RT::SystemUser);
     my ($stat, $pass) = $user->SetRandomPassword();

     if (!$stat) {
             $OUT .=

“An internal error has occurred. RT was not able to set a password for
Please contact your local RT administrator for assistance.”;


$OUT .= "
You can check the current status and history of your requests at:


When prompted, enter the following username and password:

     Username: ".$user->Name."
     Password: ".$pass."


                     Thank you,

===== CUT ======

I get the following error however

[Sat Aug 14 22:01:49 2004] [crit]: Trying to check RT::Queue rights for
an unspecified RT::Queue (/opt/rt3/lib/RT/

Any ideas?

Kindest Regards

Jon Morby

fax to email service - register at
and for all your telecom needs -
FidoNet Registration Services Ltd tel: 08714 333 666 - the internet made simple! fax: 08714 334