[rt-users] RT 3.2.2 System error

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Tue Nov 9 19:03:43 EST 2004


Please, try next code:
 > perl -MScalar::Util=weaken -w -e 'use strict; my $a = {}; weaken($a);'
What does it output?

James Mohr wrote:
> Hi All!
> 
> I am running RT 3.2.2 on SuSE 9.0 with perl 5.8.5. RT starts and seems to run 
> correctly, except when I click the "Tools" link (Admin/index.html). I get the 
> following error:
> 
> System error: 
> Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/
> Generic.pm line 104.
> context: 
>  ... 
> 100: $self->{'TransactionObj'} = $args{'TransactionObj'};
> 101: $self->{'TemplateObj'} = $args{'TemplateObj'};
> 102: $self->{'Type'} = $args{'Type'};
> 103: $self->CurrentUser( $args{'CurrentUser'});
> 104: Scalar::Util::weaken($self->{'ScripObj'});
> 105: Scalar::Util::weaken($self->{'TicketObj'});
> 106: Scalar::Util::weaken($self->{'TemplateObj'});
> 107: Scalar::Util::weaken($self->{'TransactionObj'});
> 108: 
> ... 
> code stack: 
>  /opt/rt3/lib/RT/Action/Generic.pm:104
>  /opt/rt3/lib/RT/Action/Generic.pm:79
>  /opt/rt3/share/html/Tools/Offline.html:107
>  /opt/rt3/share/html/autohandler:221
> 
> I have the perl package Scalar-List-Utils-1.14 installed, which is what cpan 
> downloaded when I requested Scalar::Util. 
> 
> Running 'Scalar::Util' before I downloaded the package said that everything 
> was "found". However, obviously something is missing, but what?
> 
> Any help is greating appreaciated.
> 
> Regards,
> 
> Jim Mohr




More information about the rt-users mailing list