Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235634 - dev-python/xmpppy authentication error
Summary: dev-python/xmpppy authentication error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Stefan Briesenick (RETIRED)
URL: http://groups.google.com/group/py-tra...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 21:12 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2010-05-07 11:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.