Couldn't render template "file error - music/hockey_song.tt: not found"

Stack Trace

Package Line File

Request

do {
  require Symbol;
  my $a = bless({
    _log                 => bless({
                              _body => "[info] *** Request 848 (0.017/s) [3211358] [Tue Mar 19 03:06:13 2024] ***\n[debug] Path is \"music/hockey-song/hockey/songs\"\n[debug] \"GET\" request for \"music/hockey-song/hockey/songs/\" from \"127.0.0.1\"\n[debug] Rendering template \"music/hockey_song.tt\"\n[debug] The Catalyst::View::TT render() method will start dying on error in a future release. Unless you are calling the render() method manually, you probably want the new behaviour, so set render_die => 1 in config for VileRichard::View::TT. If you wish to continue to return the exception rather than throwing it, add render_die => 0 to your config.\n[error] Couldn't render template \"file error - music/hockey_song.tt: not found\"\n[error] Couldn't render template \"file error - music/hockey_song.tt: not found\"\n",
                              _psgi_errors => *main::STDERR,
                              abort => undef,
                              autoflush => 0,
                              level => 31,
                            }, "Catalyst::Log"),
    _path                => "music/hockey-song/hockey/songs/",
    _read_length         => 0,
    _read_position       => 0,
    _use_hash_multivalue => 0,
    action               => "music/hockey-song/hockey/songs",
    address              => "127.0.0.1",
    arguments            => [],
    base                 => bless(do{\(my $o = "http://vilerichard.com:5102/")}, "URI::http"),
    body_parameters      => {},
    captures             => [],
    cookies              => {},
    data_handlers        => {
                              "application/json" => sub { ... },
                              "application/x-www-form-urlencoded" => sub { ... },
                            },
    env                  => {
                              "Catalyst.Stash.v2"             => sub { ... },
                              "HTTP_ACCEPT"                   => "*/*",
                              "HTTP_ACCEPT_ENCODING"          => "gzip",
                              "HTTP_CDN_LOOP"                 => "cloudflare",
                              "HTTP_CF_CONNECTING_IP"         => "54.160.244.62",
                              "HTTP_CF_IPCOUNTRY"             => "US",
                              "HTTP_CF_RAY"                   => "866a3ecca95f1fe0-YYZ",
                              "HTTP_CF_VISITOR"               => "{\"scheme\":\"http\"}",
                              "HTTP_HOST"                     => "vilerichard.com",
                              "HTTP_USER_AGENT"               => "claudebot",
                              "HTTP_X_FORWARDED_FOR"          => "54.160.244.62, 108.162.241.78",
                              "HTTP_X_FORWARDED_HOST"         => "vilerichard.com",
                              "HTTP_X_FORWARDED_PROTO"        => "http",
                              "HTTP_X_FORWARDED_SERVER"       => "www.vilerichard.com",
                              "PATH_INFO"                     => "/music/hockey-song/hockey/songs/",
                              "plack.original_request_method" => "GET",
                              "psgi.errors"                   => *main::STDERR,
                              "psgi.input"                    => \*Starman::Server::$io,
                              "psgi.multiprocess"             => 1,
                              "psgi.multithread"              => "",
                              "psgi.nonblocking"              => "",
                              "psgi.run_once"                 => "",
                              "psgi.streaming"                => 1,
                              "psgi.url_scheme"               => "http",
                              "psgi.version"                  => [1, 1],
                              "psgix.harakiri"                => 1,
                              "psgix.input.buffered"          => 1,
                              "psgix.io"                      => bless(Symbol::gensym(), "Net::Server::Proto::TCP"),
                              "QUERY_STRING"                  => "",
                              "REMOTE_ADDR"                   => "127.0.0.1",
                              "REMOTE_HOST"                   => "127.0.0.1",
                              "REMOTE_PORT"                   => 34420,
                              "REQUEST_METHOD"                => "GET",
                              "REQUEST_URI"                   => "/music/hockey-song/hockey/songs/",
                              "SCRIPT_NAME"                   => "",
                              "SERVER_NAME"                   => "127.0.0.1",
                              "SERVER_PORT"                   => 5102,
                              "SERVER_PROTOCOL"               => "HTTP/1.1",
                            },
    headers              => bless({
                              "::std_case"         => {
                                                        "cdn-loop"           => "CDN-LOOP",
                                                        "cf-connecting-ip"   => "CF-CONNECTING-IP",
                                                        "cf-ipcountry"       => "CF-IPCOUNTRY",
                                                        "cf-ray"             => "CF-RAY",
                                                        "cf-visitor"         => "CF-VISITOR",
                                                        "cookie"             => "Cookie",
                                                        "x-forwarded-for"    => "X-FORWARDED-FOR",
                                                        "x-forwarded-host"   => "X-FORWARDED-HOST",
                                                        "x-forwarded-proto"  => "X-FORWARDED-PROTO",
                                                        "x-forwarded-server" => "X-FORWARDED-SERVER",
                                                      },
                              "accept"             => "*/*",
                              "accept-encoding"    => "gzip",
                              "cdn-loop"           => "cloudflare",
                              "cf-connecting-ip"   => "54.160.244.62",
                              "cf-ipcountry"       => "US",
                              "cf-ray"             => "866a3ecca95f1fe0-YYZ",
                              "cf-visitor"         => "{\"scheme\":\"http\"}",
                              "host"               => "vilerichard.com",
                              "user-agent"         => "claudebot",
                              "x-forwarded-for"    => "54.160.244.62, 108.162.241.78",
                              "x-forwarded-host"   => "vilerichard.com",
                              "x-forwarded-proto"  => "http",
                              "x-forwarded-server" => "www.vilerichard.com",
                            }, "HTTP::Headers"),
    hostname             => "127.0.0.1",
    match                => "music/hockey-song/hockey/songs",
    method               => "GET",
    parameters           => {},
    protocol             => "HTTP/1.1",
    query_keywords       => "",
    query_parameters     => {},
    remote_user          => undef,
    secure               => 0,
    uploads              => {},
    uri                  => bless(do{\(my $o = "http://vilerichard.com:5102/music/hockey-song/hockey/songs/")}, "URI::http"),
  }, "Catalyst::Request");
  *{$a->{env}{"psgix.io"}} = {
    io_socket_domain   => 2,
    io_socket_peername => "\2\0\x86t\x7F\0\0\1\0\0\0\0\0\0\0\0",
    io_socket_proto    => 6,
    io_socket_timeout  => undef,
    io_socket_type     => 1,
    NS_port            => 5102,
  };
  $a;
}

