Search(s) failing

Just upgraded from 1.83.83 to 2.0.4.

Satisfied all deps (as far as the script is concerned) + CGI::Cookie to 1.2 and
DBIx::SearchBuilder to 0.42

Every time I click any “search” link, I get and “error exec.
/Search/autohandler” (see dump below).

The funny thing is - CGI::Cookie does have a fetch subroutine…

Puzzled :frowning:

Any ideas?

Thanks
Yan
PS No errors in the Apache error logs.

System error
while serving rt.ram.ac.uk /Search/Listing.html
error while executing /Search/autohandler [standard]:
Can’t locate object method “fetch” via package “CGI::Cookie” at
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/autohandler line 16, line
61.
HTML::Mason::Request::ANON(‘Can’t locate object method “fetch” via package
"CGI::Cookie" at…’) called at
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/autohandler line 16
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’,
‘QueueOp’, …) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 660
HTML::Mason::Request::comp1(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)
’, ‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’, ‘ValueOfQueue’, 2,
‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 576
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’, ‘ValueOfQueue’, 2,
‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 310
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’,
‘QueueOp’, …) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 660
HTML::Mason::Request::comp1(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)
’, ‘HASH(0x95c9b60)’, ‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, …) called
at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 582
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘HASH(0x95c9b60)’, ‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, …) called
at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 152
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line
152
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘/Search/Listing.html’, ‘ValueOfQueue’, 2, ‘ValueOfStatus’,
‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 651
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::ApacheHandler=HASH(0x
8ed18e4)’, ‘Apache=SCALAR(0x94addd8)’,
‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’, undef) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 322
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm
line 322
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x8e
d18e4)’, ‘Apache=SCALAR(0x94addd8)’) called at /usr/local/rt2/bin/webmux.pl
line 158
RT::Mason::handler(‘Apache=SCALAR(0x94addd8)’) called at /dev/null line 0
require 0 called at /dev/null line 0
backtrace: /Search/autohandler [standard] <= /autohandler [standard]
Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364

remove the file ‘WebRT/Search/autohandler’ it got yanked a long time ago
and is confusing Mason.On Tue, Aug 14, 2001 at 06:58:50PM +0100, Yan Fitterer wrote:

Just upgraded from 1.83.83 to 2.0.4.

Satisfied all deps (as far as the script is concerned) + CGI::Cookie to 1.2 and
DBIx::SearchBuilder to 0.42

Every time I click any “search” link, I get and “error exec.
/Search/autohandler” (see dump below).

The funny thing is - CGI::Cookie does have a fetch subroutine…

Puzzled :frowning:

Any ideas?

Thanks
Yan
PS No errors in the Apache error logs.


System error
while serving rt.ram.ac.uk /Search/Listing.html
error while executing /Search/autohandler [standard]:
Can’t locate object method “fetch” via package “CGI::Cookie” at
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/autohandler line 16, line
61.
HTML::Mason::Request::ANON(‘Can’t locate object method “fetch” via package
"CGI::Cookie" at…’) called at
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/autohandler line 16
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’,
‘QueueOp’, …) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 660
HTML::Mason::Request::comp1(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)
’, ‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’, ‘ValueOfQueue’, 2,
‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 576
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘HTML::Mason::Component::FileBased=HASH(0x95cff74)’, ‘ValueOfQueue’, 2,
‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 310
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’,
‘QueueOp’, …) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 660
HTML::Mason::Request::comp1(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)
’, ‘HASH(0x95c9b60)’, ‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, …) called
at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 582
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘HASH(0x95c9b60)’, ‘HTML::Mason::Component::FileBased=HASH(0x8ed7104)’,
‘ValueOfQueue’, 2, ‘ValueOfStatus’, ‘ARRAY(0x95c84ec)’, ‘StatusOp’, …) called
at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 152
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line
152
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’
, ‘/Search/Listing.html’, ‘ValueOfQueue’, 2, ‘ValueOfStatus’,
‘ARRAY(0x95c84ec)’, ‘StatusOp’, ‘=’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 651
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::ApacheHandler=HASH(0x
8ed18e4)’, ‘Apache=SCALAR(0x94addd8)’,
‘HTML::Mason::Request::ApacheHandler=HASH(0x95caaa8)’, undef) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 322
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm
line 322
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x8e
d18e4)’, ‘Apache=SCALAR(0x94addd8)’) called at /usr/local/rt2/bin/webmux.pl
line 158
RT::Mason::handler(‘Apache=SCALAR(0x94addd8)’) called at /dev/null line 0
require 0 called at /dev/null line 0
backtrace: /Search/autohandler [standard] <= /autohandler [standard]

Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

autoconf is your friend until it mysteriously stops working, at which
point it is a snarling wolverine attached to your genitals by its teeth
(that said, it’s better than most of the alternatives) – Nathan Mehl