Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 235634

Summary: dev-python/xmpppy authentication error
Product: Gentoo Linux Reporter: Sune Kloppenborg Jeppesen (RETIRED) <jaervosz>
Component: New packagesAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://groups.google.com/group/py-transports/browse_thread/thread/75219ff20a7fd573
Whiteboard:
Package list:
Runtime testing required: ---

Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2008-08-24 21:12:03 UTC
Using the example xsend.py I get the following error:

connected with tls
Traceback (most recent call last):
  File "./xsend.py", line 32, in <module>
    auth=cl.auth(jid.getNode(),jidparams['password'],resource=jid.getResource())
  File "/usr/lib/python2.5/site-packages/xmpp/client.py", line 225, in auth
    while self.SASL.startsasl=='in-process' and self.Process(1): pass
  File "/usr/lib/python2.5/site-packages/xmpp/dispatcher.py", line 303, in dispatch
    handler['func'](session,stanza)
  File "/usr/lib/python2.5/site-packages/xmpp/auth.py", line 177, in SASLHandler
    key,value=pair.split('=', 1)
ValueError: need more than 1 value to unpack

I haven't debugged it further but it seems similar to URI and latest auth.py from upstream CVS fixes the problem here.
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2008-10-27 00:43:43 UTC
please provide a diff between auth.py from 0.4.1 and CVS. Thanks!

there's no new version since 2007-12-15 and I guess, there might be some incompatible changes in CVS since then.
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2009-05-17 12:09:01 UTC
new version in portage. please test.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2010-05-07 11:16:27 UTC
no answer yet. So I will close this bug now.