On 3/8/06, James Bunton <[EMAIL PROTECTED]> wrote: > This command gives you the current revision. > svn info -R|grep "Revision:"|cut -d ' ' -f 2|sort -n|tail -n 1 > I'd have to implement that in python. or just try run it on startup, and if it returns data use it, otherwise default/blank. I guess it's not very cross-platform. `svn info` probably is. Why don't you use `svn status -v`, it produces less output and /might/ be easier to parse.
> The kqreactor error is because the transport tries to import every > reactor it knows about, in order of best to worst. As soon as it finds > one that works, it stops. hrm, what does it use to decide that one fails? obviously my transport is ending up failing to start _any_ reactor, but only the final error is show and delivered via xmpp to the user trying to login. > It should suppress the exception though. What python/twisted/OS version > have you got? Python 2.3.5 (#2, Nov 20 2005, 16:40:39) [GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2 Linux darkflame 2.6.12-1-686 #1 Tue Sep 27 12:52:50 JST 2005 i686 GNU/Linux It's only a Pentium 166, with 64mb of RAM, and 256mb swap (often 50% used), so there are instances where the machine will swap trash for a while, too often for my liking. Is there some timeout I can extend to make it wait for longer? Or possibly can I force it to use a particular reactor, and not try and auto-sense? -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Mar 8 12:02:58 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Wed Mar 8 12:03:06 2006 Subject: [py-transports] PyMSNt sending error messages to wrong contact In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 3/8/06, James Bunton <[EMAIL PROTECTED]> wrote: > On 05/03/2006, at 11:14 AM, Oscar Hellstr?m wrote: > > > Hi. > > > > I was sending a file to a contact through PyMSNt just now. The file was > > apparently to large and an error message was issued. The only problem > > is > > that I did not receive the error message, but the MSN contact did :) > > > > The error message was: > > A file 'xxx.xxx' was rejected because it was over the size limit of > > 524288. To send larger files to this person, please use Jabber. See > > http://jabber.oscarh.net for details. > > This was actually intentional :) > > I prefer to bug the MSN users to get Jabber :P > shouldn't it perhaps go to both then? -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Mar 8 16:51:35 2006 From: [EMAIL PROTECTED] (Wendell Turner) Date: Wed Mar 8 16:51:39 2006 Subject: [py-transports] service id & browse services Message-ID: <[EMAIL PROTECTED]> Pardon these beginner questions, but I'm not able to get PyMSNt running, and would like some help. 1) service hostname; login The PyMSNt instructions say to add a service to the jabber.xml file <service id="myhost.mycompany.com"> <host>myhost.mycompany.com</host> ... However, when I do that, and try to connect with gaim, gaim reports a 'Resource Conflict'. The id field is the same as reported by `hostname`. If I change the id field to something else (i.e., not the hostname), gaim will connect to jabberd. What should the id be if not the local hostname? 2) browse w/gaim Assuming the above gets fixed, the Getting Started says to use the client to "Browse Services" or something similar, yet gaim does not appear to offer such a menu item or button. Do I need to use another client? Wendell