Trouble starting RT

Dear All!

Could you please help me! I’ve just re-installed RT from the ports (updating
all the dependencies). But when I try to access it via browser (webserver
and fcgi settings weren’t changed) it breaks with the following error:

System error
error: Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at /usr/local/rt3/share/html/Elements/Callback
line 52.
context:

48: </%once>
49: <%init>
50: # checks for inode change time for each callback directory
51: my $new_check = join(
52: $;, map { $->[1] => (stat("$->[1]/Callbacks"))[10] }
$m->interp->resolver->comp_root_array
53: ) or return;
54:
55: $Page = $m->callers(1)->path unless ($Page);
56:

code stack: /usr/local/rt3/share/html/Elements/Callback:52
/usr/local/rt3/share/html/autohandler:186
raw error

Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at /usr/local/rt3/share/html/Elements/Callback
line 52.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can't locate object method
“comp_root_array” via package “HTML::Mason::Resolver::File” at
/usr/local/rt3/share/html/Elements/Callback line 52.^J’) called at
/usr/local/rt3/share/html/Elements/Callback line 52
HTML::Mason::Commands::ANON(‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9632e0
4)’, ‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1255 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, ‘_CallbackName’, ‘Auth’) called at
/usr/local/rt3/share/html/autohandler line 186
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x95d313
c)’) called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1250
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 461 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 461
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 413
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)
called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line
192
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 192
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)
called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Interp.pm line 323
HTML::Mason::Interp::exec(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 123 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 123
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x9504470)’,
‘HASH(0x95f256c)’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x9
504470)’, ‘CGI::Fast=HASH(0x95f274c)’) called at
/usr/local/rt3/bin/mason_handler.fcgi line 75 eval {…} at
/usr/local/rt3/bin/mason_handler.fcgi line 75

Where I’m wrong?

Best regards,
Alexander V. Lobantsev
Network Administrator
Theorema Telecom, NOC
St. Petersburg, Russia
+7 812 718-5778
www.teorema.info

I’ve seen such error several times reported on the list, try to
search, I don’t remember resolution.On 12/27/05, Alexander V. Lobantsev rt@teorema.info wrote:

Dear All!

Could you please help me! I’ve just re-installed RT from the ports (updating
all the dependencies). But when I try to access it via browser (webserver
and fcgi settings weren’t changed) it breaks with the following error:

System error
error: Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at /usr/local/rt3/share/html/Elements/Callback
line 52.
context:

48: </%once>
49: <%init>
50: # checks for inode change time for each callback directory
51: my $new_check = join(
52: $;, map { $->[1] => (stat("$->[1]/Callbacks"))[10] }
$m->interp->resolver->comp_root_array
53: ) or return;
54:
55: $Page = $m->callers(1)->path unless ($Page);
56:

code stack: /usr/local/rt3/share/html/Elements/Callback:52
/usr/local/rt3/share/html/autohandler:186
raw error

Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at /usr/local/rt3/share/html/Elements/Callback
line 52.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can't locate object method
“comp_root_array” via package “HTML::Mason::Resolver::File” at
/usr/local/rt3/share/html/Elements/Callback line 52.^J’) called at
/usr/local/rt3/share/html/Elements/Callback line 52
HTML::Mason::Commands::ANON(‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9632e0
4)’, ‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1255 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, ‘_CallbackName’, ‘Auth’) called at
/usr/local/rt3/share/html/autohandler line 186
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x95d313
c)’) called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1250
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 461 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 461
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 413
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)
called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line
192
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 192
HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)
called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Interp.pm line 323
HTML::Mason::Interp::exec(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 123 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 123
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x9504470)’,
‘HASH(0x95f256c)’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH(0x9
504470)’, ‘CGI::Fast=HASH(0x95f274c)’) called at
/usr/local/rt3/bin/mason_handler.fcgi line 75 eval {…} at
/usr/local/rt3/bin/mason_handler.fcgi line 75

Where I’m wrong?

Best regards,
Alexander V. Lobantsev
Network Administrator
Theorema Telecom, NOC
St. Petersburg, Russia
+7 812 718-5778
www.teorema.info


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

Best regards, Ruslan.

Thanks, I found the solution described here

_array.

Best regards,
Alexander V. Lobantsev
Network Administrator
Theorema Telecom, NOC
St. Petersburg, Russia
+7 812 718-5778
www.teorema.infoFrom: Ruslan Zakirov [mailto:ruslan.zakirov@gmail.com]
Sent: Tuesday, December 27, 2005 3:03 PM
To: Alexander V. Lobantsev
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] trouble starting RT

I’ve seen such error several times reported on the list, try to
search, I don’t remember resolution.

Dear All!

Could you please help me! I’ve just re-installed RT from the ports
(updating
all the dependencies). But when I try to access it via browser (webserver
and fcgi settings weren’t changed) it breaks with the following error:

System error
error: Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at
/usr/local/rt3/share/html/Elements/Callback
line 52.
context:

48: </%once>
49: <%init>
50: # checks for inode change time for each callback directory
51: my $new_check = join(
52: $;, map { $->[1] => (stat("$->[1]/Callbacks"))[10] }
$m->interp->resolver->comp_root_array
53: ) or return;
54:
55: $Page = $m->callers(1)->path unless ($Page);
56:

code stack: /usr/local/rt3/share/html/Elements/Callback:52
/usr/local/rt3/share/html/autohandler:186
raw error

Can’t locate object method “comp_root_array” via package
“HTML::Mason::Resolver::File” at
/usr/local/rt3/share/html/Elements/Callback
line 52.

Trace begun at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception(‘Can't locate object method
“comp_root_array” via package “HTML::Mason::Resolver::File” at
/usr/local/rt3/share/html/Elements/Callback line 52.^J’) called at
/usr/local/rt3/share/html/Elements/Callback line 52
HTML::Mason::Commands::ANON(‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9632e0

4)', ‘_CallbackName’, ‘Auth’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1255 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, ‘_CallbackName’, ‘Auth’) called
at
/usr/local/rt3/share/html/autohandler line 186
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x95d313

c)') called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1250
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 1249
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 461 eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 461
eval {…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm
line 413
HTML::Mason::Request::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)
called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line
192
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 192

HTML::Mason::Request::CGI::exec(‘HTML::Mason::Request::CGI=HASH(0x9604650)’)

called at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Interp.pm line
323
HTML::Mason::Interp::exec(undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 123
eval
{…} at /usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm
line 123

HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x9504470)’,

‘HASH(0x95f256c)’) called at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/CGIHandler.pm line 73

HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x9

504470)', ‘CGI::Fast=HASH(0x95f274c)’) called at
/usr/local/rt3/bin/mason_handler.fcgi line 75 eval {…} at
/usr/local/rt3/bin/mason_handler.fcgi line 75

Where I’m wrong?

Best regards,
Alexander V. Lobantsev
Network Administrator
Theorema Telecom, NOC
St. Petersburg, Russia
+7 812 718-5778
www.teorema.info


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

Best regards, Ruslan.