Subject: | A error only on debugging mode |
Date: | Tue, 30 Jun 2009 14:26:33 -0300 |
To: | bug-POE [...] rt.cpan.org |
From: | Aurélio A. Heckert <aurium [...] gmail.com> |
I must to do a IRCbot
When i try to run i receive this warnings, and no errors:
$ ./inkbr-irc-bot
Prototype mismatch: sub POE::Component::IRC::AF_INET6: none vs () at
/usr/share/perl/5.8/Exporter.pm line 65.
at lib/POE/Component/IRC.pm line 34
Prototype mismatch: sub POE::Component::IRC::PF_INET6: none vs () at
/usr/share/perl/5.8/Exporter.pm line 65.
at lib/POE/Component/IRC.pm line 34
Trying to connect to server freenode.net
But noting more happens. It try forever.
So i added this:
BEGIN {
package POE::Kernel;
use constant ASSERT_DEFAULT => 1;
}
Now we have errors:
$ ./inkbr-irc-bot
Prototype mismatch: sub POE::Component::IRC::AF_INET6: none vs () at
/usr/share/perl/5.8/Exporter.pm line 65.
at lib/POE/Component/IRC.pm line 34
Prototype mismatch: sub POE::Component::IRC::PF_INET6: none vs () at
/usr/share/perl/5.8/Exporter.pm line 65.
at lib/POE/Component/IRC.pm line 34
Please mail the following information to bug-POE@rt.cpan.org:
<dt> Cannot resolve ``wanna40067'' into a session reference at
lib/Bot/BasicBot.pm line 158
Bot::BasicBot::run('Bot::BasicBot=HASH(0x890bdf4)') called at
./inkbr-irc-bot line 24
Died at /usr/share/perl5/POE/Kernel.pm line 321.
Please mail the following information to bug-POE@rt.cpan.org:
<dt> Cannot resolve ``wanna40067'' into a session reference at
lib/Bot/BasicBot.pm line 1500
Bot::BasicBot::AUTOLOAD('Bot::BasicBot=HASH(0x890bdf4)') called at
./inkbr-irc-bot line 0
eval {...} called at ./inkbr-irc-bot line 0
POE::Kernel's run() method was never called.
That is a bug or POE need a better testing in some steps?
--
Aurélio A. Heckert http://colivre.coop.br/Aurium
GNU/Linux User #312507 http://counter.li.org
- - - - - - - - - - - - - - - - - - - - - - - - -
Ilustração Vetorial Livre: http://InkscapeBrasil.org
Coop. de Tecnologias Livres: http://Colivre.coop.br
- - - - - - - - - - - - - - - - - - - - - - - - -
"Eu temo pela minha espécie quando penso
que Deus é justo." Thomas Jefferson
Antes de imprimir esta mensagem reflita
sobre a sua responsabilidade com a
preservação do Meio Ambiente.