Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-XMPP CPAN distribution.

Report information
The Basics
Id: 15736
Status: resolved
Priority: 0/
Queue: Net-XMPP

People
Owner: dapatrick [...] cpan.org
Requestors: erik [...] osheim.org
Cc:
AdminCc:

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



Subject: Roster's callbacks print to STDOUT on every recieved iq or presence packet
So Net::XMPP (v1.0) ships with enabled debugging print code in Roster.pm. This may work fine for X applications but breaks anything using the console or curses. The two offending print statements (that I found) are on lines 426 and 464 (in handleIQ and handlePresence) of Roster.pm. Commenting these out fixed the problem for me. perl -v output: This is perl, v5.8.6 built for i386-linux [the rest of the output is redacted] uname -a output: Linux worlock 2.6.13-gentoo-r3 #2 SMP Wed Oct 12 11:48:23 EDT 2005 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GenuineIntel GNU/Linux I'm running a Gentoo Linux system. Net::Jabber and Net::XMPP were installed from the package management system (Portage).
Hi Erik,

These print statements have been replaced with debug log statements.  You can test by pulling from my git repo.  Instructions are at http://github.com/dap/Net-XMPP.

Best,

Darian