| Issue 32: | TypeError: __init__() takes exactly 1 argument (2 given) | |
| Back to list |
Posted by guest at 2006-05-28 06:08:36
With the latest svn version I get the following error on startup:
Traceback (most recent call last):
File "PyICQt.py", line 16, in ?
main.main()
File "/home/chris/pyicq-t/trunk/src/main.py", line 497, in main
app = App()
File "/home/chris/pyicq-t/trunk/src/main.py", line 460, in __init__
self.c = sasl.buildServiceManager(jid, config.saslUsername, config.secret,
"tcp:%s:%s" % (config.mainServer, config.port))
File "/home/chris/pyicq-t/trunk/src/sasl.py", line 420, in
buildServiceManager svc = SASLServiceManager(jid, username, password)
File "/home/chris/pyicq-t/trunk/src/sasl.py", line 402, in __init__
self._xsFactory = SASLcomponentFactory(self.jabberId, username, password)
File "/home/chris/pyicq-t/trunk/src/sasl.py", line 48, in
SASLcomponentFactory a = ConnectSASLComponentAuthenticator(componentid,
username, password)
File "/home/chris/pyicq-t/trunk/src/sasl.py", line 121, in __init__
SASLConnectAuthenticator.__init__(self, componentjid)
TypeError: __init__() takes exactly 1 argument (2 given)
===============
I have set saslUsername, secret, useComponentBinding, and useRouteWrap. Jabber
server is Jabberd2s10. Any idea?
Cheers,
Chris
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. =/
Jan 19, 2008
Project Member
#1
d...@jabber.fsinf.de
Status:
Fixed
Mar 6, 2008
just got 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 |