Subject: | Cannot Resolve Session Reference |
Date: | Wed, 05 Feb 2014 06:51:11 -0600 |
To: | bug-POE-Component-Client-MPD [...] rt.cpan.org |
From: | John <john [...] tonebridge.com> |
POE::Component::Client::MPD 1.121670
Audio::MPD::Common 1.120881
Moose 2.1202
perl 5, version 12, subversion 4 (v5.12.4) built for
x86_64-linux-thread-multi
Linux 3.12.6 SMP
Reproducible with examples/client.pl:
When executed, there is successful connection to MPD server running on
same host. However, collection of files is not received. Furthermore,
when viewing MPD server in debug mode there is no command received by
MPD. After Control-C out of client.pl a disconnect message is viewable
from MPD server.
No errors are generated by client.pl. However, with "export
POE_ASSERT_DEFAULT=1" in shell which executes client.pl the following
output is generated:
bye-bye
=== 16190 === Please address any warnings or errors above this message,
=== 16190 === and try again. If there are no previous messages, or they
=== 16190 === are from within POE, then please mail them along with the
=== 16190 === following information to bug-POE@rt.cpan.org:
---
<dt> Cannot resolve ``mpd'' into a session reference
-----
at ./client.pl line 37.
main::start(undef, POE::Session=ARRAY(0x2a6d6d0),
POE::Kernel=ARRAY(0x14b5330), HASH(0x29caf08), "
_start", POE::Kernel=ARRAY(0x14b5330), undef,
"/usr/lib64/perl5/site_perl/5.12.4/POE/Kernel.pm", 1479, ...
) called at /usr/lib64/perl5/site_perl/5.12.4/POE/Session.pm line 464
POE::Session::_invoke_state(POE::Session=ARRAY(0x2a6d6d0),
POE::Kernel=ARRAY(0x14b5330), "_start",
ARRAY(0x15b0b68), "/usr/lib64/perl5/site_perl/5.12.4/POE/Kernel.pm",
1479, undef) called at /usr/lib64/pe
rl5/site_perl/5.12.4/POE/Kernel.pm line 1067
eval {...} called at
/usr/lib64/perl5/site_perl/5.12.4/POE/Kernel.pm line 1066
POE::Kernel::_dispatch_event(POE::Kernel=ARRAY(0x14b5330),
POE::Session=ARRAY(0x2a6d6d0), POE::Ses
sion=ARRAY(0x2a6d6d0), "_start", 4, ARRAY(0x15b0b68),
"/usr/lib64/perl5/site_perl/5.12.4/POE/Kernel.pm", 1
479, undef, ...) called at
/usr/lib64/perl5/site_perl/5.12.4/POE/Kernel.pm line 1476
POE::Kernel::session_alloc(POE::Kernel=ARRAY(0x14b5330),
POE::Session=ARRAY(0x2a6d6d0)) called at
/usr/lib64/perl5/site_perl/5.12.4/POE/Session.pm line 192
POE::Session::try_alloc(POE::Session=ARRAY(0x2a6d6d0)) called
at /usr/lib64/perl5/site_perl/5.12.4
/POE/Session.pm line 373
POE::Session::create("POE::Session", "inline_states",
HASH(0x1110578)) called at ./client.pl line
26