Mason error

error in file:   /home/op/swic/omega/mason/obj/other/index.html
 
line 15:  Cannot locate data directory
context:  
... 
11:  my %system = (!exists $ARGS{'system'} ? die "no value sent for required parameter 'system'" : ref $ARGS{'system'} eq 'ARRAY' ? @{$ARGS{'system'}} : ref $ARGS{'system'} eq 'HASH' ? %{$ARGS{'system'}} : die "single value sent for hash parameter '%system'");
12:  my $_out = $m->current_sink;
13:  $m->debug_hook($m->current_comp->path) if (%DB::);
14: 
15:  my @sywarns = @{new SYWARN $system{DIR_SYDATA} };
16:  my $sywarn = $sywarns[0];
17:  my $utctime = $sywarn->{UTCTIME};
18:  $_out->(' <table width="770" align="center" border="0" cellspacing="0" cellpadding="0">
19:  <tr>
... 
component stack:   /other/index.html
/autohandler
code stack:   /home/op/swic/omega/mason/obj/other/index.html:15
/home/op/swic/omega/lib/SYWARN.pm:68
/home/op/swic/omega/mason/obj/other/index.html:15
/home/op/swic/omega/mason/obj/autohandler:98
/home/op/swic/omega/mason/obj/autohandler:14


raw_error





























raw error:
 






























error while executing /other/index.html:
Cannot locate data directory at /home/op/swic/omega/mason/obj/other/index.html line 15
HTML::Mason::Interp::__ANON__('Cannot locate data directory at /home/op/swic/omega/mason/obj/ot...') called at /home/op/swic/perl/lib/5.6.1/Carp.pm line 119
Carp::croak('Cannot locate data directory') called at /home/op/swic/omega/lib/SYWARN.pm line 68
SYWARN::new('SYWARN', '/home/op/swic/2013/sydata') called at /home/op/swic/omega/mason/obj/other/index.html line 15
HTML::Mason::Commands::__ANON__('ver', 2013, 'system', 'HASH(0x20563e7c)') called at /home/op/swic/perl/lib/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x215e58c0)', 'ver', 2013, 'system', 'HASH(0x20563e7c)') called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 651
eval {...} called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 651
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', 'HTML::Mason::Component::FileBased=HASH(0x215e58c0)', 'ver', 2013, 'system', 'HASH(0x20563e7c)') called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', 'ver', 2013, 'system', 'HASH(0x20563e7c)') called at /home/op/swic/omega/mason/obj/autohandler line 98
HTML::Mason::Commands::__ANON__() called at /home/op/swic/perl/lib/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x20563364)') called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 375
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', 'SCALAR(0x215e37fc)', 'SCALAR(0x215e85b8)') called at /home/op/swic/omega/mason/obj/autohandler line 14
HTML::Mason::Commands::__ANON__() called at /home/op/swic/perl/lib/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x20563364)') called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 653
eval {...} called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', 'HASH(0x215e0f50)', 'HTML::Mason::Component::FileBased=HASH(0x20563364)') called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 159
eval {...} called at /home/op/swic/perl/lib/HTML/Mason/Request.pm line 159
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', '/other/index.html') called at /home/op/swic/perl/lib/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x2009447c)', 'Apache=SCALAR(0x21588174)', 'HTML::Mason::Request::ApacheHandler=HASH(0x215cef90)', undef) called at /home/op/swic/perl/lib/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /home/op/swic/perl/lib/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2009447c)', 'Apache=SCALAR(0x21588174)') called at /home/op/swic/mason/conf/handler.pl line 26
HTML::Mason::handler('Apache=SCALAR(0x21588174)') called at /dev/null line 0
eval {...} called at /dev/null line 0