Response

bless({
  _log => bless({
    _body => "[info] *** Request 848 (0.017/s) [3211358] [Tue Mar 19 03:06:13 2024] ***\n[debug] Path is \"music/hockey-song/hockey/songs\"\n[debug] \"GET\" request for \"music/hockey-song/hockey/songs/\" from \"127.0.0.1\"\n[debug] Rendering template \"music/hockey_song.tt\"\n[debug] The Catalyst::View::TT render() method will start dying on error in a future release. Unless you are calling the render() method manually, you probably want the new behaviour, so set render_die => 1 in config for VileRichard::View::TT. If you wish to continue to return the exception rather than throwing it, add render_die => 0 to your config.\n[error] Couldn't render template \"file error - music/hockey_song.tt: not found\"\n[error] Couldn't render template \"file error - music/hockey_song.tt: not found\"\n",
    _psgi_errors => *main::STDERR,
    abort => undef,
    autoflush => 0,
    level => 31,
  }, "Catalyst::Log"),
  _response_cb => sub { ... },
  body => bless(["file", "music/hockey_song.tt: not found", undef], "Template::Exception"),
  cookies => {},
  encodable_content_type => qr/text|xml$|javascript$/,
  encoding => bless({ Name => "utf-8-strict", strict_utf8 => 1 }, "Encode::utf8"),
  finalized_headers => 0,
  headers => bless({
    "::std_case"   => { "x-catalyst" => "X-Catalyst" },
    "content-type" => "text/html; charset=utf-8",
    "x-catalyst"   => 5.90115,
  }, "HTTP::Headers"),
  status => 200,
}, "Catalyst::Response")

Stash

