Perl upgrade from 5.8.0 to 5.8.2 breaks install

Hey All

I had RT 3.06 running like a dream on Perl 5.8.0 but this afternoon a
fellow sysadmin upgraded Perl on that box (FreeBSD 4.9-stable) to 5.8.2
and now RT is pretty much broken.

When I click on a queue I get the error below. Any ideas much appreciated!

Is there any easy way for me to get RT to use a custom version of perl?

TIA,

Irvine Short
SANBI Sys Admin

System error
error: Can’t call method “quote” on an undefined value at
/usr/local/lib/perl5/site_perl/5.8.2/DBIx/SearchBuilder.pm line 645.
context:

640:
641: #if we’re explicitly told not to to quote the value or
642: # we’re doing an IS or IS NOT (null), don’t quote the operator.
643:
644: if ( $args{‘QUOTEVALUE’} && $args{‘OPERATOR’} !~ /IS/ ) {
645: $args{‘VALUE’} = $self->_Handle->dbh->quote( $args{‘VALUE’} );
646: }
647: }
648:

code stack: /usr/local/lib/perl5/site_perl/5.8.2/DBIx/SearchBuilder.pm:644
g /usr/local/rt3/lib/RT/SearchBuilder.pm:132
g /usr/local/rt3/lib/RT/Tickets_Overlay_SQL.pm:382
g /usr/local/rt3/lib/RT/Tickets_Overlay.pm:2007
g /usr/local/rt3/lib/RT/Tickets_Overlay.pm:1722
g /usr/local/rt3/share/html/Search/Listing.html:104
g /usr/local/rt3/share/html/autohandler:182
g
raw error

Irvine Short wrote:

Hey All

I had RT 3.06 running like a dream on Perl 5.8.0 but this afternoon a
fellow sysadmin upgraded Perl on that box (FreeBSD 4.9-stable) to 5.8.2
and now RT is pretty much broken.

When I click on a queue I get the error below. Any ideas much appreciated!

Is there any easy way for me to get RT to use a custom version of perl?

I’ve noticed that I had to reinstall all ports related to perl to fix this
problem. A “portupgrade -fr perl perl” should do, but it’ll take a while.
Some safe and optimizing tips are:

  1. portupgrade -Fr perl
  2. Comment all perl related crontab entries and stop apache.
  3. portupgrade -r perl
  4. Uncomment all perl related crontab entries and start apache.

Best regards,

Alex

Thus spake Irvine Short (irvine@sanbi.ac.za) [14/11/03 10:29]:

I had RT 3.06 running like a dream on Perl 5.8.0 but this afternoon a
fellow sysadmin upgraded Perl on that box (FreeBSD 4.9-stable) to 5.8.2
and now RT is pretty much broken.

You probably need to rebuild all the p5-* ports. If you use portupgrade
(sysutils/portupgrade), try ‘portupgrade -af p5-*’.

The old perl modules are sitting in a perl version-dependant location, and
5.8.2 uses that location.

(P.S. don’t forget to re-run ‘use.perl port’, and edit make.conf as
necessary before doing this.)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Irvine,

had a very similar problem with 5.8.1 today and found out that it was
due to the version of DBIx-SearchBuilder, as the mail from Malek two
days ago indicated.

Downgrading DBIx-SearchBuilder to 0.92 fixed that for me.

Regards,

BenneAm Freitag, 14.11.03, um 16:29 Uhr (Europe/Paris) schrieb Irvine Short:

Hey All

I had RT 3.06 running like a dream on Perl 5.8.0 but this afternoon a
fellow sysadmin upgraded Perl on that box (FreeBSD 4.9-stable) to
5.8.2 and now RT is pretty much broken.

When I click on a queue I get the error below. Any ideas much
appreciated!

Is there any easy way for me to get RT to use a custom version of perl?

TIA,

Irvine Short
SANBI Sys Admin

System error
error: Can’t call method “quote” on an undefined value at
/usr/local/lib/perl5/site_perl/5.8.2/DBIx/SearchBuilder.pm line 645.
context:

640:
641: #if we’re explicitly told not to to quote the value or
642: # we’re doing an IS or IS NOT (null), don’t quote the operator.
643:
644: if ( $args{‘QUOTEVALUE’} && $args{‘OPERATOR’} !~ /IS/ ) {
645: $args{‘VALUE’} = $self->_Handle->dbh->quote( $args{‘VALUE’} );
646: }
647: }
648:

code stack:
/usr/local/lib/perl5/site_perl/5.8.2/DBIx/SearchBuilder.pm:644
g /usr/local/rt3/lib/RT/SearchBuilder.pm:132
g /usr/local/rt3/lib/RT/Tickets_Overlay_SQL.pm:382
g /usr/local/rt3/lib/RT/Tickets_Overlay.pm:2007
g /usr/local/rt3/lib/RT/Tickets_Overlay.pm:1722
g /usr/local/rt3/share/html/Search/Listing.html:104
g /usr/local/rt3/share/html/autohandler:182
g
raw error


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


Benjamin Boksa

b.boksa@sidebysite.de
PGP: http://www.sidebysite.de/pgp/b.boksa.asc

side by site GmbH & Co. KG
Druckgestaltung & Webdesign

Barbarastr. 3-9 (Block 6)
D-50735 Koeln

Fon: +49 221 2790964
Fax: +49 221 2790965

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/tUmIR5U9XkJXZKwRAoSlAJ9kQ8w5m4vB06wNl2ZZx3MDJvPWwgCaAtTW
Y9dRkpBxAIaFTSf91IQXxaY=
=L8AK
-----END PGP SIGNATURE-----