James, Sorry, I still can't check the pymsnt out.Is your host' IP 209.220.30.174? But I have a new problem when I register a msn account using pymsnt transport. Note: Exodus jabber brower can find the msn transport, and throw out the exception when exec register. Would you please give me some idea?
Logs: File "/usr/local/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) File "/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 56, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 41, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line 31, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/local/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 351, in doRead return self.protocol.dataReceived(data) File "/usr/local/lib/python2.4/site-packages/twisted/xish/xmlstream.py", line 145, in dataReceived self.stream.parse(buf) File "/usr/local/lib/python2.4/site-packages/twisted/xish/domish.py", line 600, in parse self.parser.Parse(buffer) File "/usr/local/lib/python2.4/site-packages/twisted/xish/domish.py", line 638, in _onEndElement self.ElementEvent(self.currElem) File "/usr/local/lib/python2.4/site-packages/twisted/xish/xmlstream.py", line 166, in onElement self.dispatch(element) File "/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 233, in dispatch callbacklist.callback(object) File "/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 37, in callback methodwrapper(*args, **kwargs) File "/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 21, in __call__ self.method(*nargs, **nkwargs) File "/root/pymsnt-0.10.1/src/disco.py", line 153, in onIq handler(el) File "/root/pymsnt-0.10.1/src/register.py", line 69, in incomingRegisterIq self.sendRegistrationFields(incoming) File "/root/pymsnt-0.10.1/src/register.py", line 93, in sendRegistrationFields result = self.getRegInfo(incoming.getAttribute("from")) File "/root/pymsnt-0.10.1/src/register.py", line 50, in getRegInfo result = self.pytrans.xdb.request(jid.JID(jabberID).userhost(), legacy.namespace) File "/usr/local/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py", line 104, in __init__ user, host, res = parse(str) File "/usr/local/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py", line 47, in parse return prep(user, server, resource) File "/usr/local/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py", line 66, in prep raise InvalidFormat, "Invalid character in hostname" twisted.words.protocols.jabber.jid.InvalidFormat: Invalid character in hostname -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20051216/e75bd2ff/attachment.html From [EMAIL PROTECTED] Fri Dec 16 13:15:23 2005 From: [EMAIL PROTECTED] (Stian B. Barmen) Date: Fri Dec 16 13:15:47 2005 Subject: [py-transports] PyMSNt 0_11_x file transfer brach svn alpha testing In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> > > In svn://delx.cjb.net/pymsnt/branches/0_11_x is some > preliminary file transfer code. It works for receiving files. > I'll be polishing this up so that it works with more clients, > and so that you can send as well. > > If you want to track the progress of file transfer, its > probably a good idea to join py-transports. Also, you're best > off not checking out trunk :) > > Enjoy! > > --- Hello, I have just installed the 0_11_x branch to my server for some testing. I dont quite understand how the jabber.no/msn/files type of transfer works. I understand that I could host this transfer myself somehow but I need some more help / doc / howto. When I send a file from MSN client I get a message that the file has been transferred and I on the jabber transport side get a link, which is formed from the config.xml file setting. But where the file ends up is a mystery. I tried to just specify the port so I did not need to configure Apache yet, is that a problem? Right now I just tried to set it like: <ftOOBRoot>http://jabber.no:8080/msn/files</ftOOBRoot> But no cigar just yet. I can connect to the 8080 port from outside and stuff but I just get a 404 error. Also I can see from the changelog on trunk that you have made some progress, will this be submitted to 11_x any time soon? I would love to test out some more. My test server is called msn-beta.jabber.no and I have the 10.2 running stable on msn.jabber.no. Looking forward to follow you further on the file transfer quest! :) Best regards Stian B. Barmen