[rt-users] Can't locate object method "new" via package "RT::Interface::Web::QueryBuilder::Tree" at /opt/rt3/share/html/Search/Build.html line 272.

Bob Bownes bownes at rockstar.seiri.com
Thu Nov 9 13:27:35 EST 2006



I only found the one reference in the archives that pointed to forcing the
install on Scalar::Util



On Thu, 9 Nov 2006, Ruslan Zakirov wrote:

> search in archives
>
> On 11/9/06, Bob Bownes <bownes at rockstar.seiri.com> wrote:
> >
> > Just did a new RT install on a fresh RH4 install. Now I'm getting the
> > following when I click on Tickets
> >
> > I did a search on the error, followed the one suggestion I could find
> > (force install Scalar::Util) with no result...
> >
> > Any clues?
> >
> > Thanks1
> > Bob
> >
> >
> > System error
> > error:          Can't locate object method "new" via package
> > "RT::Interface::Web::QueryBuilder::Tree" at
> > /opt/rt3/share/html/Search/Build.html line 272.
> > context:
> > ...
> > 268:
> > 269:    my $depth = 1;
> > 270:
> > 271:    # make a tree root
> > 272:    $$tree = RT::Interface::Web::QueryBuilder::Tree->new;
> > 273:    my $root = RT::Interface::Web::QueryBuilder::Tree->new( 'AND',
> > $$tree );
> > 274:    my $lastnode = $root;
> > 275:    my $parentnode = $root;
> > 276:
> > ...
> > code stack:     /opt/rt3/share/html/Search/Build.html:272
> > /opt/rt3/share/html/autohandler:279
> > raw error
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Can't locate object method "new" via package
> > "RT::Interface::Web::QueryBuilder::Tree" at
> > /opt/rt3/share/html/Search/Build.html line 272.
> >
> >
> > Trace begun at /usr/lib/perl5/site_perl/5.8.6/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
> > /opt/rt3/share/html/Search/Build.html line 272.^J') called at
> > /opt/rt3/share/html/Search/Build.html line 272
> > HTML::Mason::Commands::__ANON__(undef, 'SCALAR(0xb45e8e8)',
> > 'ARRAY(0xb45e8d0)') called at /opt/rt3/share/html/Search/Build.html line
> > 438
> > HTML::Mason::Commands::__ANON__ at
> > /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 135
> > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb47a390)')
> > called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1256
> > eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
> > 1246
> > HTML::Mason::Request::comp(undef, undef, undef) called at
> > /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 915
> > HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xb5a4bf4)')
> > called at /opt/rt3/share/html/autohandler line 279
> > HTML::Mason::Commands::__ANON__ at
> > /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 135
> > HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xb1e8040)')
> > called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1251
> > eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
> > 1246
> > HTML::Mason::Request::comp(undef, undef, undef) called at
> > /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 460
> > eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
> > 460
> > eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
> > 412
> > HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb5a4bf4)')
> > called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
> > 168
> > HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb5a4bf4)')
> > called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
> > 826
> > HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa8064c4)',
> > 'Apache2::RequestRec=SCALAR(0xb5f03ac)') called at /opt/rt3/bin/webmux.pl
> > line 123
> > eval {...} at /opt/rt3/bin/webmux.pl line 123
> > RT::Mason::handler('Apache2::RequestRec=SCALAR(0xb5f03ac)') called at -e
> > line 0
> > eval {...} at -e line 0
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
>
>
> --
> Best regards, Ruslan.
>



More information about the rt-users mailing list