Error after upgrading

I upgraded rtir from 1.0.4 to 1.0.5 and now get this error whenever I
try to view any tickets.

RT 3.0.8, Apache 1.3.29

Thanks in advance for the help.

error: could not find component for path
’/Ticket/Elements/FindAttachments’

context: …
160: die “Cannot make alias without caller"
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{”$Exception::Class::Caller::$alias"} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:984
/opt/rt3/share/html/RTIR/Incident/Display.html:378
/opt/rt3/share/html/RTIR/Display.html:190
/opt/rt3/share/html/RTIR/autohandler:2
/opt/rt3/share/html/autohandler:189

Raw error:

could not find component for path ‘/Ticket/Elements/FindAttachments’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164
Exception::Class::ANON(‘could not find component for path
’/Ticket/Elements/FindAttachments’^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 984
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x9
baa34c)’, ‘/Ticket/Elements/FindAttachments’, ‘Ticket’,
‘RT::Ticket=HASH(0x9c22374)’) called at
/opt/rt3/share/html/RTIR/Incident/Display.html line 378
HTML::Mason::Commands::ANON(‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9a
d4474)’, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9ad4474)’, ‘id’,
727) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line
1056
HTML::Mason::Request::comp(undef, undef, ‘id’, 727) called at
/opt/rt3/share/html/RTIR/Display.html line 190
HTML::Mason::Commands::ANON(‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9b
1ce4c)’, ‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9b1ce4c)’, ‘id’,
727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, ‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 752
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HAS
H(0x9baa34c)’) called at /opt/rt3/share/html/RTIR/autohandler line 2
HTML::Mason::Commands::ANON(‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x92
51d78)’, ‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9251d78)’, ‘id’,
727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, ‘id’, 727, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 752
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HAS
H(0x9baa34c)’, ‘id’, 727) called at /opt/rt3/share/html/autohandler line
189
HTML::Mason::Commands::ANON(‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x91
09a2c)’, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1057
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9109a2c)’, ‘id’,
727) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line
1056
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘id’, 727) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x9
baa34c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x9baa34c)’) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheH
andler=HASH(0x9baa34c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=H
ASH(0x9326bd8)’, ‘Apache=SCALAR(0x98e911c)’) called at
/opt/rt3/bin/webmux.pl line 134
eval {…}(‘HTML::Mason::ApacheHandler=HASH(0x9326bd8)’,
‘Apache=SCALAR(0x98e911c)’) called at /opt/rt3/bin/webmux.pl line 134
RT::Mason::handler(‘Apache=SCALAR(0x98e911c)’) called at /dev/null line
0
eval {…}(‘Apache=SCALAR(0x98e911c)’) called at /dev/null line 0

I upgraded rtir from 1.0.4 to 1.0.5 and now get this error whenever I
try to view any tickets.

RT 3.0.8, Apache 1.3.29

Bringing RT up to 3.0.10 should take care of this issue. There should
have been a note inserted into the README. Sorry about that.

How can I go back? I need to get back up. Or is it a must to upgrade
perl to go to 3.0.10? I read on the list about file attachments being
corrupt and we do get our fair share.

So, 3.0.10 doesn’t depend on perl 5.8.3 any more than RT 3.0.1 should
have. You can run 3.0.10 on the same perl you were running 3.0.8 on. We
bumped the dependency because we know about the failure in older perl
versions. As an interim fix for the corruption issue, you can try
the fix I mentioned in
http://marc.free.net.ph/attach/1@20040107.235609.90311f14.attach

Best,
Jesse