Bug#496823: sendxmpp: Does not work at all

2008-09-10 Thread Andreas Putzo
tags 496823 + patch
thanks

On Sep 04  00:05, Andreas Putzo wrote:
 This fails with that error message for real servers too.
 The problem could be in xmpp_login():
 
 my @res;
 my $arghash = {
 hostname= $host,
 tls = $tls,
 connectiontype  = 'tcpip',
 componentname   = $comp,
 
 };
$arghash-{port} = $port if (!$port);
 if (!$port) {
 @res = $cnx-Connect(%$arghash);
 
 
 Shouldn't this be more like this?
 
   $arghash-{port} = $port if ($port);
 
 
 Anyway, after changing this, sendxmpp seems to run fine
 
  $ echo test | sendxmpp -v -u user -p pass  -j server recipient
  sendxmpp: Connect: 1
  sendxmpp: AuthSend: ok
  sendxmpp: MessageSend
  sendxmpp: Disconnect
 
 but i never received the message..

I now tested with another client and received the message. I
don't know yet why it doesn't work with bitlbee which i used before
but this seems not to be sendxmpp's fault. So it's just a little typo 
with the $port assignment.

Regards,
Andreas




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496823: sendxmpp: Does not work at all

2008-09-03 Thread Andreas Putzo
Hi,

On Aug 27  22:14, Guus Sliepen wrote:
 On Wed, Aug 27, 2008 at 10:37:11PM +0400, Alexander Galanin wrote:
 
  sendxmpp does not work:
  
  $ echo test | sendxmpp -u user -j server.example.com -p secret -v 
  [EMAIL PROTECTED]
  Use of uninitialized value in concatenation (.) or string at
  /usr/share/perl5/Net/XMPP/Connection.pm line 132.
  Use of uninitialized value in string eq at
  /usr/share/perl5/XML/Stream.pm line 730.
  Could not connect to server 'server.example.com':
 
 Well of course sending a message to server.example.com does not work, that
 server does not exist. Is it just this exact command that fails, or does it
 also fail to send messages to real, existing Jabber servers?

This fails with that error message for real servers too.
The problem could be in xmpp_login():

my @res;
my $arghash = {
hostname= $host,
tls = $tls,
connectiontype  = 'tcpip',
componentname   = $comp,

};
   $arghash-{port} = $port if (!$port);
if (!$port) {
@res = $cnx-Connect(%$arghash);


Shouldn't this be more like this?

  $arghash-{port} = $port if ($port);


Anyway, after changing this, sendxmpp seems to run fine

 $ echo test | sendxmpp -v -u user -p pass  -j server recipient
 sendxmpp: Connect: 1
 sendxmpp: AuthSend: ok
 sendxmpp: MessageSend
 sendxmpp: Disconnect

but i never received the message..

Regards,
Andreas





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496823: sendxmpp: Does not work at all

2008-08-27 Thread Alexander Galanin
Package: sendxmpp
Version: 1.13-1
Severity: grave
Justification: renders package unusable

sendxmpp does not work:

$ echo test | sendxmpp -u user -j server.example.com -p secret -v 
[EMAIL PROTECTED]
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Net/XMPP/Connection.pm line 132.
Use of uninitialized value in string eq at
/usr/share/perl5/XML/Stream.pm line 730.
Could not connect to server 'server.example.com':

Version 0.0.8+cvs20061115-1 (from etch) works well.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-486
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sendxmpp depends on:
ii  libnet-xmpp-perl  1.02-1 XMPP Perl library
ii  perl  5.10.0-13  Larry Wall's Practical Extraction 

sendxmpp recommends no packages.

sendxmpp suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#496823: sendxmpp: Does not work at all

2008-08-27 Thread Guus Sliepen
On Wed, Aug 27, 2008 at 10:37:11PM +0400, Alexander Galanin wrote:

 sendxmpp does not work:
 
   $ echo test | sendxmpp -u user -j server.example.com -p secret -v 
 [EMAIL PROTECTED]
   Use of uninitialized value in concatenation (.) or string at
   /usr/share/perl5/Net/XMPP/Connection.pm line 132.
   Use of uninitialized value in string eq at
   /usr/share/perl5/XML/Stream.pm line 730.
   Could not connect to server 'server.example.com':

Well of course sending a message to server.example.com does not work, that
server does not exist. Is it just this exact command that fails, or does it
also fail to send messages to real, existing Jabber servers?

-- 
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]


signature.asc
Description: Digital signature