Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread anatoly techtonik
pardon, s/checkout and working copy/checkout version and installed version/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread anatoly techtonik
On Mon, Apr 4, 2011 at 7:32 AM, wrote: >> >>I tried to find where build slave configuration is stored to see when >>7th step was added and remove it >>http://buildbot.twistedmatrix.com/builders/winxp32-py2.6-msi/builds/356/steps/shell_3 >>perhaps together with the 2nd step >>http://buildbot.twist

Re: [Twisted-Python] [ANNOUNCE] Twisted 11.0.0 Released

2011-04-04 Thread Werner Thie
On 4/3/11 8:01 PM, Jessica McKellar wrote: >PAS MAINTENANT CHEF! CHUIS EN TRAIN DE BRANCHER LE REACTEUR > > On behalf of Twisted Matrix Laboratories, I am honored to announce the > release of Twisted 11.0.0. Kudos to all! Mahalo nui loa, Werner ___

[Twisted-Python] Creating a hybrid server in Twisted

2011-04-04 Thread Jashank Jeremy
--text follows this line-- Hi, I'm trying to write a hybrid server that serves either HTTP or my own custom protocol depending on how it's addressed (distantly inspired by the IRC bouncer ZNC). If it receives a standard GET, POST, HEAD, etc. it sends HTTP traffic, or if it receives the bareword

Re: [Twisted-Python] Creating a hybrid server in Twisted

2011-04-04 Thread Andrew Bennetts
Jashank Jeremy wrote: [...] > So I'm pretty much stuck in a rut. I don't want to totally reinvent the > wheel just to be able to protocol-switch; I'd prefer to make use of > existing code from Twisted. How do I hijack Twisted.Web to add protocol > switching? You could override lineReceived along

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread exarkun
On 07:21 am, techto...@gmail.com wrote: On Mon, Apr 4, 2011 at 7:32 AM, wrote: I tried to find where build slave configuration is stored to see when 7th step was added and remove it http://buildbot.twistedmatrix.com/builders/winxp32-py2.6-msi/builds/356/steps/shell_3 perhaps together with the

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread Andrew Bennetts
anatoly techtonik wrote: […] > Why? I changed version to check that bin/trial uses the correct > twisted checkout (which it didn't), and to my surprise `bin/trial > --version` still gave me the number before it was edited in both > checkout and working copy. That was weird, because in my working co

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread anatoly techtonik
On Mon, Apr 4, 2011 at 4:15 PM, Andrew Bennetts wrote: > > So your problem isn't the version string, but that running bin/trial in > your Twisted checkout is finding the wrong version of Twisted? Exactly. But wrong version string was the cause of troubles with debugging it. > Also, rather than e

Re: [Twisted-Python] [ANNOUNCE] Twisted 11.0.0 Released

2011-04-04 Thread Glyph Lefkowitz
On Apr 3, 2011, at 2:01 PM, Jessica McKellar wrote: > PAS MAINTENANT CHEF! CHUIS EN TRAIN DE BRANCHER LE REACTEUR MAIS SEULEMENT UNE FOIS PAR POCESSUS > Many thanks to Glyph Lefkowitz and Jean-Paul Calderone for > sanity-checking the pre-releases and release,

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread exarkun
On 01:59 pm, techto...@gmail.com wrote: >On Mon, Apr 4, 2011 at 4:15 PM, Andrew Bennetts >wrote: >> >>So your problem isn't the version string, but that running bin/trial >>in >>your Twisted checkout is finding the wrong version of Twisted? > >Exactly. But wrong version string was the cause of t

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread anatoly techtonik
On Mon, Apr 4, 2011 at 10:55 PM, wrote: >> >>So, now I am curious why this copyright.py patch is required? > > It's required because of restrictions on what version you are allowed to > use when building an MSI.  These rules are codified in > distutils.version.StrictVersion: > >    >>> from distu

Re: [Twisted-Python] Where is buildslave configuration?

2011-04-04 Thread Glyph Lefkowitz
On Apr 4, 2011, at 5:00 PM, anatoly techtonik wrote: > I've tried to do this directly in setup.py so that local .msi builds > could work too. > http://twistedmatrix.com/trac/ticket/5024 Already reviewed and back to you. Thanks!___ Twisted-Python maili

[Twisted-Python] @inlinecallbacks and AlreadyCalledError in test cases

2011-04-04 Thread Brad Milne
Hi all I have recently started switching to trial.unittest from python's own. The trouble I'm experiencing is when a timeout occurs in my test, it errbacks(). Then the @inlineCallbacks decorator sees the error and errbacks(). But then a second @inlineCallback in the chain subsequently sees *that*

Re: [Twisted-Python] @inlinecallbacks and AlreadyCalledError in test cases

2011-04-04 Thread exarkun
On 01:39 am, brad.mi...@devx.runthered.com wrote: >Hi all > >I have recently started switching to trial.unittest from python's own. >The >trouble I'm experiencing is when a timeout occurs in my test, it >errbacks(). >Then the @inlineCallbacks decorator sees the error and errbacks(). But >then >a

Re: [Twisted-Python] @inlinecallbacks and AlreadyCalledError in test cases

2011-04-04 Thread Brad Milne
On 5 April 2011 14:21, wrote: > On 01:39 am, brad.mi...@devx.runthered.com wrote: > >Hi all > > > >I have recently started switching to trial.unittest from python's own. > >The > >trouble I'm experiencing is when a timeout occurs in my test, it > >errbacks(). > >Then the @inlineCallbacks decorato