The Yahoo transport seems to be eating 100% cpu constantly. Suggestions?

-- 
Joe Moschetti
http://jmoschetti45.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060828/f5d65b96/attachment.htm
From [EMAIL PROTECTED]  Mon Aug 28 20:26:23 2006
From: [EMAIL PROTECTED] (Joe Berry)
Date: Mon Aug 28 20:24:21 2006
Subject: [py-transports] Install Problem w/pyaimt
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

>
>
> Seeing as it's jabberd2, you'll have to uncomment useComponentBinding
> and useRouteWrap too.  Just check if those or useJ2Component should be
> used - the config file in SVN have been upgraded but I'm not sure what
> 0.7d uses.
>
> --
> - Norman Rasmussen

Seeing that my config file was not the latest and greatest, I decided to
start from scratch by using the latest code (via subversion).  Working
exclusively in the trunk directory, I recreated by config.xml file.  Here
is the diff of my current config.xml against the default file:

home2>diff config.xml config_example.xml
3c3
<       <jid>aim.topshot.com</jid>
---
>       <jid>aim.example.org</jid>
87c87
<       <!--<jid>[EMAIL PROTECTED]</jid>-->
---
>       <!--<jid>[EMAIL PROTECTED]</jid>-->
130c130
<       <disableAvatars/>
---
>       <!-- <disableAvatars/> -->
137c137
<       <saslUsername>pytransport</saslUsername>
---
>       <!-- <saslUsername/> -->
143c143
<       <useComponentBinding/>
---
>       <!-- <useComponentBinding/> -->
147c147
<       <useRouteWrap/>
---
>       <!-- <useRouteWrap/> -->
home2>

Now, however, I'm getting a different error which I cannot figure out:

home2>python PyAIMt.py -D -c config.xml
[2006-08-28 16:17:01] Log opened.
[2006-08-28 16:17:01] Traceback (most recent call last):
[2006-08-28 16:17:01]   File "PyAIMt.py", line 16, in ?
[2006-08-28 16:17:01]     main.main()
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/main.py", line 480, in main
[2006-08-28 16:17:01]     app = App()
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/main.py", line 443, in __init__
[2006-08-28 16:17:01]     self.c = sasl.buildServiceManager(jid,
config.saslUsername, config.secret, "tcp:%s:%s" % (config.mainServer,
config.port))
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/sasl.py", line 420, in
buildServiceManager
[2006-08-28 16:17:01]     svc = SASLServiceManager(jid, username, password)
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/sasl.py", line 402, in __init__
[2006-08-28 16:17:01]     self._xsFactory =
SASLcomponentFactory(self.jabberId, username, password)
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/sasl.py", line 48, in
SASLcomponentFactory
[2006-08-28 16:17:01]     a =
ConnectSASLComponentAuthenticator(componentid, username, password)
[2006-08-28 16:17:01]   File
"/usr/home/jberry/pyaimt/trunk/trunk/src/sasl.py", line 121, in __init__
[2006-08-28 16:17:01]     SASLConnectAuthenticator.__init__(self,
componentjid)
[2006-08-28 16:17:01] TypeError: __init__() takes exactly 1 argument (2
given)

Unfortunately, I'm not a Python programmer. Line 121 in sasl.py looks like
this:

 SASLConnectAuthenticator.__init__(self, componentjid)

so indeed there are 2 arguments to __init__.  but it seems that
SASLConnectAuthenticator.__init__ wants only one argument.

Again, I appreciate your time and assistance.

Joe

Reply via email to