{
  counter_name => undef,
  env_dump     => "{\n  _                                => \"/usr/local/bin/carton\",\n  BASH_SILENCE_DEPRECATION_WARNING => 1,\n  CLICOLOR                         => 1,\n  CONDA_PROMPT_MODIFIER            => \"false\",\n  DBUS_SESSION_BUS_ADDRESS         => \"unix:path=/run/user/1039/bus\",\n  EDITOR                           => \"vim\",\n  FPP_DIR                          => \"/home/vilerichard/.fpp\",\n  FZF_DEFAULT_COMMAND              => \"fd --type f --hidden --follow --exclude .git\",\n  FZF_DEFAULT_OPTS                 => \"--multi --pointer \\\">>\\\"\",\n  GO111MODULE                      => \"on\",\n  GOPATH                           => \"/home/vilerichard/go\",\n  GPG_TTY                          => \"/dev/pts/1\",\n  HARNESS_OPTIONS                  => \"j1:c\",\n  HAS_GO                           => \"true\",\n  HAS_PLENV                        => \"false\",\n  HISTCONTROL                      => \"ignoreboth\",\n  HISTFILESIZE                     => 500000000,\n  HISTSIZE                         => 50000000,\n  HISTTIMEFORMAT                   => \"%Y-%m-%d %H:%M:%S  \",\n  HOME                             => \"/home/vilerichard\",\n  IS_DARWIN                        => \"false\",\n  IS_GITHUB                        => \"false\",\n  IS_MM                            => \"false\",\n  IS_SUDOER                        => \"false\",\n  LANG                             => \"en_US.UTF-8\",\n  LINK_FLAG                        => \"-T\",\n  LOGNAME                          => \"vilerichard\",\n  LSCOLORS                         => \"exfxcxdxbxegedabagacad\",\n  MANPATH                          => \"/home/vilerichard/.npm-packages/share/man:/home/vilerichard/perl5/man:/usr/local/man:/usr/local/share/man:/usr/share/man\",\n  MOTD_SHOWN                       => \"pam\",\n  OLDPWD                           => \"/home/vilerichard\",\n  PATH                             => \"/home/vilerichard/checkout/local/bin:/home/vilerichard/.npm-packages/bin:/home/vilerichard/perl5/bin:/home/vilerichard/dot-files/node_modules/.bin:/home/vilerichard/local/bin:/home/vilerichard/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin\",\n  PATH_ALIASES                     => \"~/dot-files=\\\@dots\",\n  PERL5LIB                         => \"/home/vilerichard/checkout/local/lib/perl5\",\n  PERL_CPANM_OPT                   => \"--local-lib=~/perl5\",\n  PERL_LOCAL_LIB_ROOT              => \"/home/vilerichard/perl5\",\n  PERL_MB_OPT                      => \"--install_base \\\"/home/vilerichard/perl5\\\"\",\n  PERL_MM_OPT                      => \"INSTALL_BASE=/home/vilerichard/perl5\",\n  PLACK_ENV                        => \"development\",\n  POSH_THEME                       => \"/home/vilerichard/.config/oh-my-posh/themes/jandedobbeleer.omp.json\",\n  POWERLINE_COMMAND                => \"oh-my-posh\",\n  PROMPT_COMMAND                   => \"_omp_hook; history -a\",\n  PWD                              => \"/home/vilerichard/checkout\",\n  RIPGREP_CONFIG_PATH              => \"/home/vilerichard/dot-files/ripgreprc\",\n  SHELL                            => \"/bin/bash\",\n  SHLVL                            => 2,\n  SSH_AUTH_SOCK                    => \"/tmp/ssh-DMSe52zp3m/agent.44395\",\n  SSH_CLIENT                       => \"185.192.70.232 61191 22\",\n  SSH_CONNECTION                   => \"185.192.70.232 61191 165.227.46.75 22\",\n  SSH_TTY                          => \"/dev/pts/1\",\n  TERM                             => \"xterm-256color\",\n  USER                             => \"vilerichard\",\n  XDG_DATA_DIRS                    => \"/usr/local/share:/usr/share:/var/lib/snapd/desktop\",\n  XDG_RUNTIME_DIR                  => \"/run/user/1039\",\n  XDG_SESSION_CLASS                => \"user\",\n  XDG_SESSION_ID                   => 41,\n  XDG_SESSION_TYPE                 => \"tty\",\n}",
}

Config

do {
  my $a = {
    "Action::RenderView" => {
      ignore_classes => [
                          "DBIx::Class::ResultSource::Table",
                          "DBIx::Class::ResultSourceHandle",
                          "DateTime",
                        ],
      scrubber_func  => sub { ... },
    },
    "home" => "/home/vilerichard/checkout/VileRichard",
    "name" => "VileRichard",
    "Plugin::ConfigLoader" => {},
    "Plugin::Static::Simple" => {
      debug => 1,
      dirs => [],
      ignore_dirs => [],
      ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"],
      include_path => [
        bless({
          dirs => ["", "home", "vilerichard", "checkout", "VileRichard", "root"],
          file_spec_class => undef,
          volume => "",
        }, "Path::Class::Dir"),
      ],
      mime_types => {},
      mime_types_obj => bless({}, "MIME::Types"),
      no_logs => 1,
    },
    "root" => 'fix',
    "stacktrace" => { context => 3, verbose => 0 },
    "static" => 'fix',
  };
  $a->{"root"} = $a->{"Plugin::Static::Simple"}{include_path}[0];
  $a->{"static"} = $a->{"Plugin::Static::Simple"};
  $a;
}

VileRichard on Catalyst 5.90115