[rt-users] RT 3.2.2 System error

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Wed Nov 10 04:12:12 EST 2004


James Mohr wrote:
> Hallo Ruslan!
> 
> It outputs nothing. The return code is 0.
Output is OK.
IMHO it is your perl problem on SuSE 9.0, I really don't know why it 
happens. Is it distro package or built from sources? Could you rebuild 
your perl from sources?
I recommend try rebuild distro package first. if it doesn't help, try 
build vanilla perl. Don't skip 'make test' step.

> 
> Regards,
> 
> Jim Mohr
> 
> On Wednesday 10 November 2004 01:03, Ruslan U. Zakirov wrote:
> 
>>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