Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: meneldor [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug in PoCo DCC Plugin 1.1
Date: Sat, 28 Feb 2009 13:39:16 +0200
To: bug-POE-Component-IRC [...] rt.cpan.org
From: Angel Kolev <meneldor [...] gmail.com>
Download (untitled) / with headers
text/plain 617b
Hello, i expirienced a problem with DCC plugin for PoCO when i use 'dcc_close'. The error is: Can't call method "get_driver_out_octets" on an undefined value at /usr/local/share/perl/5.10.0/POE/Component/IRC/Plugin/DCC.pm line 317. and i got it when use "dcc_chat" right before "dcc_close": $_[KERNEL]->post( $_[SENDER], 'dcc_chat', $_[ARG0], "Bye Bye" ); $_[KERNEL]->post( $_[SENDER], 'dcc_close', $_[ARG0] ); If i use only "dcc_close" there is no crash. perl version 5.10 DCC plugin version 1.1 OS Ubuntu, kernel 2.6.27-11 Test script of 33 lines attached. Best regards and excuse me for my english. Angel
Download testbot.pl
text/x-perl 826b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 134b
Thanks for the bug report. I have fixed the issue, and it will be in the next release. I have attached the patch if you're interested.
Download dcc.patch
text/x-diff 392b
Index: lib/POE/Component/IRC/Plugin/DCC.pm =================================================================== --- lib/POE/Component/IRC/Plugin/DCC.pm (revision 777) +++ lib/POE/Component/IRC/Plugin/DCC.pm (working copy) @@ -318,7 +318,7 @@ $kernel->delay_set( '_event_dcc_close', 2, - \$id, + $id, ); return; }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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