RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/Search/Build.html line 288 error

am going to investigate but in the meantime does anybody know what
happened, no files were changed or modified in any way since friday
(it worked on friday) currently can see tickets, open tickets,
resolve tickets, but none of the links work (left side)

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new( ‘AND’,
$$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215
raw error

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new( ‘AND’,
$$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215

raw error

Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.

Trace begun at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object
method “new” via package “RT::Interface::Web::QueryBuilder::Tree” at /
usr/local/rt3/share/html/Search/Build.html line 288.^J’) called at /
usr/local/rt3/share/html/Search/Build.html line 288
HTML::Mason::Commands::ANON(undef, ‘SCALAR(0xba774c8)’, ‘ARRAY
(0xba274c0)’) called at /usr/local/rt3/share/html/Search/Build.html
line 451
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xba64d44)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1251
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/local/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xb6200cc)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1246
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/
perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 411
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
CGIHandler.pm line 192
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm
line 192
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 123
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm
line 123
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH
(0xb689d6c)’, ‘HASH(0xb79c164)’) called at /usr/lib/perl5/site_perl/
5.8.5/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object
(‘HTML::Mason::CGIHandler=HASH(0xb689d6c)’, ‘CGI::Fast=HASH
(0xb79c1a0)’) called at /usr/local/rt3/bin/mason_handler.fcgi line 76
eval {…} at /usr/local/rt3/bin/mason_handler.fcgi line 76

(sorry for the top post)

a force install (via cpan) of Scalar::Util id the trickOn May 22, 2006, at 10:46 AM, Chaim Rieger wrote:

am going to investigate but in the meantime does anybody know what
happened, no files were changed or modified in any way since friday
(it worked on friday) currently can see tickets, open tickets,
resolve tickets, but none of the links work (left side)

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/
html/Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new
( ‘AND’, $$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215
raw error

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/
html/Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new
( ‘AND’, $$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215

raw error

Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/
html/Search/Build.html line 288.

Trace begun at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object
method “new” via package "RT::Interface::Web::QueryBuilder::Tree"
at /usr/local/rt3/share/html/Search/Build.html line 288.^J’) called
at /usr/local/rt3/share/html/Search/Build.html line 288
HTML::Mason::Commands::ANON(undef, ‘SCALAR(0xba774c8)’, ‘ARRAY
(0xba274c0)’) called at /usr/local/rt3/share/html/Search/Build.html
line 451
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xba64d44)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1251
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/local/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xb6200cc)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1246
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/
perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 411
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
CGIHandler.pm line 192
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
CGIHandler.pm line 192
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 123
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
CGIHandler.pm line 123
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH
(0xb689d6c)’, ‘HASH(0xb79c164)’) called at /usr/lib/perl5/site_perl/
5.8.5/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object
(‘HTML::Mason::CGIHandler=HASH(0xb689d6c)’, ‘CGI::Fast=HASH
(0xb79c1a0)’) called at /usr/local/rt3/bin/mason_handler.fcgi line 76
eval {…} at /usr/local/rt3/bin/mason_handler.fcgi line 76

I had this same problem on my dev box. I didn’t look into it to much
because the production box was ready when this error started so I just
cp’d the rt dir to the new server and the issue went away. I think I
the problem lies in one of the perl Mod’s, I never looked to find
witch one. Maybe you can restore from a backup and have my good luck.

-Erik-On 5/22/06, Chaim Rieger chaim.rieger@gmail.com wrote:

am going to investigate but in the meantime does anybody know what
happened, no files were changed or modified in any way since friday
(it worked on friday) currently can see tickets, open tickets,
resolve tickets, but none of the links work (left side)

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new( ‘AND’,
$$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215
raw error

System error
error: Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.
context:

284:
285: my $depth = 1;
286:
287: # make a tree root
288: $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
289: my $root = RT::Interface::Web::QueryBuilder::Tree->new( ‘AND’,
$$tree );
290: my $lastnode = $root;
291: my $parentnode = $root;
292:

code stack: /usr/local/rt3/share/html/Search/Build.html:288
/usr/local/rt3/share/html/autohandler:215

raw error

Can’t locate object method “new” via package
"RT::Interface::Web::QueryBuilder::Tree" at /usr/local/rt3/share/html/
Search/Build.html line 288.

Trace begun at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object
method “new” via package “RT::Interface::Web::QueryBuilder::Tree” at /
usr/local/rt3/share/html/Search/Build.html line 288.^J’) called at /
usr/local/rt3/share/html/Search/Build.html line 288
HTML::Mason::Commands::ANON(undef, ‘SCALAR(0xba774c8)’, ‘ARRAY
(0xba274c0)’) called at /usr/local/rt3/share/html/Search/Build.html
line 451
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xba64d44)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1251
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/local/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.8.5/
HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH
(0xb6200cc)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Request.pm line 1246
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/
perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 459
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 411
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
CGIHandler.pm line 192
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm
line 192
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH
(0xb620030)’) called at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/
Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/lib/perl5/
site_perl/5.8.5/HTML/Mason/CGIHandler.pm line 123
eval {…} at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm
line 123
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH
(0xb689d6c)’, ‘HASH(0xb79c164)’) called at /usr/lib/perl5/site_perl/
5.8.5/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object
(‘HTML::Mason::CGIHandler=HASH(0xb689d6c)’, ‘CGI::Fast=HASH
(0xb79c1a0)’) called at /usr/local/rt3/bin/mason_handler.fcgi line 76
eval {…} at /usr/local/rt3/bin/mason_handler.fcgi line 76


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

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

-Erik-