[rt-users] Re: RT 3.2.2 System error

Andreas Wandel andreas.wandel at math.uni-potsdam.de
Wed Nov 15 13:47:03 EST 2006


Hi all,
I found this Posting on gmane.org, but I don't know if the Problem is
solved.

I have the same problem on SuSE 10.0, perl 5.8.7, RT 3.6.1

The output of the code above states that "Weak references are not
supported in
the version of perl..."

Is there some workaround? Or has someone an idea where to get a perl version
that fits and installs on SuSE 10 _without_ internet connection :-( ?

Regards, Andreas

Ruslan U. Zakirov <Ruslan.Zakirov <at> acronis.com> writes:

>
> 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
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>
>




More information about the rt-users mailing list