[rt-users] Upgrade issues 3.0.6 -> 3.0.10 [long]

Andy Harrison ah30 at harrisonfamily.com
Mon May 10 11:52:43 EDT 2004


When I upgrade RT 3.0.6, it seems to go smoothly at first, but the instant I
try to pull up an actual ticket, I get:

System error
error: Can't locate object method "Columns" via package
"RT::Attachments" at
/usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.
context: 
... 
10: 
11: 
12: my $attachments = RT::Attachments->new( $session{'CurrentUser'} );
13: 
14: $attachments->Columns( qw( Id Filename ContentType Headers Subject
Parent ContentEncoding ContentType TransactionId Created));
15: 
16: if ( $Ticket->CurrentUserHasRight('ShowTicket') ) {
17: my $transactions = $attachments->NewAlias('Transactions');
18: $attachments->Join( ALIAS1 => 'main',
... 
code stack: /usr/local/rt3/share/html/Ticket/Elements/FindAttachments:14
/usr/local/rt3/share/html/Ticket/Display.html:118
/usr/local/rt3/share/html/autohandler:196
raw error





Can't locate object method "Columns" via package
"RT::Attachments" at
/usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.


Trace begun at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method
"Columns" via package "RT::Attachments" at
/usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14.^J')
called at /usr/local/rt3/share/html/Ticket/Elements/FindAttachments line 14
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0xa32b59c)')
called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm
line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa32b62c)',
'Ticket', 'RT::Ticket=HASH(0xa32b59c)') called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1057
eval {...}('HTML::Mason::Component::FileBased=HASH(0xa32b62c)',
'Ticket', 'RT::Ticket=HASH(0xa32b59c)') called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, 'Ticket',
'RT::Ticket=HASH(0xa32b59c)') called at
/usr/local/rt3/share/html/Ticket/Display.html line 118
HTML::Mason::Commands::__ANON__('id', 4250, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa27a50c)',
'id', 4250, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {...}('HTML::Mason::Component::FileBased=HASH(0xa27a50c)', 'id',
4250, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, 'id', 4250, 'id', 4250) called
at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 752
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa1138a4)',
'id', 4250) called at /usr/local/rt3/share/html/autohandler line 196
HTML::Mason::Commands::__ANON__('id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa1f7c28)',
'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1057
eval {...}('HTML::Mason::Component::FileBased=HASH(0xa1f7c28)', 'id',
4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, undef, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'id', 4250) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa1138a4)')
called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0xa1138a4)') called
at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa1138a4)')
called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa115a6c)',
'Apache=SCALAR(0xa112e38)') called at /usr/local/rt3/bin/webmux.pl line 138
eval {...}('HTML::Mason::ApacheHandler=HASH(0xa115a6c)',
'Apache=SCALAR(0xa112e38)') called at /usr/local/rt3/bin/webmux.pl line 138
RT::Mason::handler('Apache=SCALAR(0xa112e38)') called at /dev/null line 0
eval {...}('Apache=SCALAR(0xa112e38)') called at /dev/null line 0




One other odd thing is that it's using
/usr/local/lib/perl5/site_perl/5.8.0 when I've explicitly specified
that it should be using
/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd for it's perl
version.  

FreeBSD 4.9-RELEASE-p4
perl-5.8.2_5
apache-1.3.28
PostgreSQL 7.3.2
rt-3.0.6

(389)[11:46am] # /usr/local/rt3/perl/bin/perl sbin/rt-test-dependencies --with-postgresql --with-fastcgi | grep -i missing
(390)[11:46am] # 

(392)[11:48am] # grep PERL /usr/local/sbin/apachectl
export PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd:/usr/local/rt3/perl/lib/site_perl
(393)[11:48am] # grep PERL /usr/local/etc/rc.d/apache.sh
export PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd:/usr/local/rt3/perl/lib/site_perl
(394)[11:50am] #


Any ideas?


-- 
Andy Harrison



More information about the rt-users mailing list