Problem getting started

0 views
Skip to first unread message

"Oliver Block"

unread,
Jun 30, 2008, 3:45:33 PM6/30/08
to py-transports
Hello group,

I am trying to start yahoo transport

python yahoo.py

an get the following console dump

[...]
DEBUG: component error Failed to authenticate pytransport
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/xmpp/client.py", line
313, in auth
while self.SASL.startsasl=='in-process' and self.Process(1): pass
File "/usr/local/lib/python2.4/site-packages/xmpp/dispatcher.py",
line 303, in dispatch
handler['func'](session,stanza)
File "/usr/local/lib/python2.4/site-packages/xmpp/auth.py", line
177, in SASLHandler
key,value=pair.split('=', 1)
ValueError: need more than 1 value to unpack
auth return: None
Could not connect to server, or password mismatch!

There is no output in the error log of yahoo transport.

Your help is appreciated.

Best Regards,

Oliver Block

Norman Rasmussen

unread,
Jul 1, 2008, 6:27:35 AM7/1/08
to py-tra...@googlegroups.com
Hey Oliver,


On Mon, Jun 30, 2008 at 9:45 PM, Oliver Block <oliver...@lycos.de> wrote:
[...]
DEBUG: component    error Failed to authenticate pytransport
Traceback (most recent call last):
 File "/usr/local/lib/python2.4/site-packages/xmpp/client.py", line
313, in auth
   while self.SASL.startsasl=='in-process' and self.Process(1): pass
 File "/usr/local/lib/python2.4/site-packages/xmpp/dispatcher.py",
line 303, in dispatch
   handler['func'](session,stanza)
 File "/usr/local/lib/python2.4/site-packages/xmpp/auth.py", line
177, in SASLHandler
   key,value=pair.split('=', 1)
ValueError: need more than 1 value to unpack
auth return: None
Could not connect to server, or password mismatch!

Can you enabled dumpProtocol, and post what output results.

Can you also try the latest version of auth.py from cvs [1], as depending on your server it has some fixes which might help.

[1] http://xmpppy.cvs.sourceforge.net/xmpppy/xmpppy/xmpp/auth.py

--
- Norman Rasmussen
- Email: nor...@rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/

"Oliver Block"

unread,
Jul 1, 2008, 8:54:24 AM7/1/08
to py-transports


On 1 Jul., 12:27, "Norman Rasmussen" <nor...@rasmussen.co.za> wrote:

> Can you also try the latest version of auth.py from cvs [1], as depending on
> your server it has some fixes which might help.
>
> [1]http://xmpppy.cvs.sourceforge.net/xmpppy/xmpppy/xmpp/auth.py

Thank you, Norman. That's working. (BTW: server is jabberd2 v2.2)

Best Regards,

Oliver Block
Reply all
Reply to author
Forward
0 new messages