[rt-users] upgrade caused system error--please help

Stefan Leblanc sleblanc at radicalhorizon.com
Fri May 28 15:06:11 EDT 2004


You did restart Apache ??  If you did, well I would re run the dependency-check script...

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Anne Ramey
Sent: Friday, May 28, 2004 3:03 PM
To: Best Practical Users
Subject: [rt-users] upgrade caused system error--please help


When I clicked on a ticket after upgrading from 3.0.4 to 3.0.11:

System error
error: 	Can't locate object method "Columns" via package  
"RT::Attachments" at  
/opt/rt3/local/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: 	/opt/rt3/local/html/Ticket/Elements/FindAttachments:14
/opt/rt3/local/html/Ticket/Display.html:118
/opt/rt3/local/html/autohandler:196

Can't locate object method "Columns" via package  
"RT::Attachments" at  
/opt/rt3/local/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  
/opt/rt3/local/html/Ticket/Elements/FindAttachments line 14.^J') called  
at /opt/rt3/local/html/Ticket/Elements/FindAttachments line 14
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0x940e750)')  
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(0x940f69c)', 'Ticket', 'RT::Ticket=HASH(0x940e750)')  
called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm  
line 1057
eval {...}('HTML::Mason::Component::FileBased=HASH(0x940f69c)',  
'Ticket', 'RT::Ticket=HASH(0x940e750)') 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(0x940e750)') called at  
/opt/rt3/local/html/Ticket/Display.html line 118
HTML::Mason::Commands::__ANON__('id', 3414, 'id', 3414) 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(0x910ef74)', 'id', 3414, 'id', 3414) called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {...}('HTML::Mason::Component::FileBased=HASH(0x910ef74)', 'id',  
3414, 'id', 3414) called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, 'id', 3414, 'id', 3414) 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(0x9400f2c)', 'id', 3414) called at  
/opt/rt3/local/html/autohandler line 196
HTML::Mason::Commands::__ANON__('id', 3414) 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(0x8b2ebfc)', 'id', 3414) called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1057
eval {...}('HTML::Mason::Component::FileBased=HASH(0x8b2ebfc)', 'id',  
3414) 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', 3414) called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'id', 3414) called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'id', 3414) 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(0x9400f2c)') called at  
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line  
134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9400f2c)')  
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(0x9400f2c)') 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(0x9193d10)', 'Apache=SCALAR(0x8d9cc7c)') called at  
/opt/rt3/bin/webmux.pl line 138
eval {...}('HTML::Mason::ApacheHandler=HASH(0x9193d10)',  
'Apache=SCALAR(0x8d9cc7c)') called at /opt/rt3/bin/webmux.pl line 138
RT::Mason::handler('Apache=SCALAR(0x8d9cc7c)') called at /dev/null line  
0
eval {...}('Apache=SCALAR(0x8d9cc7c)') called at /dev/null line 0

What should I do?

Anne
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited. 



More information about the rt-users mailing list