Package: libnet-jabber-perl Version: 2.0-3 I recently upgraded my jabber server to the Wildfire 3.1.1 jabber server. At that time, a couple of perl scripts that I was using to send automated notifications started failing with the below error when running the script with debuglevel at 2. The scripts are basic scripts that use Net::Jabber to send a message.
.. XML::Stream: Read: buff(<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="yellowguppy.com" id="28522c33" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism></mechanisms><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>) XML::Stream: _handle_root: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(stream:stream) att( xmlns jabber:client xmlns:stream http://etherx.jabber.org/streams version 1.0 from yellowguppy.com id 28522c33 xml:lang en ) XML::Stream: Node: _handle_element: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(stream:features) att( ) XML::Stream: Node: _handle_element: check( -1 ) XML::Stream: Node: _handle_element: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(mechanisms) att( xmlns urn:ietf:params:xml:ns:xmpp-sasl ) XML::Stream: Node: _handle_element: check( 0 ) XML::Stream: Node: _handle_element: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(mechanism) att( ) XML::Stream: Node: _handle_element: check( 1 ) XML::Stream: Node: _handle_cdata: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) cdata(PLAIN) XML::Stream: Node: _handle_cdata: sax(XML::Stream::Parser=HASH(0x8b981c0)) cdata(PLAIN) XML::Stream: Node: _handle_close: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(mechanism) XML::Stream: Node: _handle_close: check( 2 ) XML::Stream: Node: _handle_close: check2( 1 ) XML::Stream: Node: _handle_close: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(mechanisms) XML::Stream: Node: _handle_close: check( 1 ) XML::Stream: Node: _handle_close: check2( 0 ) XML::Stream: Node: _handle_element: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(auth) att( xmlns http://jabber.org/features/iq-auth ) XML::Stream: Node: _handle_element: check( 0 ) XML::Stream: Node: _handle_close: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(auth) XML::Stream: Node: _handle_close: check( 1 ) XML::Stream: Node: _handle_close: check2( 0 ) XML::Stream: Node: _handle_close: sid(28522c33) sax(XML::Stream::Parser=HASH(0x8b981c0)) tag(stream:features) XML::Stream: Node: _handle_close: check( 0 ) XML::Stream: Node: _handle_close: check2( -1 ) Can't use an undefined value as a HASH reference at /usr/share/perl5/XML/Stream.pm line 1165. The script is actually the script that can be downloaded from the following url.. http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=830 This script worked fine with ejabberd but now does not work with wildfire. I found a similar bug report on CPAN at the following url.. http://rt.cpan.org/Public/Bug/Display.html?id=17484 The bug suggested changing the line around 1160 from the following.. delete($self->{SIDS}->{$currsid}); To the following.. delete($self->{SIDS}->{$currsid}) unless $currsid eq $sid; This solved my issues.. Any ideas on whether this fix should be implemented in the distributed version to make the package work with wildfire..? I am using debian/testing, perl v5.8.8, libnet-jabber-perl/2.0-3 installed. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

