Hello.
I've setup a internal Jabber server using jabberd14. I've configured a
PyMSNt transport. When I've registered the transport on a user, the
registration was OK, but the MSN server contact list wasn't fully
syncronized (some contacts was left) and, when I try to send a message
to someone, the transport tells me to wait the login process completes.
(with another MSN account, I've seen the registered account Online).
When I got a logfile, here's what I found:
------------------------------------------------------------------------
[2007-05-23 08:41:52] Traceback (most recent call last):
File "/root/pymsnt-0.11.2/src/legacy/msn/msn.py", line 1214,
in handle_LST
File "/root/pymsnt-0.11.2/src/legacy/msn/msn.py", line 752,
in _fireCallback
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229,
in callback
self._startRunCallbacks(result)
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294,
in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307,
in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/root/pymsnt-0.11.2/src/legacy/msn/msnw.py", line 431,
in listSynchronized
File "/root/pymsnt-0.11.2/src/legacy/glue.py", line 412, in
listSynchronized
File "/root/pymsnt-0.11.2/src/legacy/glue.py", line 662, in
syncJabberLegacyLists
File "/root/pymsnt-0.11.2/src/contact.py", line 101, in
syncRoster
self.contactList.session.sendRosterImport(jid=self.jid,
ptype=ptype, sub=self.sub, groups=self.groups, name=self.nickname)
File "/root/pymsnt-0.11.2/src/jabw.py", line 175, in
sendRosterImport
self.sendPresence(to=self.jabberID, fro=jid, ptype=ptype,
payload=[x])
File "/root/pymsnt-0.11.2/src/jabw.py", line 160, in sendPresence
sendPresence(self.pytrans, to, fro, show, status, priority,
ptype, avatarHash, nickname, payload)
File "/root/pymsnt-0.11.2/src/jabw.py", line 39, in sendPresence
fro = internJID(fro).userhost()
File
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 89, in internJID
j = JID(str)
File
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 104, in __init__
user, host, res = parse(str)
File
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 47, in parse
return prep(user, server, resource)
File
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 56, in prep
raise InvalidFormat, "Invalid character in username"
twisted.words.protocols.jabber.jid.InvalidFormat: Invalid
character in username
[2007-05-23 08:42:05] Traceback (most recent call last):
File "/root/pymsnt-0.11.2/src/legacy/msn/msn.py", line 2707,
in close
File "/root/pymsnt-0.11.2/src/legacy/msn/msn.py", line 2370,
in bufferClosed
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229,
in callback
self._startRunCallbacks(result)
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294,
in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307,
in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/root/pymsnt-0.11.2/src/legacy/msn/msnw.py", line 723,
in updateAvatarCB
File "/root/pymsnt-0.11.2/src/legacy/glue.py", line 546, in
gotAvatarImageData
exceptions.AttributeError: 'NoneType' object has no attribute
'updateAvatar'
------------------------------------------------------------------------
I'm using Ubuntu Dapper Server Edition, Twisted 2.2.0, Python 2.4.3
Can anyone help me?
Thanks.
Ygor
_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports