Hi,

i am trying to install PyMSNt on my local ejabberd2 installation. But
somehow the Transport gets no name in the service discovery. It shows
up there, but without name. And with no name, psi won´t allow
registering. In the debug log following traceback shows up:

[2008-09-12 13:31:06] Traceback (most recent call last):
          File "/tmp/Python-2.5.2/Modules/pyexpat.c", line 656, in
EndElement

          File "/usr/lib64/python2.5/site-packages/Twisted-8.1.0-py2.5-
linux-x86_64.egg/twisted/words/xish/domish.py", line 780, in
_onEndElement
            self.ElementEvent(self.currElem)
          File "/usr/lib64/python2.5/site-packages/Twisted-8.1.0-py2.5-
linux-x86_64.egg/twisted/words/xish/xmlstream.py", line 106, in
onElement
            self.dispatch(element)
          File "/usr/lib64/python2.5/site-packages/Twisted-8.1.0-py2.5-
linux-x86_64.egg/twisted/words/xish/utility.py", line 316, in dispatch
            callbacklist.callback(obj)
        --- <exception caught here> ---
          File "/usr/lib64/python2.5/site-packages/Twisted-8.1.0-py2.5-
linux-x86_64.egg/twisted/words/xish/utility.py", line 106, in callback
            methodwrapper(*args, **kwargs)
          File "/usr/lib64/python2.5/site-packages/Twisted-8.1.0-py2.5-
linux-x86_64.egg/twisted/words/xish/utility.py", line 27, in __call__
            self.method(*nargs, **nkwargs)
          File "/var/lib/ejabberd/pymsnt/src/disco.py", line 158, in
onIq
            self.sendDiscoInfoResponse(to=fro, ID=ID, ulang=ulang,
jid=to)
          File "/var/lib/ejabberd/pymsnt/src/disco.py", line 186, in
sendDiscoInfoResponse
            searchjid = self._makeSearchJID(jid)
          File "/var/lib/ejabberd/pymsnt/src/disco.py", line 75, in
_makeSearchJID
            elif config.compjid and to == config.compjid:
        exceptions.NameError: global name 'to' is not defined


I am currently using the last development version. version 11-3 has
the same problem. I am running ejabberd 2.0.1. PyICQt works.

my config.xml:
<pymsnt>
<jid>msn.evilazrael.net</jid>
<host>msn.evilazrael.net</host>
<compjid>msn1</compjid>
Do not include the jid of the transport -->
<spooldir>./data</spooldir>
<pid>PyMSNt.pid</pid>
<background/>
<mainServer>127.0.0.1</mainServer>
<port>5348</port>
<secret>XxX</secret>
<!-- <useXCP/> -->
<lang>en</lang>
<website>http://evilazrael.net</website>
<allowRegister/>
<getAllAvatars/>
<!-- <groupchatTimeout>120</groupchatTimeout> -->
<ftSizeLimit>52428800</ftSizeLimit>
<ftRateLimit>20480</ftRateLimit>
<ftJabberPort>8010</ftJabberPort>
<!--<ftOOBPort>8011</ftOOBPort>-->
<!--<ftOOBRoot>http://host.com/msn/files/</ftOOBRoot>-->
<debugLevel>2</debugLevel>
<debugFile>debug.log</debugFile>
</pymsnt>


Has anybody any idea what i have made wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to