FAQ
All of a sudden my application stopped working and started spewing
these errors. This same code has been running for many days, then
kblam! Suddenly died.

I've been looking and I can't seem to figure out what's going on.

I suspect that it was an underlying Perl module that somehow blew up,
but I'm not sure.

Can anyone see anything in here that indicates what the problem is?

Thanks.

Eric

Couldn't load class (GLR) because: Couldn't instantiate component
"GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
method "isa" on an undefined value at
/usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
line 114.
at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
Class::MOP::__ANON__('Can\'t call method "isa" on an undefined
value at /usr/local/...') called at
/usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
Try::Tiny::try('CODE(0xba03570)',
'Try::Tiny::Catch=REF(0xb9f52b8)') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
Class::MOP::load_first_existing_class('GLR::Schema') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
Class::MOP::load_class('GLR::Schema') called at
/usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema')
called at /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
'GLR::Schema') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
'GLR::Schema') called at
/usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
eval {...} called at
/usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
'GLR::Schema') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
'Moose::Meta::Instance=HASH(0xba1d3d0)',
'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576
Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
line 26
Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)')
called at generated method (unknown origin) line 3
Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
'HASH(0xaebe148)') called at
/usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
'GLR::Model::DB', 'GLR') called at
/usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
'HASH(0xb9a4b60)') called at
/usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
line 2523
eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
/usr/local/share/perl/5.10.0/Catalyst.pm line 2450
Catalyst::setup_components('GLR') called at
/usr/local/share/perl/5.10.0/Catalyst.pm line 1179
Catalyst::setup('GLR') called at
/var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
line 120
require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm
line 114
Class::MOP::__ANON__() called at
/usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x9b450e0)',
'Try::Tiny::Catch=REF(0xa52b128)') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
Class::MOP::load_first_existing_class('GLR') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
Class::MOP::load_class('GLR') called at
/usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)') called
at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
'Server') called at script/glr_server.pl line 8
at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
'GLR::Schema') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
'Moose::Meta::Instance=HASH(0xba1d3d0)',
'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576
Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at
/usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
line 26
Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)')
called at generated method (unknown origin) line 3
Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
'HASH(0xaebe148)') called at
/usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
'GLR::Model::DB', 'GLR') called at
/usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
'HASH(0xb9a4b60)') called at
/usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at
/usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
line 2523
eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
/usr/local/share/perl/5.10.0/Catalyst.pm line 2450
Catalyst::setup_components('GLR') called at
/usr/local/share/perl/5.10.0/Catalyst.pm line 1179
Catalyst::setup('GLR') called at
/var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
line 120
require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm
line 114
Class::MOP::__ANON__() called at
/usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0x9b450e0)',
'Try::Tiny::Catch=REF(0xa52b128)') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
Class::MOP::load_first_existing_class('GLR') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
Class::MOP::load_class('GLR') called at
/usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)') called
at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
'Server') called at script/glr_server.pl line 8"Compilation failed in
require at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
Class::MOP::__ANON__('Couldn\'t instantiate component
"GLR::Model::DB", "Couldn\'t ...') called at
/usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
Try::Tiny::try('CODE(0x9b450e0)',
'Try::Tiny::Catch=REF(0xa52b128)') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
Class::MOP::load_first_existing_class('GLR') called at
/usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
Class::MOP::load_class('GLR') called at
/usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)') called
at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
'Server') called at script/glr_server.pl line 8

