This queue is for tickets about the metabase-relayd CPAN distribution.

Report information
The Basics
Id:
92336
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
NHORNE [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.30
Fixed in:
(no value)



Subject: Doesn't start
I suspect that this is a problem in a dependancy module. I recently updated POE/Moose and other modules and now metabase-relayd doesn't start: Running metabase-relayd with options: debug 1 url http://metabase.cpantesters.org/api/v1/ dbfile /home/njh/.metabase/relay.db idfile /home/njh/.metabase/nhorne.json address 192.168.1.2,127.0.0.1 port 8080 multiple 1 offline 0 Listening on 'compaq.bandsman.co.uk:8080' Listening on 'localhost:8080' === 6324 === !!! Kernel has 1 child process(es). === 6324 === !!! Stopped child process (PID 6325) reaped when POE::Kernel->run() is ready to return. === 6324 === !!! Be sure to use sig_child() to reap child processes. === 6324 === !!! In extreme cases, failure to reap child processes has === 6324 === !!! resulted in a slow 'fork bomb' that has halted systems. Attribute (_resolver) does not pass the type constraint because: Validation failed for 'Str' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 } at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 37 Moose::Exception::_build_trace('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)') called at reader Moose::Exception::trace (defined at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 9) line 7 Moose::Exception::trace('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)') called at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 49 Moose::Exception::BUILD('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Class/MOP/Method.pm line 128 Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x362a860)', 'Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Object.pm line 56 Moose::Object::BUILDALL('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Meta/Class.pm line 282 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x3619f50)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Object.pm line 27 Moose::Object::new('Moose::Exception::ValidationFailedForInlineTypeConstraint', 'type_constraint_message', 'Validation failed for \'Str\' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 }', 'class_name', 'POE::Component::Metabase::Relay::Server::Queue', 'attribute_name', '_resolver', 'value', 'POE::Component::Resolver=HASH(0x34b7610)') called at /usr/local/lib/perl/5.14.2/Moose/Util.pm line 51 Moose::Util::throw_exception('ValidationFailedForInlineTypeConstraint', 'type_constraint_message', 'Validation failed for \'Str\' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 }', 'class_name', 'POE::Component::Metabase::Relay::Server::Queue', 'attribute_name', '_resolver', 'value', 'POE::Component::Resolver=HASH(0x34b7610)') called at writer POE::Component::Metabase::Relay::Server::Queue::_set_resolver of attribute _resolver (defined at /usr/local/share/perl/5.14.2/POE/Component/Metabase/Relay/Server/Queue.pm line 153) line 3 POE::Component::Metabase::Relay::Server::Queue::_set_resolver('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Component::Resolver=HASH(0x34b7610)') called at /usr/local/share/perl/5.14.2/POE/Component/Metabase/Relay/Server/Queue.pm line 189 POE::Component::Metabase::Relay::Server::Queue::START('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Kernel=ARRAY(0x14f43b0)', 'HASH(0x34b0d90)', 'STARTALL', 'REF(0x34953a0)', undef, '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start') called at /usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm line 63 MooseX::POE::Meta::Trait::Object::STARTALL('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Kernel=ARRAY(0x14f43b0)', 'HASH(0x34b0d90)', 'STARTALL', 'POE::Session=ARRAY(0x34b7c40)', undef, '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start', 'REF(0x34953a0)') called at /usr/local/share/perl/5.14.2/POE/Session.pm line 483 POE::Session::_invoke_state('POE::Session=ARRAY(0x34b7c40)', 'POE::Session=ARRAY(0x34b7c40)', 'STARTALL', 'ARRAY(0x34758c8)', '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start') called at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1080 eval {...} at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1066 POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x14f43b0)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Session=ARRAY(0x34b7c40)', 'STARTALL', 1, 'ARRAY(0x34758c8)', '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start', 1390323708.10688, 8) called at /usr/local/share/perl/5.14.2/POE/Resource/Events.pm line 356 POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x14f43b0)') called at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1273 POE::Kernel::run('POE::Kernel=ARRAY(0x14f43b0)') called at /usr/local/share/perl/5.14.2/App/Metabase/Relayd.pm line 124 App::Metabase::Relayd::run('App::Metabase::Relayd') called at /usr/local/bin/metabase-relayd line 9
Subject: Re: [rt.cpan.org #92336] Doesn't start
Date: Tue, 21 Jan 2014 19:57:21 +0000
To: Nigel Horne via RT <bug-metabase-relayd@rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris@bingosnet.co.uk>
On Tue, Jan 21, 2014 at 12:03:52PM -0500, Nigel Horne via RT wrote:
Show quoted text
> Tue Jan 21 12:03:51 2014: Request 92336 was acted upon. > Transaction: Ticket created by NHORNE > Queue: metabase-relayd > Subject: Doesn't start > Broken in: 0.30 > Severity: Important > Owner: Nobody > Requestors: NHORNE@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92336 > > > > I suspect that this is a problem in a dependancy module. I recently updated POE/Moose and other modules and now metabase-relayd doesn't start: > > Running metabase-relayd with options: > debug 1 > url http://metabase.cpantesters.org/api/v1/ > dbfile /home/njh/.metabase/relay.db > idfile /home/njh/.metabase/nhorne.json > address 192.168.1.2,127.0.0.1 > port 8080 > multiple 1 > offline 0 > Listening on 'compaq.bandsman.co.uk:8080' > Listening on 'localhost:8080' > === 6324 === !!! Kernel has 1 child process(es). > === 6324 === !!! Stopped child process (PID 6325) reaped when POE::Kernel->run() is ready to return. > === 6324 === !!! Be sure to use sig_child() to reap child processes. > === 6324 === !!! In extreme cases, failure to reap child processes has > === 6324 === !!! resulted in a slow 'fork bomb' that has halted systems. > Attribute (_resolver) does not pass the type constraint because: Validation failed for 'Str' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 } at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 37 > Moose::Exception::_build_trace('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)') called at reader Moose::Exception::trace (defined at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 9) line 7 > Moose::Exception::trace('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)') called at /usr/local/lib/perl/5.14.2/Moose/Exception.pm line 49 > Moose::Exception::BUILD('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Class/MOP/Method.pm line 128 > Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x362a860)', 'Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Object.pm line 56 > Moose::Object::BUILDALL('Moose::Exception::ValidationFailedForInlineTypeConstraint=HASH(0x34d5008)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Meta/Class.pm line 282 > Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x3619f50)', 'HASH(0x34b76e8)') called at /usr/local/lib/perl/5.14.2/Moose/Object.pm line 27 > Moose::Object::new('Moose::Exception::ValidationFailedForInlineTypeConstraint', 'type_constraint_message', 'Validation failed for \'Str\' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 }', 'class_name', 'POE::Component::Metabase::Relay::Server::Queue', 'attribute_name', '_resolver', 'value', 'POE::Component::Resolver=HASH(0x34b7610)') called at /usr/local/lib/perl/5.14.2/Moose/Util.pm line 51 > Moose::Util::throw_exception('ValidationFailedForInlineTypeConstraint', 'type_constraint_message', 'Validation failed for \'Str\' with value POE::Component::Resolver{ alias: "poe_component_resolver_aaaaaaaa", debug: 0 }', 'class_name', 'POE::Component::Metabase::Relay::Server::Queue', 'attribute_name', '_resolver', 'value', 'POE::Component::Resolver=HASH(0x34b7610)') called at writer POE::Component::Metabase::Relay::Server::Queue::_set_resolver of attribute _resolver (defined at /usr/local/share/perl/5.14.2/POE/Component/Metabase/Relay/Server/Queue.pm line 153) line 3 > POE::Component::Metabase::Relay::Server::Queue::_set_resolver('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Component::Resolver=HASH(0x34b7610)') called at /usr/local/share/perl/5.14.2/POE/Component/Metabase/Relay/Server/Queue.pm line 189 > POE::Component::Metabase::Relay::Server::Queue::START('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Kernel=ARRAY(0x14f43b0)', 'HASH(0x34b0d90)', 'STARTALL', 'REF(0x34953a0)', undef, '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start') called at /usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm line 63 > MooseX::POE::Meta::Trait::Object::STARTALL('POE::Component::Metabase::Relay::Server::Queue=HASH(0x3475d60)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Kernel=ARRAY(0x14f43b0)', 'HASH(0x34b0d90)', 'STARTALL', 'POE::Session=ARRAY(0x34b7c40)', undef, '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start', 'REF(0x34953a0)') called at /usr/local/share/perl/5.14.2/POE/Session.pm line 483 > POE::Session::_invoke_state('POE::Session=ARRAY(0x34b7c40)', 'POE::Session=ARRAY(0x34b7c40)', 'STARTALL', 'ARRAY(0x34758c8)', '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start') called at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1080 > eval {...} at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1066 > POE::Kernel::_dispatch_event('POE::Kernel=ARRAY(0x14f43b0)', 'POE::Session=ARRAY(0x34b7c40)', 'POE::Session=ARRAY(0x34b7c40)', 'STARTALL', 1, 'ARRAY(0x34758c8)', '/usr/local/share/perl/5.14.2/MooseX/POE/Meta/Trait/Object.pm', 15, '_start', 1390323708.10688, 8) called at /usr/local/share/perl/5.14.2/POE/Resource/Events.pm line 356 > POE::Kernel::_data_ev_dispatch_due('POE::Kernel=ARRAY(0x14f43b0)') called at /usr/local/share/perl/5.14.2/POE/Kernel.pm line 1273 > POE::Kernel::run('POE::Kernel=ARRAY(0x14f43b0)') called at /usr/local/share/perl/5.14.2/App/Metabase/Relayd.pm line 124 > App::Metabase::Relayd::run('App::Metabase::Relayd') called at /usr/local/bin/metabase-relayd line 9
Looks like Moose moved the goal posts and something that used to work doesn't anymore. I was able to reproduce the problem and there's a new version of POE::Component::Metabase::Relay::Server that fixes the issue up on CPAN. Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================

Message body not shown because it is not plain text.

Looks good - thanks. -Nigel


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.