[rt-users] Undefined subroutine &Scalar::Util::weaken

bijayant kumar bijayant4u at yahoo.com
Mon Nov 12 23:36:05 EST 2007

I have tried to upgrade through CPAN only, but it said that package is already updated. After some more googling i did

perl -MCPAN -e 'install "G/GB/GBARR/Scalar-List-Utils-1.18.tar.gz"'

and it solves the problem of mail.

But now i am facing another very strange problem.
The autoreply greeting message that i am getting is very strange.
In a mail the upper part contains greeting message with ticket id, and at the bottem another greeting mail written with some another ticket id that were never being created.

Did you or anybody faced the same problem. Please suggest some thing to overcome from this problem.

lists-rt at pimb.org wrote: On Mon, Nov 12, 2007 at 11:52:13AM +0000, bijayant kumar wrote:
> Hello list,
> I was using RT on my production server successfully. We were not using RT from sometime. We decided to use RT from today. Tickets are generating and getting resolved, all things are working well except the email parts. No email is going outside or coming to RT. In log i am seeing the error
> [error]: Scrip Prepare 9 died. - Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm
> [error]: Scrip Prepare 10 died. - Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107
> I gone through the archives and followed some answers like upgrading scalar::utils. But this package is already updated.
> Please help me out. Operating system on which RT is installed is Centos-5.

If i remember correctly, Centos is one of those distros that decided it was a
good idea to default to the perl-only implementation of Scalar::Util, but you
need the XS support for weaken.

You say you've upgraded scalar::utils. Was that through CPAN? If so, did you
make sure to answer yes to the XS question?

Jody Belka
knew (at) pimb (dot) org


If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
    Email us at sales at bestpractical.com or call us at +1 617 812 0745.

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Bijayant Kumar
 Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20071113/b244834d/attachment.htm>

More information about the rt-users mailing list