Failed upgrade from 3.0.8 to 3.0.9

Hello,

I’m getting the following error when trying to display a ticket after
having updated RT to 3.0.9. What did I miss?

Thanks in advance,
Maxime

  error:  Can't locate object method "Columns" via package

“RT::Attachments” at
/usr/share/request-tracker3/html/Ticket/Elements/ShowAttachments line
66.

  context:  ...
        62:  my %documents;
        63:  my $transactions = $Ticket->Transactions();
        64:  while (my $trans = $transactions->Next()) {
        65:  my $attachments = $trans->Attachments();
        66:  $attachments->Columns( qw( Id Filename ContentType

Headers Subject Parent ContentEncoding ContentType TransactionId) );
67: $attachments->Limit(FIELD => ‘Filename’, OPERATOR =>
‘IS NOT’, VALUE => ‘NULL’, QUOTEVALUE => 0, ENTRYAGGREGATOR => ‘AND’);
68: $attachments->Limit(FIELD => ‘Filename’, OPERATOR =>
’!=’, VALUE => ‘’, ENTRYAGGREGATOR => ‘AND’);
69: while (my $attach = $attachments->Next()) {
70: next unless ($attach->Filename());

  code stack:

/usr/share/request-tracker3/html/Ticket/Elements/ShowAttachments:66
/usr/share/request-tracker3/html/Ticket/Elements/ShowSummary:68
/usr/share/request-tracker3/html/Ticket/Display.html:33
/usr/share/request-tracker3/html/autohandler:195

raw error

Maxime Henrion wrote:

I’m getting the following error when trying to display a ticket after
having updated RT to 3.0.9. What did I miss?

It looks as if RT doesn’t find the most recent DBIx::SearchBuilder
version (0.97).

Ok I am having trouble getting it to look at the new DBIx::SearchBuilder. I
have made and remade it and installed it to no avail. Does anyone else have
any more detailed instructions on how to fix this?

Oh and on the upgrade, did anyone else notice that RT now sends 2 replies to
the customer now?

Thanks in advance,
Erik Watson
Manager - Network Operations
PointServe, Inc.
110 Wild Basin Rd. Suite 300
Austin, TX 78746
Office (512) 617-5387
Fax (512) 617-0466From: Florian Weimer [mailto:fw@deneb.enyo.de]
Sent: Tuesday, February 17, 2004 4:54 AM
To: Maxime Henrion
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Maxime Henrion wrote:

I’m getting the following error when trying to display a ticket after
having updated RT to 3.0.9. What did I miss?

It looks as if RT doesn’t find the most recent DBIx::SearchBuilder version
(0.97). _______________________________________________
rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

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

Anyone, anyone… Bueller, Bueller!!!From: Watson, Erik [mailto:ewatson@pointserve.com]
Sent: Wednesday, February 18, 2004 2:26 PM
To: ‘rt-users@lists.fsck.com’
Subject: RE: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Ok I am having trouble getting it to look at the new DBIx::SearchBuilder. I
have made and remade it and installed it to no avail. Does anyone else have
any more detailed instructions on how to fix this?

Oh and on the upgrade, did anyone else notice that RT now sends 2 replies to
the customer now?

Thanks in advance,
Erik Watson
Manager - Network Operations
PointServe, Inc.
110 Wild Basin Rd. Suite 300
Austin, TX 78746
Office (512) 617-5387
Fax (512) 617-0466

From: Florian Weimer [mailto:fw@deneb.enyo.de]
Sent: Tuesday, February 17, 2004 4:54 AM
To: Maxime Henrion
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Maxime Henrion wrote:

I’m getting the following error when trying to display a ticket after
having updated RT to 3.0.9. What did I miss?

It looks as if RT doesn’t find the most recent DBIx::SearchBuilder version
(0.97). _______________________________________________
rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Watson, Erik wrote:

Anyone, anyone… Bueller, Bueller!!!

I could have sworn someone had already aid this, but maybe not…

Ok I am having trouble getting it to look at the new DBIx::SearchBuilder. I
have made and remade it and installed it to no avail. Does anyone else have
any more detailed instructions on how to fix this?

Have you, by any chance, upgraded perl and not rebuilt mod_perl?

Oh and on the upgrade, did anyone else notice that RT now sends 2 replies to
the customer now?

No. Check your scrips, both per-queue and global…
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company

Phil,
Thank you very much for responding. Yes I did upgrade perl and no I didn’t
rebuild mod_perl. Would that cause the error that I am getting:

error: Can’t locate object method “Columns” via package “RT::Attachments”
at /opt/rt3/share/html/Ticket/Elements/ShowAttachments line 66.

context: …
62: my %documents;
63: my $transactions = $Ticket->Transactions();
64: while (my $trans = $transactions->Next()) {
65: my $attachments = $trans->Attachments();
66: $attachments->Columns( qw( Id Filename ContentType Headers Subject
Parent ContentEncoding ContentType TransactionId) );
67: $attachments->Limit(FIELD => ‘Filename’, OPERATOR => ‘IS NOT’, VALUE =>
‘NULL’, QUOTEVALUE => 0, ENTRYAGGREGATOR => ‘AND’);
68: $attachments->Limit(FIELD => ‘Filename’, OPERATOR => ‘!=’, VALUE => ‘’,
ENTRYAGGREGATOR => ‘AND’);
69: while (my $attach = $attachments->Next()) {
70: next unless ($attach->Filename());

code stack: /opt/rt3/share/html/Ticket/Elements/ShowAttachments:66
g /opt/rt3/share/html/Ticket/Elements/ShowSummary:68
g /opt/rt3/share/html/Ticket/Display.html:33
g /opt/rt3/share/html/autohandler:195
g
raw error

Also, I did check and 3.0.9 must have installed quite a few more scripts, so
I will get to work fixing those right now. Thanks again and I look forward
to your reply

ErikFrom: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Thursday, February 19, 2004 5:56 PM
To: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Watson, Erik wrote:

Anyone, anyone… Bueller, Bueller!!!

I could have sworn someone had already aid this, but maybe not…

Ok I am having trouble getting it to look at the new
DBIx::SearchBuilder. I have made and remade it and installed it to no
avail. Does anyone else have any more detailed instructions on how to
fix this?

Have you, by any chance, upgraded perl and not rebuilt mod_perl?

Oh and on the upgrade, did anyone else notice that RT now sends 2
replies to the customer now?

No. Check your scrips, both per-queue and global…
Phil Homewood, Systems Janitor, http://www.SnapGear.com pdh@snapgear.com Ph:
+61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - A CyberGuard Company
rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Watson, Erik wrote:

Thank you very much for responding. Yes I did upgrade perl and no I didn’t
rebuild mod_perl. Would that cause the error that I am getting:

Indeed it would. Your new DBIx::SB is installed under the new
perl, not the one that mod_perl was built with. Rebuild your
mod_perl and be happy.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company

Bad news… This is a Mandrake box and both apache and mod_perl were both
rpm’s :frowning: I tried uninstalling and reinstalling the rpms to no avail… Any
suggestions?

ErikFrom: ‘Phil Homewood’ [mailto:pdh@snapgear.com]
Sent: Thursday, February 19, 2004 6:07 PM
To: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Watson, Erik wrote:

Thank you very much for responding. Yes I did upgrade perl and no I
didn’t rebuild mod_perl. Would that cause the error that I am getting:

Indeed it would. Your new DBIx::SB is installed under the new perl, not the
one that mod_perl was built with. Rebuild your mod_perl and be happy.
Phil Homewood, Systems Janitor, http://www.SnapGear.com pdh@snapgear.com Ph:
+61 7 3435 2810 Fx: +61 7 3891 3630 SnapGear - A CyberGuard Company
rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Watson, Erik wrote:

Bad news… This is a Mandrake box and both apache and mod_perl were both
rpm’s :frowning: I tried uninstalling and reinstalling the rpms to no avail… Any
suggestions?

Use the Source, Erik…

If you installed perl from an RPM, there should also be a
vendor-supplied mod_perl to accompany it. If you built
perl manually, then you get to play the same game with
mod_perl…
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company

Date: Fri, 20 Feb 2004 10:06:36 +1000
From: ‘Phil Homewood’ pdh@snapgear.com
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Watson, Erik wrote:

Thank you very much for responding. Yes I did upgrade perl and no I didn’t
rebuild mod_perl. Would that cause the error that I am getting:

Indeed it would. Your new DBIx::SB is installed under the new
perl, not the one that mod_perl was built with. Rebuild your
mod_perl and be happy.

Phil Homewood, Systems Janitor, http://www.SnapGear.com

IHMO, it’s interesting to recompile every perl dependent package and
perl modules.

my $0.02.

alex

Well I am starting over… New box, new os, everything by source

Wish me luck

Erik-----Original Message-----
From: Alex Soares de Moura [mailto:alex@rnp.br]
Sent: Friday, February 20, 2004 7:29 AM
To: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

On Fri, 20 Feb 2004, ‘Phil Homewood’ wrote:

Date: Fri, 20 Feb 2004 10:06:36 +1000
From: ‘Phil Homewood’ pdh@snapgear.com
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Watson, Erik wrote:

Thank you very much for responding. Yes I did upgrade perl and no I
didn’t rebuild mod_perl. Would that cause the error that I am
getting:

Indeed it would. Your new DBIx::SB is installed under the new perl,
not the one that mod_perl was built with. Rebuild your mod_perl and be
happy.

Phil Homewood, Systems Janitor, http://www.SnapGear.com

IHMO, it’s interesting to recompile every perl dependent package and perl
modules.

my $0.02.

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

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

I almost have it back up and running correctly, now all I am getting is…

[root@rt3 apache_1.3.29]# /usr/local/apache/bin/apachectl start Odd number
of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Exceptions.pm line 154. [Sun
Feb 22 02:04:34 2004] [error] unknown field mod_perl must be compiled with
PERL_METHOD_HANDLERS=1 (or EVERYTHING=1) to use passed to constructor for
class HTML::Mason::ExceptionCompilation failed in require at
/opt/rt3/bin/webmux.pl line 57. BEGIN failed–compilation aborted at
/opt/rt3/bin/webmux.pl line 63. Compilation failed in require at (eval 5)
line 1.

Syntax error on line 957 of /usr/local/apache/conf/httpd.conf:
unknown field mod_perl must be compiled with PERL_METHOD_HANDLERS=1 (or
EVERYTHING=1) to use passed to constructor for class
HTML::Mason::ExceptionCompilation failed in require at
/opt/rt3/bin/webmux.pl line 57. BEGIN failed–compilation aborted at
/opt/rt3/bin/webmux.pl line 63. Compilation failed in require at (eval 5)
line 1.

/usr/local/apache/bin/apachectl start: httpd could not be started

I have compiled mod_perl with EVERYTHING=1 and it didn’t help. Any
suggestions would be appreciated.

Thanks,
ErikFrom: Cerion Armour-Brown [mailto:cerion@terpsichore.ws]
Sent: Friday, February 20, 2004 5:45 PM
To: Watson, Erik
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Just done the same - In case you haven’t come across them before, this guys’

scripts are really handy for everything bar RT:

good luck!
Cerion

Well I am starting over… New box, new os, everything by source

Wish me luck

Erik

-----Original Message-----
From: Alex Soares de Moura [mailto:alex@rnp.br]
Sent: Friday, February 20, 2004 7:29 AM
To: ‘rt-users@lists.fsck.com’
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Date: Fri, 20 Feb 2004 10:06:36 +1000
From: ‘Phil Homewood’ pdh@snapgear.com
Subject: Re: [rt-users] Failed upgrade from 3.0.8 to 3.0.9

Watson, Erik wrote:

Thank you very much for responding. Yes I did upgrade perl and no I
didn’t rebuild mod_perl. Would that cause the error that I am
getting:

Indeed it would. Your new DBIx::SB is installed under the new perl,
not the one that mod_perl was built with. Rebuild your mod_perl and be
happy.

Phil Homewood, Systems Janitor, http://www.SnapGear.com

IHMO, it’s interesting to recompile every perl dependent package and
perl
modules.

my $0.02.

alex


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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