Issue 62: Can't use sasl authentication, required to use with Jabber2
Status:  Verified
Owner:
Closed:  May 2009
Reported by jadest...@gmail.com, Dec 9, 2007
 Posted by guest at 2007-04-08 10:24:06

twistedCore-2.5.0
twistedWords-0.5.0


# ./PyICQt.py
Traceback (most recent call last):
  File "./PyICQt.py", line 16, in ?
    main.main()
  File "/usr/local/lib/jabber/pyicq/src/main.py", line 446, in main
    app = App()
  File "/usr/local/lib/jabber/pyicq/src/main.py", line 412, in
__init__
    self.c = sasl.buildServiceManager(jid, config.saslUsername, config.secret,
"tcp:%s:%s" % (config.mainServer, config.port))
  File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 423, in
buildServiceManager
    svc = SASLServiceManager(jid, username, password)
  File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 405, in
__init__
    self._xsFactory = SASLcomponentFactory(self.jabberId, username, password)
  File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 51, in
SASLcomponentFactory
    a = ConnectSASLComponentAuthenticator(componentid, username, password)
  File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 124, in
__init__
    SASLConnectAuthenticator.__init__(self, componentjid)
TypeError: __init__() takes exactly 1 argument (2 given)

Posted by guest at 2007-04-08 10:28:37

Have found answer:

Posted by jadestorm at 2006-05-28 12:26:20

Did you upgrade Twisted?  The sasl component stuff was broken as of Twisted
2.2.0  =(  Lots of stuff in Twisted was reorganized under the surface.  =/

Posted by maxbritov at 2007-07-24 13:33:47

pyicq 0.8a + twisted 2.5.0 + jabberd2 2.1.9 works for me


Mar 6, 2008
#1 buratino...@gmail.com
just got into absolutely the same situation. Python is set up from updated FreeBSD ports
collection.

pyicq-t-0.8b
python25-2.5.2_1
py25-twistedCore-2.5.0_2
py25-twistedWeb-0.7.0
py25-twistedWords-0.5.0
jabberd-2.1.23
Dec 12, 2008
Project Member #2 r000ns...@gmail.com
Please reopen ticket if error happens again

Status: WontFix
Owner: ---
May 21, 2009
#3 Kluchnik...@gmail.com
[2009-05-21 11:55:09] Adding Ad-Hoc defaults for user: user_mood_receiving with value 1
[2009-05-21 11:55:09] Adding Ad-Hoc defaults for user: user_activity_receiving with
value 1
[2009-05-21 11:55:09] Adding Ad-Hoc defaults for user: user_mood_receiving with value 1
[2009-05-21 11:55:09] INFO ::  ::  :: <module> :: {} :: Using XDB driver xmlfiles
[2009-05-21 11:55:09] INFO ::  :: AvatarCache :: setAvatar :: {'key':
'e94db0da7a929a821529d9486d54ea3269ec429f', 'avatar': <avatar.Avatar instance at
0x28cd6b8c>, 'imageData': 'Oversize arg'} :: Setting avatar
'e94db0da7a929a821529d9486d54ea3269ec429f'
[2009-05-21 11:55:09] INFO ::  :: AvatarCache :: setAvatar :: {'key':
'e94db0da7a929a821529d9486d54ea3269ec429f', 'avatar': <avatar.Avatar instance at
0x28cd6bac>, 'imageData': 'Oversize arg'} :: Setting avatar
'e94db0da7a929a821529d9486d54ea3269ec429f'
[2009-05-21 11:55:09] Removing stale pidfile /var/jabberd/pid/PyICQt.pid
[2009-05-21 11:55:09] Traceback (most recent call last):
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/PyICQt.py", line 16, in
<module>
[2009-05-21 11:55:09]     main.main()
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/main.py", line 461, in main
[2009-05-21 11:55:09]     app = App()
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/main.py", line 428, in
__init__
[2009-05-21 11:55:09]     self.c = sasl.buildServiceManager(jid, config.saslUsername,
config.secret, "tcp:%s:%s" % (config.mainServer, config.port))
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 423, in
buildServiceManager
[2009-05-21 11:55:09]     svc = SASLServiceManager(jid, username, password)
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 405, in
__init__
[2009-05-21 11:55:09]     self._xsFactory = SASLcomponentFactory(self.jabberId,
username, password)
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 51, in
SASLcomponentFactory
[2009-05-21 11:55:09]     a = ConnectSASLComponentAuthenticator(componentid,
username, password)
[2009-05-21 11:55:09]   File "/usr/local/lib/jabber/pyicq/src/sasl.py", line 124, in
__init__
[2009-05-21 11:55:09]     SASLConnectAuthenticator.__init__(self, componentjid)
[2009-05-21 11:55:09] TypeError: __init__() takes exactly 1 argument (2 given)

This is after uncoment saslUsername for jabberd2 conection


Freebsd7.2, all from ports on 20.05.2009
jabber-pyicq-transport-0.8.1.3,1 Python ICQ-Transport for Jabber

May 29, 2009
Project Member #4 r000ns...@gmail.com
Please test corrected version
(http://groups.google.com/group/py-transports/web/pyicqt-290509.tar.gz)
Status: Accepted
Owner: r000nster
May 29, 2009
Project Member #6 r000ns...@gmail.com
(No comment was entered for this change.)
Status: Verified