FAQ
Hello!

Catalyst::Runtime 5.80016, freshly generated script, nearly empty
application.

Running with CATALYST_DEBUG=1, on every incoming request

[error] Caught exception in engine "Attribute (_static_debug_message)
does not pass the type constraint because: Validation failed for 'Str'
failed with value ARRAY(0x9a75488) at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Plugin/Static/Simple.pm
line 245

Catalyst::Plugin::Static::Simple::_debug_msg('Hosting=HASH(0x9a72050)')
called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Plugin/Static/Simple.pm
line 82
Class::MOP::Class:::before('Hosting=HASH(0x9a72050)') called at
/usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Method/Wrapped.pm
line 47
Class::MOP::Method::Wrapped::__ANON__('Hosting=HASH(0x9a72050)')
called at
/usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Method/Wrapped.pm
line 89
Hosting::finalize('Hosting=HASH(0x9a72050)') called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1871
eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1861
Catalyst::handle_request('Hosting', 'env', 'HASH(0x9a720dc)')
called at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Engine/HTTP.pm
line 394

Catalyst::Engine::HTTP::_handler('Catalyst::Engine::HTTP=HASH(0x90e3e24)',
'Hosting', 3000, 'GET', '/', 'HTTP/1.0') called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Engine/HTTP.pm line 291

Catalyst::Engine::HTTP::run('Catalyst::Engine::HTTP=HASH(0x90e3e24)',
'Hosting', 3000, undef, 'HASH(0x8fef474)') called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 2163
Catalyst::run('Hosting', 3000, undef, 'HASH(0x8fef474)') called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/ScriptRole.pm line 62

Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0x860b3c0)')
called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Script/Server.pm line 144
Catalyst::Script::Server::__ANON__() called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Restarter/Forking.pm line 20

Catalyst::Restarter::Forking::_fork_and_start('Catalyst::Restarter::Forking=HASH(0x8fef410)')
called at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Restarter.pm
line 80

Catalyst::Restarter::run_and_watch('Catalyst::Restarter::Forking=HASH(0x8fef410)')
called at
/usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Script/Server.pm line 178

Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x860b3c0)') called
at
/usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Method/Wrapped.pm
line 48

Class::MOP::Method::Wrapped::__ANON__('Catalyst::Script::Server=HASH(0x860b3c0)')
called at
/usr/local/lib/perl5/site_perl/5.10.1/mach/Class/MOP/Method/Wrapped.pm
line 89

Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0x860b3c0)') called
at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/ScriptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Hosting',
'Server') called at ./script/hosting_server.pl line 8"

Seems to be a bug in runtime? Or some change with DEBUG I've missed?

Alex.

Search Discussions

  • Colin Bradford at Jan 7, 2010 at 1:45 pm

    2010/1/7 Alex Povolotsky <tarkhil@over.ru>:
    Hello!

    Catalyst::Runtime 5.80016, freshly generated script, nearly empty
    application.

    Running with CATALYST_DEBUG=1, on every incoming request

    [error] Caught exception in engine "Attribute (_static_debug_message) does
    not pass the type constraint because: Validation failed for 'Str' failed
    with value ARRAY(0x9a75488) at
    /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Plugin/Static/Simple.pm line
    245
    It's a bug in Catalyst::Plugin::Static::Simple v0.27. Upgrading to
    the latest (0.28) should fix it.

    Thanks,

    Colin.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 7, '10 at 1:31p
activeJan 7, '10 at 1:45p
posts2
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

Alex Povolotsky: 1 post Colin Bradford: 1 post

People

Translate

site design / logo © 2022 Grokbase