hello,
i’'ve installed the pymsn and all the stuff on debian (apt-get install …)
the registration of msn.server is ok.
when i discover it using psi or tkabber on linux, i register and add msn.server but it gets offline.
some configure i did wrong perhaps?
in the JM i just put the port to 10015 and the password, nothing else more.
and configure the config.xml of pymsn-t
here is the debug.log of pymsn
========
08/31/05 - 19:56:05 - rodrigo@cesecsrv.ceara.gov.br
08/31/05 - 19:56:57 - Discovery: Iq received "rodrigo@cesecsrv.ceara.gov.br/tkabber" “211-18”. Looking for handler
08/31/05 - 19:56:57 - Discovery: Replying with error to unknown Iq request
08/31/05 - 19:56:57 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection received presence packet
08/31/05 - 19:56:57 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection parsed subscription presence packet “raphaelfcavalcante%hotmail.com@msn.cesecsrv.ceara.gov.br” “unsubscribe”
08/31/05 - 19:56:57 - Session: "rodrigo@cesecsrv.ceara.gov.br" subscriptionReceived(), passing onto legacycon.jabberSubscriptionReceived()
08/31/05 - 19:56:57 - Subscriptions: Session "rodrigo@cesecsrv.ceara.gov.br" - jabberSubscriptionReceived(“raphaelfcavalcante%hotmail.com@msn.cesecsrv.ceara.gov.br”, “unsubscribe”)
08/31/05 - 19:57:02 - Discovery: Iq received "rodrigo@cesecsrv.ceara.gov.br/tkabber" “722-21”. Looking for handler
08/31/05 - 19:57:02 - Discovery: Replying with error to unknown Iq request
08/31/05 - 19:57:02 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection received presence packet
08/31/05 - 19:57:02 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection parsed subscription presence packet “raphaelfcavalcante%hotmail.com@msn.cesecsrv.ceara.gov.br” “unsubscribe”
08/31/05 - 19:57:02 - Session: "rodrigo@cesecsrv.ceara.gov.br" subscriptionReceived(), passing onto legacycon.jabberSubscriptionReceived()
08/31/05 - 19:57:02 - Subscriptions: Session "rodrigo@cesecsrv.ceara.gov.br" - jabberSubscriptionReceived(“raphaelfcavalcante%hotmail.com@msn.cesecsrv.ceara.gov.br”, “unsubscribe”)
08/31/05 - 19:57:05 - Sessions:
08/31/05 - 19:57:05 - rodrigo@cesecsrv.ceara.gov.br
08/31/05 - 19:57:06 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection received presence packet
08/31/05 - 19:57:06 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection parsed subscription presence packet “msn.cesecsrv.ceara.gov.br” “unsubscribed”
08/31/05 - 19:57:06 - Session: "rodrigo@cesecsrv.ceara.gov.br" subscriptionReceived(), passing onto legacycon.jabberSubscriptionReceived()
08/31/05 - 19:57:06 - Subscriptions: Session "rodrigo@cesecsrv.ceara.gov.br" - jabberSubscriptionReceived(“msn.cesecsrv.ceara.gov.br”, “unsubscribed”)
08/31/05 - 19:57:06 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection received presence packet
08/31/05 - 19:57:06 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection parsed presence packet "rodrigo@cesecsrv.ceara.gov.br" “tkabber” “None” “unavailable” “None” “”
08/31/05 - 19:57:06 - Session: rodrigo@cesecsrv.ceara.gov.br - resource “tkabber” gone offline
08/31/05 - 19:57:06 - Session %s - tearing down, last resource gone offline
08/31/05 - 19:57:06 - Session: Removing "rodrigo@cesecsrv.ceara.gov.br"
08/31/05 - 19:57:06 - User: rodrigo@cesecsrv.ceara.gov.br - JabberConnection sending presence "rodrigo@cesecsrv.ceara.gov.br" “msn.cesecsrv.ceara.gov.br” “None” “” “None” “unavailable”
08/31/05 - 19:57:06 - LegacyConnection: "rodrigo@cesecsrv.ceara.gov.br" - being deleted
08/31/05 - 19:57:06 - MSNConnection: "mrodrigox@hotmail.com" destroyed
08/31/05 - 19:57:06 - Session: Completed removal "rodrigo@cesecsrv.ceara.gov.br"
08/31/05 - 19:57:06 - Discovery: Iq received "rodrigo@cesecsrv.ceara.gov.br/tkabber" “274-25”. Looking for handler
08/31/05 - 19:57:06 - Discovery: Unknown Iq request "rodrigo@cesecsrv.ceara.gov.br/tkabber" “274-25” “jabber:iq:roster”
08/31/05 - 19:57:06 - Discovery: Replying with error to unknown Iq request
08/31/05 - 19:57:06 - PyTransport: Sending unavailable presence to non-logged in user "rodrigo@cesecsrv.ceara.gov.br"
08/31/05 - 19:57:06 - Discovery: Iq received "rodrigo@cesecsrv.ceara.gov.br/tkabber" “35”. Looking for handler
08/31/05 - 19:57:06 - Discovery: Handler found “jabber:iq:register” “”
08/31/05 - 19:57:10 - RegisterManager: In-band registration type “set” received
08/31/05 - 19:57:10 - RegisterManager: updateRegistration() for "rodrigo@cesecsrv.ceara.gov.br/tkabber" “37”
08/31/05 - 19:57:10 - RegisterManager: Session "rodrigo@cesecsrv.ceara.gov.br" is about to be unregistered
08/31/05 - 19:57:10 - RegisterManager: removeRegInfo("rodrigo@cesecsrv.ceara.gov.br")
08/31/05 - 19:57:10 - XDB error removing file /usr/local/pymsn/msn.cesecsrv.ceara.gov.br/rodrigo%cesecsrv.ceara.gov.br.xml
08/31/05 - 19:57:10 - RegisterManager: Failure in updating XDB or sending result Iq
08/31/05 - 19:57:10 - RegisterManager: Invalid registration data was sent to us. Or the removal failed.
08/31/05 - 19:57:10 - Traceback (most recent call last):
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/internet/default.py”, line 526, in doSelect
08/31/05 - 19:57:10 - _logrun(selectable, _drdw, selectable, method, dict)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/python/log.py”, line 65, in callWithLogger
08/31/05 - 19:57:10 - callWithContext({“system”: lp}, func, *args, **kw)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/python/log.py”, line 52, in callWithContext
08/31/05 - 19:57:10 - return context.call(, func, *args, **kw)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/python/context.py”, line 43, in callWithContext
08/31/05 - 19:57:10 - return func(**args,***kw)
08/31/05 - 19:57:10 - — —
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/internet/default.py”, line 535, in _doReadOrWrite
08/31/05 - 19:57:10 - why = getattr(selectable, method)()
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/internet/tcp.py”, line 255, in doRead
08/31/05 - 19:57:10 - return self.protocol.dataReceived(data)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 159, in dataReceived
08/31/05 - 19:57:10 - self.stream.parse(buf)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 598, in parse
08/31/05 - 19:57:10 - self.parser.Parse(buffer)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 635, in _onEndElement
08/31/05 - 19:57:10 - self.ElementEvent(self.currElem)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 180, in onElement
08/31/05 - 19:57:10 - self.dispatch(element)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 139, in dispatch
08/31/05 - 19:57:10 - callbacklist.callback(object)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 50, in callback
08/31/05 - 19:57:10 - methodwrapper(*args, **kwargs)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 34, in call
08/31/05 - 19:57:10 - self.method(*nargs, **nkwargs)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/disco.py”, line 92, in onIq
08/31/05 - 19:57:10 - handler(el)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 72, in incomingRegisterIq
08/31/05 - 19:57:10 - self.updateRegistration(incoming)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 158, in updateRegistration
08/31/05 - 19:57:10 - self.badRequestReply(incoming)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 170, in badRequestReply
08/31/05 - 19:57:10 - self.pytrans.send(reply)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py”, line 96, in send
08/31/05 - 19:57:10 - self.parent.send(obj)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py”, line 162, in send
08/31/05 - 19:57:10 - self.xmlstream.send(obj)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 193, in send
08/31/05 - 19:57:10 - obj = obj.toXml()
08/31/05 - 19:57:10 - why = getattr(selectable, method)()
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/internet/tcp.py”, line 255, in doRead
08/31/05 - 19:57:10 - return self.protocol.dataReceived(data)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 159, in dataReceived
08/31/05 - 19:57:10 - self.stream.parse(buf)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 598, in parse
08/31/05 - 19:57:10 - self.parser.Parse(buffer)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 635, in _onEndElement
08/31/05 - 19:57:10 - self.ElementEvent(self.currElem)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 180, in onElement
08/31/05 - 19:57:10 - self.dispatch(element)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 139, in dispatch
08/31/05 - 19:57:10 - callbacklist.callback(object)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 50, in callback
08/31/05 - 19:57:10 - methodwrapper(*args, **kwargs)
08/31/05 - 19:57:10 - File “/usr/lib/python2.3/site-packages/twisted/xish/utility.py”, line 34, in call
08/31/05 - 19:57:10 - self.method(*nargs, **nkwargs)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/disco.py”, line 92, in onIq
08/31/05 - 19:57:10 - handler(el)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 72, in incomingRegisterIq
08/31/05 - 19:57:10 - self.updateRegistration(incoming)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 158, in updateRegistration
08/31/05 - 19:57:10 - self.badRequestReply(incoming)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/register.py”, line 170, in badRequestReply
08/31/05 - 19:57:10 - self.pytrans.send(reply)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py”, line 96, in send
08/31/05 - 19:57:10 - self.parent.send(obj)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py”, line 162, in send
08/31/05 - 19:57:10 - self.xmlstream.send(obj)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py”, line 193, in send
08/31/05 - 19:57:10 - obj = obj.toXml()
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 399, in toXml
08/31/05 - 19:57:10 - s.serialize(self, closeElement)
08/31/05 - 19:57:10 - File “/usr/local/PyMSNt-0.9.5/src/tlib/domish.py”, line 90, in serialize
08/31/05 - 19:57:10 - write(" %s:%s=’’%s’’" % (self.getPrefix(k[0]), k[1], escapeToXml(v, 1)).encode(“utf-8”))
08/31/05 - 19:57:10 - exceptions.AttributeError: ‘‘tuple’’ object has no attribute ‘‘encode’’
====
thanks,
Rodrigo