Search Discussions

  • Eric Berg at Jan 31, 2011 at 12:34 pm
    I have reverted to previously-known working versions and am having the
    same problem.

    Any help that anyone can provide would most certainly be appreciated.
    This sucks. It's kind of ridiculous too.

    Thanks.

    Eric
    On 1/30/2011 8:34 PM, Eric Berg wrote:
    All of a sudden my application stopped working and started spewing
    these errors. This same code has been running for many days, then
    kblam! Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up,
    but I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't
    call method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an undefined
    value at /usr/local/...') called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0xba03570)',
    'Try::Tiny::Catch=REF(0xb9f52b8)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema')
    called at /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576

    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Object.pm line 26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)')
    called at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line 2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server') called at script/glr_server.pl line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576

    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Object.pm line 26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)')
    called at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line 2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server') called at script/glr_server.pl line 8"Compilation failed in
    require at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component
    "GLR::Model::DB", "Couldn\'t ...') called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server') called at script/glr_server.pl line 8
  • Justin Hunter at Jan 31, 2011 at 12:42 pm
    have you tried upgrading namespace::clean, namespace::autoclean,
    Package::Stash and Package::Stash::XS (if you have it)?

    Justin
    On Mon, Jan 31, 2011 at 7:34 AM, Eric Berg wrote:

    I have reverted to previously-known working versions and am having the same
    problem.

    Any help that anyone can provide would most certainly be appreciated. This
    sucks. It's kind of ridiculous too.

    Thanks.

    Eric
    On 1/30/2011 8:34 PM, Eric Berg wrote:

    All of a sudden my application stopped working and started spewing these
    errors. This same code has been running for many days, then kblam!
    Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up, but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at /var/www/sites/
    gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at /var/www/sites/
    gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/d5b29de8/attachment.htm
  • Will Trillich at Jan 31, 2011 at 1:22 pm
    Don't know about this specific problem, but we just ran into something
    similar -- no upgrades, no changes, but Catalyst suddenly stopped loading
    (DBIx::Class::Schema::connection(): No arguments to load_classes). Wound up
    having to cpanm a bunch of upgrades by hand before it started working again.

    So apparently our system either is configured for occasional cron-based
    upgrades and we managed to wind up in an unstable state as a result (still
    looking into this)... or black hats were involved.

    You might be in a similar situation. :(

    On Mon, Jan 31, 2011 at 6:34 AM, Eric Berg wrote:

    I have reverted to previously-known working versions and am having the same
    problem.

    Any help that anyone can provide would most certainly be appreciated. This
    sucks. It's kind of ridiculous too.

    Thanks.

    Eric

    On 1/30/2011 8:34 PM, Eric Berg wrote:

    All of a sudden my application stopped working and started spewing these
    errors. This same code has been running for many days, then kblam!
    Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up, but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at /var/www/sites/
    gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at /var/www/sites/
    gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line 120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    The first step towards getting somewhere is to decide that you are not going
    to stay where you are. -- J.P.Morgan
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/1fe4df0b/attachment.htm
  • Peter Edwards at Jan 31, 2011 at 1:37 pm

    On 31 January 2011 13:22, will trillich wrote:

    Don't know about this specific problem, but we just ran into something
    similar -- no upgrades, no changes, but Catalyst suddenly stopped loading
    (DBIx::Class::Schema::connection(): No arguments to load_classes). Wound up
    having to cpanm a bunch of upgrades by hand before it started working again.

    So apparently our system either is configured for occasional cron-based
    upgrades and we managed to wind up in an unstable state as a result (still
    looking into this)... or black hats were involved.
    Which operating system and version are you running?

    Regards, Peter
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/01d1ec53/attachment.htm
  • Eric Berg at Jan 31, 2011 at 2:05 pm
    It's a Linux box: Linux moby 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2
    01:41:57 UTC 2010 i686 GNU/Linux

    and I'm running the latest Catalyst.

    Eric
    On 1/31/2011 8:37 AM, Peter Edwards wrote:
    On 31 January 2011 13:22, will trillich wrote:

    Don't know about this specific problem, but we just ran into
    something similar -- no upgrades, no changes, but Catalyst
    suddenly stopped loading (DBIx::Class::Schema::connection(): No
    arguments to load_classes). Wound up having to cpanm a bunch of
    upgrades by hand before it started working again.

    So apparently our system either is configured for occasional
    cron-based upgrades and we managed to wind up in an unstable state
    as a result (still looking into this)... or black hats were involved.


    Which operating system and version are you running?

    Regards, Peter


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/df94a674/attachment.htm
  • Will Trillich at Jan 31, 2011 at 2:14 pm
    $ uname -a
    Linux gonzo 2.6.32.12 #1 SMP Wed Apr 28 19:25:11 UTC 2010 i686 GNU/Linux
    $ cat /etc/debian_version
    5.0.8
    We wound up using cpanm to manually install/upgrade Moose,
    MooseX::Role::WithOverloading, DBIx::Class, Catalyst::Plugin::ConfigLoader,
    Catalyst.

    $ perl -MCatalyst -e 'print $Catalyst::VERSION,"\n"'
    5.80030

    On Mon, Jan 31, 2011 at 1:37 PM, Peter Edwards wrote:
    On 31 January 2011 13:22, will trillich wrote:

    Don't know about this specific problem, but we just ran into something
    similar -- no upgrades, no changes, but Catalyst suddenly stopped loading
    (DBIx::Class::Schema::connection(): No arguments to load_classes). Wound up
    having to cpanm a bunch of upgrades by hand before it started working again.


    So apparently our system either is configured for occasional cron-based
    upgrades and we managed to wind up in an unstable state as a result (still
    looking into this)... or black hats were involved.
    Which operating system and version are you running?

    Regards, Peter

    --
    The first step towards getting somewhere is to decide that you are not going
    to stay where you are. -- J.P.Morgan
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/0b8bca2d/attachment.htm
  • Eric Berg at Jan 31, 2011 at 1:37 pm
    Ok, at least I'm (arguably) not crazy.

    Justin Hunter suggested a few specific upgrades, and I'm going through
    my cpan updates and have found also that there are quite a number of
    masked versions where there are two separate versions installed, and the
    older one is masking the newer one.

    I'll give this a try again when I get back form work today.

    Thanks for helping confirm and giving me some direction. I'll let you know.

    eric
    On 1/31/2011 8:22 AM, will trillich wrote:
    Don't know about this specific problem, but we just ran into something
    similar -- no upgrades, no changes, but Catalyst suddenly stopped
    loading (DBIx::Class::Schema::connection(): No arguments to
    load_classes). Wound up having to cpanm a bunch of upgrades by hand
    before it started working again.

    So apparently our system either is configured for occasional
    cron-based upgrades and we managed to wind up in an unstable state as
    a result (still looking into this)... or black hats were involved.

    You might be in a similar situation. :(


    On Mon, Jan 31, 2011 at 6:34 AM, Eric Berg wrote:

    I have reverted to previously-known working versions and am having
    the same problem.

    Any help that anyone can provide would most certainly be
    appreciated. This sucks. It's kind of ridiculous too.

    Thanks.

    Eric


    On 1/30/2011 8:34 PM, Eric Berg wrote:

    All of a sudden my application stopped working and started
    spewing these errors. This same code has been running for
    many days, then kblam! Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow
    blew up, but I'm not sure.

    Can anyone see anything in here that indicates what the
    problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate
    component "GLR::Model::DB", "Couldn't load class (GLR::Schema)
    because: Can't call method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line
    40.
    Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an
    undefined value at /usr/local/...') called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0xba03570)',
    'Try::Tiny::Catch=REF(0xb9f52b8)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm
    line 21

    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema')
    called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called
    at /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm
    line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm
    line 205

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576

    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Object.pm line 26
    Moose::Object::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at generated method (unknown origin)
    line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97

    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm
    line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    eval {...} called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called
    at /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    <http://gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm>
    line 120
    require GLR.pm called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner',
    'GLR', 'Server') called at script/glr_server.pl
    <http://glr_server.pl> line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm
    line 208

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)', 'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 576

    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 256

    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Object.pm line 26
    Moose::Object::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at generated method (unknown origin)
    line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97

    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm
    line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB',
    'GLR', 'HASH(0xb9a4900)') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    eval {...} called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called
    at /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    <http://gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm>
    line 120
    require GLR.pm called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 71
    eval {...} called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner',
    'GLR', 'Server') called at script/glr_server.pl
    <http://glr_server.pl> line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component
    "GLR::Model::DB", "Couldn\'t ...') called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0x9b450e0)',
    'Try::Tiny::Catch=REF(0xa52b128)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner',
    'GLR', 'Server') called at script/glr_server.pl
    <http://glr_server.pl> line 8



    _______________________________________________
    List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/




    --
    The first step towards getting somewhere is to decide that you are not
    going to stay where you are. -- J.P.Morgan


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/4e5a7ac7/attachment.htm
  • Oleg Kostyuk at Jan 31, 2011 at 6:36 pm
    Seems, I had same problem.
    If your db schema classe (GLR::Schema) use Moose and MooseX::NonMoose,
    try to convert your schema classes to use strict/warning/base.
    If your schema class what generated by DBIx::Class::Schema::Loader,
    then upgrade it to latest and re-generate your classes.


    2011/1/31 Eric Berg <eberg@bergbrains.com>:
    All of a sudden my ?application stopped working and started spewing these
    errors. ? This same code has been running for many days, then kblam!
    ?Suddenly died.

    ?I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up, but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    ?at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    ? ?Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    ? ?Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    ? ?Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    ? ?Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    ?Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    ?Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    ? ?eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

    ?MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    ?Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    ?Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    ?Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    ? ?Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    ? ?Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    ? ?Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called at
    generated method (unknown origin) line 3
    ? ?Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139
    ? ?MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    ? ?MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    ? ?CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    ? ?Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    ? ?Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    ? ?Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    ? ?Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    ? ?Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line
    120
    ? ?require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    ? ?Class::MOP::__ANON__() called at /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    ? ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8
    ?at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

    ?MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    ?Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    ?Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)', 'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    ?Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    ? ?Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    ? ?Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    ? ?Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called at
    generated method (unknown origin) line 3
    ? ?Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139
    ? ?MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    ? ?MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    ? ?CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    ? ?Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    ? ?Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    ? ?Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    ? ?Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    ? ?Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm line
    120
    ? ?require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    ? ?Class::MOP::__ANON__() called at /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    ? ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    ?at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    ? ?Class::MOP::__ANON__('Couldn\'t instantiate component "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    ? ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8




    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)
  • Justin Hunter at Jan 31, 2011 at 7:08 pm
    if your DBIC schema is using Moose/MooseX::NonMoose, remove 'use
    MooseX::NonMoose' from your base schema class.

    http://git.shadowcat.co.uk/gitweb/gitweb.cgi?pÛsrgits/DBIx-Class-Schema-Loader.git;a=commitdiff;hI643e1dff62e16331c30f51953d548d94da1d30
    addressed
    this and any release beyond 0.07003 should generate properly.

    Justin
    On Mon, Jan 31, 2011 at 1:36 PM, Oleg Kostyuk wrote:

    Seems, I had same problem.
    If your db schema classe (GLR::Schema) use Moose and MooseX::NonMoose,
    try to convert your schema classes to use strict/warning/base.
    If your schema class what generated by DBIx::Class::Schema::Loader,
    then upgrade it to latest and re-generate your classes.


    2011/1/31 Eric Berg <eberg@bergbrains.com>:
    All of a sudden my application stopped working and started spewing these
    errors. This same code has been running for many days, then kblam!
    Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up, but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97

    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90

    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called at
    generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139
    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pmline
    120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208

    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880

    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483

    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603

    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called at
    generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139
    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line 2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pmline
    120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component
    "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 100
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48

    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line 179
    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR', 'Server')
    called at script/glr_server.pl line 8




    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110131/dd74d1e6/attachment.htm
  • Oleg Kostyuk at Jan 31, 2011 at 9:17 pm
    Yes, I know - but what if Eric used 0.7002 to generate files, as I did? ;)


    2011/1/31 Justin Hunter <justin.d.hunter@gmail.com>:
    if your DBIC schema is using Moose/MooseX::NonMoose, remove 'use
    MooseX::NonMoose' from your base schema class.
    http://git.shadowcat.co.uk/gitweb/gitweb.cgi?pÛsrgits/DBIx-Class-Schema-Loader.git;a=commitdiff;hI643e1dff62e16331c30f51953d548d94da1d30?addressed
    this and any release beyond 0.07003 should generate properly.

    Justin
    On Mon, Jan 31, 2011 at 1:36 PM, Oleg Kostyuk wrote:

    Seems, I had same problem.
    If your db schema classe (GLR::Schema) use Moose and MooseX::NonMoose,
    try to convert your schema classes to use strict/warning/base.
    If your schema class what generated by DBIx::Class::Schema::Loader,
    then upgrade it to latest and re-generate your classes.


    2011/1/31 Eric Berg <eberg@bergbrains.com>:
    All of a sudden my ?application stopped working and started spewing
    these
    errors. ? This same code has been running for many days, then kblam!
    ?Suddenly died.

    ?I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up,
    but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    ?at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    ? ?Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value
    at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line
    100
    ? ?Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    ? ?Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called
    at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    ? ?Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97


    ?Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90


    ?Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    ? ?eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205


    ?MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880


    ?Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483


    ?Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603


    ?Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    ? ?Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    ? ?Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
    line
    26
    ? ?Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at
    generated method (unknown origin) line 3
    ? ?Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    ?MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    ? ?MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    ? ?CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    ? ?Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    ? ?Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line
    2523
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    ? ?Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    ? ?Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    ? ?Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line
    120
    ? ?require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    ? ?Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8
    ?at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208


    ?MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880


    ?Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483


    ?Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603


    ?Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    ? ?Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    ? ?Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
    line
    26
    ? ?Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at
    generated method (unknown origin) line 3
    ? ?Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    ?MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    ? ?MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    ? ?CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    ? ?Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    ? ?Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line
    2523
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    ? ?Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    ? ?Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    ? ?Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line
    120
    ? ?require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    ? ?Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    ? ?eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    ?at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    ? ?Class::MOP::__ANON__('Couldn\'t instantiate component
    "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line
    100
    ? ?Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    ? ?Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    ? ?Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    ?Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    ?Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    ? ?Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8




    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)
  • Eric Berg at Feb 1, 2011 at 2:00 am
    I used 5.80030 to generate my files..it's a pretty new app.

    Just removing MooseX::NonMoose from just my Schema.pm did the trick.

    How do we edit these generated classes (such as MyApp::Schema)
    considering the MD5 checks? Is there a protocol for making that kind of
    change?

    Eric
    On 1/31/11 4:17 PM, Oleg Kostyuk wrote:
    Yes, I know - but what if Eric used 0.7002 to generate files, as I did? ;)


    2011/1/31 Justin Hunter<justin.d.hunter@gmail.com>:
    if your DBIC schema is using Moose/MooseX::NonMoose, remove 'use
    MooseX::NonMoose' from your base schema class.
    http://git.shadowcat.co.uk/gitweb/gitweb.cgi?pÛsrgits/DBIx-Class-Schema-Loader.git;a=commitdiff;hI643e1dff62e16331c30f51953d548d94da1d30 addressed
    this and any release beyond 0.07003 should generate properly.

    Justin
    On Mon, Jan 31, 2011 at 1:36 PM, Oleg Kostyukwrote:
    Seems, I had same problem.
    If your db schema classe (GLR::Schema) use Moose and MooseX::NonMoose,
    try to convert your schema classes to use strict/warning/base.
    If your schema class what generated by DBIx::Class::Schema::Loader,
    then upgrade it to latest and re-generate your classes.


    2011/1/31 Eric Berg<eberg@bergbrains.com>:
    All of a sudden my application stopped working and started spewing
    these
    errors. This same code has been running for many days, then kblam!
    Suddenly died.

    I've been looking and I can't seem to figure out what's going on.

    I suspect that it was an underlying Perl module that somehow blew up,
    but
    I'm not sure.

    Can anyone see anything in here that indicates what the problem is?

    Thanks.

    Eric

    Couldn't load class (GLR) because: Couldn't instantiate component
    "GLR::Model::DB", "Couldn't load class (GLR::Schema) because: Can't call
    method "isa" on an undefined value at
    /usr/local/share/perl/5.10.0/MooseX/NonMoose/Meta/Role/Class.pm line 40.
    Compilation failed in require at /usr/local/lib/perl/5.10.0/Class/MOP.pm
    line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Can\'t call method "isa" on an undefined value
    at
    /usr/local/...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line
    100
    Try::Tiny::try('CODE(0xba03570)', 'Try::Tiny::Catch=REF(0xb9f52b8)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR::Schema') called at
    /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema/Types.pm line 21
    Catalyst::Model::DBIC::Schema::Types::__ANON__('GLR::Schema') called
    at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 63
    Moose::Meta::TypeCoercion::__ANON__('GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 97


    Moose::Meta::TypeCoercion::coerce('Moose::Meta::TypeCoercion=HASH(0xae9a500)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/TypeConstraint.pm line 90


    Moose::Meta::TypeConstraint::coerce('Moose::Meta::TypeConstraint=HASH(0xae8fb38)',
    'GLR::Schema') called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 206
    eval {...} called at
    /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 205


    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880


    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483


    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603


    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
    line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at
    generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line
    120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8
    at /usr/local/share/perl/5.10.0/MooseX/Types/TypeDecorator.pm line 208


    MooseX::Types::TypeDecorator::AUTOLOAD('MooseX::Types::TypeDecorator=HASH(0xaea7520)',
    'GLR::Schema') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm
    line 880


    Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attribute=HASH(0xaecb070)',
    'GLR::Schema', 'GLR::Model::DB=HASH(0xb9b20a0)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Attribute.pm line 483


    Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xaecb070)',
    'Moose::Meta::Instance=HASH(0xba1d3d0)',
    'GLR::Model::DB=HASH(0xb9b20a0)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 603


    Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
    line 576
    Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at
    /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm
    line 256
    Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xadfb790)',
    'HASH(0xb9a4a90)') called at /usr/local/lib/perl/5.10.0/Moose/Object.pm
    line
    26
    Moose::Object::new('GLR::Model::DB', 'GLR', 'HASH(0xaebe148)') called
    at
    generated method (unknown origin) line 3
    Catalyst::Model::DBIC::Schema::new('GLR::Model::DB', 'GLR',
    'HASH(0xaebe148)') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 139

    MooseX::Traits::Pluggable::_build_instance_with_traits('GLR::Model::DB',
    'GLR::Model::DB', 'GLR') called at
    /usr/local/share/perl/5.10.0/MooseX/Traits/Pluggable.pm line 97
    MooseX::Traits::Pluggable::new_with_traits('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4b60)') called at
    /usr/local/share/perl/5.10.0/CatalystX/Component/Traits.pm line 145
    CatalystX::Component::Traits::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 48
    Class::MOP::Method::Wrapped::__ANON__('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at
    /usr/local/lib/perl/5.10.0/Class/MOP/Method/Wrapped.pm line 89
    Catalyst::Model::DBIC::Schema::COMPONENT('GLR::Model::DB', 'GLR',
    'HASH(0xb9a4900)') called at /usr/local/share/perl/5.10.0/Catalyst.pm
    line
    2523
    eval {...} called at /usr/local/share/perl/5.10.0/Catalyst.pm line
    2523
    Catalyst::setup_component('GLR', 'GLR::Model::DB') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 2450
    Catalyst::setup_components('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst.pm line 1179
    Catalyst::setup('GLR') called at
    /var/www/sites/gordonlegalresearch.com/GLR-0.01/script/../lib/GLR.pm
    line
    120
    require GLR.pm called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line
    114
    Class::MOP::__ANON__() called at
    /usr/local/share/perl/5.10.0/Try/Tiny.pm
    line 71
    eval {...} called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line 67
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8"Compilation failed in require at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 114.
    at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 120
    Class::MOP::__ANON__('Couldn\'t instantiate component
    "GLR::Model::DB",
    "Couldn\'t ...') called at /usr/local/share/perl/5.10.0/Try/Tiny.pm line
    100
    Try::Tiny::try('CODE(0x9b450e0)', 'Try::Tiny::Catch=REF(0xa52b128)')
    called at /usr/local/lib/perl/5.10.0/Class/MOP.pm line 125
    Class::MOP::load_first_existing_class('GLR') called at
    /usr/local/lib/perl/5.10.0/Class/MOP.pm line 137
    Class::MOP::load_class('GLR') called at
    /usr/local/share/perl/5.10.0/Catalyst/ScriptRole.pm line 48


    Catalyst::ScriptRole::_run_application('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/Script/Server.pm line
    179

    Catalyst::Script::Server::run('Catalyst::Script::Server=HASH(0xa54c678)')
    called at /usr/local/share/perl/5.10.0/Catalyst/ScriptRunner.pm line 20
    Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'GLR',
    'Server')
    called at script/glr_server.pl line 8




    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/

    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
  • Peter Edwards at Feb 1, 2011 at 6:54 am

    On 1 February 2011 02:00, Eric Berg wrote:

    I used 5.80030 to generate my files..it's a pretty new app.

    Just removing MooseX::NonMoose from just my Schema.pm did the trick.

    How do we edit these generated classes (such as MyApp::Schema) considering
    the MD5 checks? Is there a protocol for making that kind of change?

    I guess you would need to change the deploy files generated by
    http://search.cpan.org/perldoc?DBIx::Class::Storage::DBI

    Regards, Peter
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110201/9f572316/attachment.htm
  • Oleg Kostyuk at Feb 1, 2011 at 9:00 am
    I think, reading manuals for DBIx::Class::Schema::Loader and
    Catalyst::Manual::Tutorial::03_MoreCatalystBasics
    (#Create_Static_DBIx::Class_Schema_Files) also could be helpful.


    2011/2/1 Peter Edwards <peter@dragonstaff.co.uk>:
    On 1 February 2011 02:00, Eric Berg wrote:

    I used 5.80030 to generate my files..it's a pretty new app.

    Just removing MooseX::NonMoose from just my Schema.pm did the trick.

    How do we edit these generated classes (such as MyApp::Schema) considering
    the MD5 checks? ?Is there a protocol for making that kind of change?
    I guess you would need to change the deploy files generated by
    http://search.cpan.org/perldoc?DBIx::Class::Storage::DBI
    Regards, Peter

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/


    --
    Sincerely yours,
    Oleg Kostyuk (CUB-UANIC)

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 31, '11 at 1:34a
activeFeb 1, '11 at 9:00a
posts14
users5
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase