Skip Menu |

This queue is for tickets about the POE-Component-IRC CPAN distribution.

Report information
The Basics
Id: 47465
Status: resolved
Priority: 0/
Queue: POE-Component-IRC

People
Owner: hinrik.sig [...] gmail.com
Requestors: aurium [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Is this still a problem with the latest versions of POE and POE::Component::IRC (and Bot::BasicBot, which you seem to be using)? If so, can you post your code?
The importing of IPv6-related functions has been overhauled in recent releases and shouldn't cause any warnings or errors anymore. Feel free to reopen this ticket if you still have issues.