Error trace

Trace begun at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Chameleon5/Middleware/Rules.pm line 71
  1. in Chameleon5::Middleware::Rules::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Chameleon5/Middleware/Rules.pm line 71
       68: 
       69:     if ( !-d $domain_root )
       70:     {
       71:         my $trace = Devel::StackTrace->new;
       72:         my $html  = $trace->as_html;
       73:         $env->{'chameleon.logger'}->warn("MISSING ROOT");
       74:         return [ 200, [ 'Content-Type' => 'text/html' ], [$html] ];
    

    587-300-9681

    $_[0]'Chameleon5::Middleware::Rules=HASH(0x6a1bd08)'
    $_[1]'HASH(0x6c9cc98)'
  2. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    405-922-7796

    $_[0]'HASH(0x6c9cc98)'
  3. in Chameleon5::Middleware::Cache::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Chameleon5/Middleware/Cache.pm line 53
       50:         return $ex->as_plack_response;
       51:     }
       52: 
       53:     my $res = $self->app->($env);
       54:     return $res;
       55: }
       56: 
    

    202-543-8894

    $_[0]'Chameleon5::Middleware::Cache=HASH(0x6a1bf00)'
    $_[1]'HASH(0x6c9cc98)'
  4. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    Show function arguments

    $_[0]'HASH(0x6c9cc98)'
  5. in Plack::Middleware::Session::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Middleware/Session.pm line 53
       50: 
       51:     $env->{'psgix.session.options'} = { id => $id };
       52: 
       53:     my $res = $self->app->($env);
       54:     $self->response_cb($res, sub { $self->finalize($env, $_[0]) });
       55: }
       56: 
    

    Show function arguments

    $_[0]'Plack::Middleware::Session=HASH(0x6a1c278)'
    $_[1]'HASH(0x6c9cc98)'
  6. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    Show function arguments

    $_[0]'HASH(0x6c9cc98)'
  7. in Plack::Middleware::Conditional::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Middleware/Conditional.pm line 16
       13:     my($self, $env) = @_;
       14: 
       15:     my $app = $self->condition->($env) ? $self->middleware : $self->app;
       16:     return $app->($env);
       17: }
       18: 
       19: 1;
    

    (513) 666-2442

    $_[0]'Plack::Middleware::Conditional=HASH(0x6a1c068)'
    $_[1]'HASH(0x6c9cc98)'
  8. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    Show function arguments

    $_[0]'HASH(0x6c9cc98)'
  9. in Chameleon5::Middleware::Logger::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Chameleon5/Middleware/Logger.pm line 49
       46:     $env->{'chameleon.logger'} = $logger_module->new( env => $env, color => $self->{color}, level => $level, debug_chameleon => $self->{debug_chameleon} );
       47:     $env->{'chameleon.logger'}->debug( 'Request started ' . $env->{'psgi.url_scheme'} . ':/' . $env->{HTTP_HOST} . $env->{REQUEST_URI} );
       48: 
       49:     my $ret = $self->app->($env);
       50: 
       51:     #$env->{'chameleon.logger'}->debug( 'Request completed in ' . Time::HiRes::tv_interval( $env->{'chameleon.timer'}, [Time::HiRes::gettimeofday] ) . ' seconds' ); # moved to Chameleon5.pm
       52:     
    

    9057981670

    $_[0]'Chameleon5::Middleware::Logger=HASH(0x6adfb88)'
    $_[1]'HASH(0x6c9cc98)'
  10. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    8282173069

    $_[0]'HASH(0x6c9cc98)'
  11. in Plack::Middleware::StackTrace::try {...} at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Middleware/StackTrace.pm line 38
       35: 
       36:     my $caught;
       37:     my $res = try {
       38:         $self->app->($env);
       39:     } catch {
       40:         $caught = $_;
       41:         [ 500, [ "Content-Type", "text/plain; charset=utf-8" ], [ no_trace_error(utf8_safe($caught)) ] ];
    
  12. in (eval) at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Try/Tiny.pm line 97
       94:     $@ = $prev_error;
       95: 
       96:     # evaluate the try block in the correct context
       97:     if ( $wantarray ) {
       98:       @ret = $try->();
       99:     } elsif ( defined $wantarray ) {
      100:       $ret[0] = $try->();
    
  13. in Try::Tiny::try at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Try/Tiny.pm line 93
       90: 
       91:   # failed will be true if the eval dies, because 1 will not be returned
       92:   # from the eval body
       93:   my $failed = not eval {
       94:     $@ = $prev_error;
       95: 
       96:     # evaluate the try block in the correct context
    

    (819) 375-8796

    $_[0]'CODE(0x6cc3f90)'
    $_[1]'Try::Tiny::Catch=REF(0x6db3200)'
  14. in Plack::Middleware::StackTrace::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Middleware/StackTrace.pm line 42
       39:     } catch {
       40:         $caught = $_;
       41:         [ 500, [ "Content-Type", "text/plain; charset=utf-8" ], [ no_trace_error(utf8_safe($caught)) ] ];
       42:     };
       43: 
       44:     if ($caught) {
       45:         # Try to find the correct trace for the caught exception
    

    (787) 312-9763

    $_[0]'Plack::Middleware::StackTrace=HASH(0x6adfc48)'
    $_[1]'HASH(0x6c9cc98)'
  15. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    Show function arguments

    $_[0]'HASH(0x6c9cc98)'
  16. in Chameleon5::Middleware::HealthCheck::call at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Chameleon5/Middleware/HealthCheck.pm line 19
       16:         return [ 200, [ 'Content-Type' => 'text/plain' ], ["Beware, I live: $$"] ];
       17:     }
       18: 
       19:     my $res = $self->app->($env);
       20:     return $res;
       21: }
       22: 
    

    8165148698

    $_[0]'Chameleon5::Middleware::HealthCheck=HASH(0x585a710)'
    $_[1]'HASH(0x6c9cc98)'
  17. in Plack::Component::__ANON__ at /home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/Plack/Component.pm line 50
       47: sub to_app {
       48:     my $self = shift;
       49:     $self->prepare_app;
       50:     return sub { $self->call(@_) };
       51: }
       52: 
       53: 
    

    (431) 516-5544

    $_[0]'HASH(0x6c9cc98)'
  18. in (eval) at /home/ubuntu/chameleon5/bin/c5.pl line 0
        1: #!/home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/bin/perl
        2: use strict;
        3: use v5.18;
    
  19. at /home/ubuntu/chameleon5/bin/c5.pl line 0
        1: #!/home/ubuntu/perl5/perlbrew/perls/perl-5.18.4/bin/perl
        2: use strict;
        3: use v5.18;