On Fri, Oct 28, 2005 at 12:00:24AM +1000, James Bunton wrote: > I also accidentally killed my CVS. Apologies, you'll all have to check > out again.
Perhaps this is a opportunity to switch PyMSNt to Subversion? Subversion is much like CVS - just better. :-) I guess it could be hosted at blathersource.org like PyAIMt and PyICQt. > Please try this out if you can, and let me know how you go. PyMSNt 0.10.1 (checked out from CVS) is not able to start due to the following error: $ ./PyMSNt PyMSNt: can't open file 'main.py': [Errno 2] No such file or directory A (trivial) patch to fix the issue is attached. Best regards, Lars -------------- next part -------------- Index: PyMSNt =================================================================== RCS file: /home/cvs/msn-transport/PyMSNt/PyMSNt,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 PyMSNt --- PyMSNt 27 Oct 2005 13:28:50 -0000 1.1.1.3 +++ PyMSNt 27 Oct 2005 16:02:36 -0000 @@ -1,6 +1,6 @@ #!/bin/bash -exec -a PyMSNt python main.py $* +exec -a PyMSNt python src/main.py $* # Comment out the above line and use the below for twistd #PPATH="/usr/local/PyMSNt" From [EMAIL PROTECTED] Thu Oct 27 16:06:06 2005 From: [EMAIL PROTECTED] ([EMAIL PROTECTED]) Date: Thu Oct 27 16:25:41 2005 Subject: [py-transports] some questions! please help me. thanks Message-ID: <[EMAIL PROTECTED]> hello all I am a administrator for jabber. now i has installed jabber2 in my computer successfully and chat with others through the jabber2 server. but when i setup the msn-transport in the jabber2, i encounter some troubles. i has installed the Twisted, Pyopenssl and Pycrypto in the server and configured according to the ¡¶PyMSNt Server Administrator Guide¡·. but after executed ./PyMSNt & ,there are some errors: 10/26/05 - 11:25:06 - PyTransport: Disconnected from main Jabberd server 10/26/05 - 11:25:09 - PyTransport: Connected to main Jabberd server 10/26/05 - 11:25:09 - Discovery: Iq received "jabber.tg100.net" "4c4l3mjn". Looking for handler 10/26/05 - 11:25:09 - Discovery: Replying to disco#info request "jabber.tg100.net" "4c4l3mjn" "msn.tg100.net" 10/26/05 - 11:25:09 - Traceback (most recent call last): 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 58, in callWithLogger 10/26/05 - 11:25:09 - return callWithContext({"system": lp}, func, *args, **kw) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 43, in callWithContext 10/26/05 - 11:25:09 - return context.call({ILogContext: newCtx}, func, *args, **kw) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContext 10/26/05 - 11:25:09 - return self.currentContext().callWithContext(ctx, func, *args, **kw) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext 10/26/05 - 11:25:09 - return func(*args,**kw) 10/26/05 - 11:25:09 - --- <exception caught here --- 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite 10/26/05 - 11:25:09 - why = getattr(selectable, method)() 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 347, in doRead 10/26/05 - 11:25:09 - return self.protocol.dataReceived(data) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/words/xish/xmlstream.py", line 72, in dataReceived 10/26/05 - 11:25:09 - self.stream.parse(buf) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/words/xish/domish.py", line 524, in parse 10/26/05 - 11:25:09 - self.parser.Parse(buffer) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/words/xish/domish.py", line 564, in _onEndElement 10/26/05 - 11:25:09 - self.ElementEvent(self.currElem) 10/26/05 - 11:25:09 - File "/usr/lib/python2.4/site-packages/twisted/words/xish/xmlstream.py", line 104, in onElement 10/26/05 - 11:25:09 - self.dispatch(element) when i modified port value that not is equal to 5347, the PyMSNt run ok. but i can't find the msn transport on the client. i think the rounter process don't listen the port of msn-transport. need I configure some setting in the rounter.xml or sm.xml file? please tell some methods and give me some advice. thank you! my computer environment: Redhat9.0, Python2.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20051028/cfdb7a04/attachment.html From [EMAIL PROTECTED] Thu Oct 27 16:31:39 2005 From: [EMAIL PROTECTED] (Daniel Henninger) Date: Thu Oct 27 16:31:49 2005 Subject: [py-transports] PyMSNt 0.10.1 - Twisted application changes In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> >> I also accidentally killed my CVS. Apologies, you'll all have to >> check >> out again. >> > > Perhaps this is a opportunity to switch PyMSNt to Subversion? > Subversion > is much like CVS - just better. :-) I guess it could be hosted at > blathersource.org like PyAIMt and PyICQt. James, if you -do- want to switch to SVN, you don't need me for it (unless you just wanted to)... JabberStudio also has SVN support. Daniel From [EMAIL PROTECTED] Fri Oct 28 23:34:27 2005 From: [EMAIL PROTECTED] (James Bunton) Date: Fri Oct 28 23:34:48 2005 Subject: [py-transports] some questions! please help me. thanks In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Can you try the 0.10.1 tarball please? Also, that doesn't look like the whole exception from the log. I need the end of that to figure out what went wrong. --- James On 28/10/2005, at 2:06 AM, <[EMAIL PROTECTED]> wrote: > hello all > > I am a administrator for jabber. now i has installed jabber2 in my > computer successfully > and chat with others through the jabber2 server. but when i setup the > msn-transport in the jabber2, > i encounter some troubles. > > i has installed the Twisted, Pyopenssl and Pycrypto in the server and > configured according to the > $B!T(BPyMSNt Server Administrator Guide$B!U(B. but after executed > ./PyMSNt & > ,there are some errors: > > 10/26/05 - 11:25:06 - PyTransport: Disconnected from main Jabberd > server > 10/26/05 - 11:25:09 - PyTransport: Connected to main Jabberd server > 10/26/05 - 11:25:09 - Discovery: Iq received "jabber.tg100.net" > "4c4l3mjn". Looking for handler > 10/26/05 - 11:25:09 - Discovery: Replying to disco#info request > "jabber.tg100.net" "4c4l3mjn" "msn.tg100.net" > 10/26/05 - 11:25:09 - Traceback (most recent call last): > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 58, in > callWithLogger > 10/26/05 - 11:25:09 - return callWithContext({"system": lp}, func, > *args, **kw) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 43, in > callWithContext > 10/26/05 - 11:25:09 - return context.call({ILogContext: newCtx}, > func, *args, **kw) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 59, > in callWithContext > 10/26/05 - 11:25:09 - return > self.currentContext().callWithContext(ctx, func, *args, **kw) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 37, > in callWithContext > 10/26/05 - 11:25:09 - return func(*args,**kw) > 10/26/05 - 11:25:09 - --- <exception caught here --- > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", > line 139, in _doReadOrWrite > 10/26/05 - 11:25:09 - why = getattr(selectable, method)() > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 347, > in doRead > 10/26/05 - 11:25:09 - return self.protocol.dataReceived(data) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/words/xish/xmlstream.py", > line 72, in dataReceived > 10/26/05 - 11:25:09 - self.stream.parse(buf) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/words/xish/domish.py", line > 524, in parse > 10/26/05 - 11:25:09 - self.parser.Parse(buffer) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/words/xish/domish.py", line > 564, in _onEndElement > 10/26/05 - 11:25:09 - self.ElementEvent(self.currElem) > 10/26/05 - 11:25:09 - File > "/usr/lib/python2.4/site-packages/twisted/words/xish/xmlstream.py", > line 104, in onElement > 10/26/05 - 11:25:09 - self.dispatch(element) > > > when i modified port value that not is equal to 5347, the PyMSNt run > ok. but i can't find the msn transport on the client. > i think the rounter process don't listen the port of msn-transport. > need I configure some setting in the rounter.xml or sm.xml file? > > please tell some methods and give me some advice. > thank you! > > > my computer environment: Redhat9.0, > Python2.4_______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports