System error

error:  No resource at /web/bsn/htdocs/Resource/download/dhandler line 5.
context: 
1:  <%init>;
2:  my ($resource) = $m->dhandler_arg =~ m/^(\d+).html$/;
3:  die "No resource" unless $resource;
4:  $resource = BSN::Resource->retrieve($resource);
5:  die "No resource" unless $resource;
6: 
7:  my $fn = $resource->original_name;
8:  $fn =~ s/"/\\"/g;
9:  $r->content_type($resource->mime_type);
... 
code stack:  /web/bsn/htdocs/Resource/download/dhandler:5
/web/bsn/htdocs/autohandler:72
/web/bsn/htdocs/autohandler:84
raw error






























No resource at /web/bsn/htdocs/Resource/download/dhandler line 5.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('No resource at /web/bsn/htdocs/Resource/download/dhandler line 5.^J') called at /web/bsn/htdocs/Resource/download/dhandler line 5
HTML::Mason::Commands::__ANON__('session', 'BSN::Session=HASH(0x7f4b071c15a8)') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f4b05771f70)', 'session', 'BSN::Session=HASH(0x7f4b071c15a8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'session', 'BSN::Session=HASH(0x7f4b071c15a8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f4b071bfab8)', 'session', 'BSN::Session=HASH(0x7f4b071c15a8)') called at /web/bsn/htdocs/autohandler line 72
HTML::Mason::Commands::site_launcher at /web/bsn/htdocs/autohandler line 84
eval {...} at /web/bsn/htdocs/autohandler line 84
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f4b06cb9aa0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f4b071bfab8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f4b071bfab8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f4b05b41a48)', 'Apache2::RequestRec=SCALAR(0x7f4b071c1f08)') called at /web/bsn/lib/perl/BSN/Mason.pm line 24
BSN::Mason::handler('Apache2::RequestRec=SCALAR(0x7f4b071c1f08)') called at -e line 0
eval {...} at -e line 0