[Twisted-Python] Running twistd and tac files as Windows service

2012-10-23 Thread John Aherne
I have been looking at running some twisted programs as a windows service. So in the end I took a copy of twistd.py and adapted it to load my tac file and run it as a windows service. Of course the windows service will run it in a separate thread. I now have it running on XP, 2003 Server Twisted

[Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Maxim Lacrima
Hi! I tried to run twisted test suite. And there are some errors: http://pastebin.com/em3NTN2B Also tests in "twisted.test.test_udp" took too much time to run (trial hanged for a couple of minutes on these tests). I wonder if this is something wrong with my Twisted installation. Thank you. --

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Maxim Lacrima
I believe in my previous post I launched tests incorrectly (I use twisted with virtualenv, but I didn't activate it). Now I run `trial twisted` in the activated virtualenv... But there are still errors: http://pastebin.com/6065dX6a Thanks On 23 October 2012 11:43, Maxim Lacrima wrote: > Hi! >

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Itamar Turner-Trauring
On Tue, Oct 23, 2012 at 5:11 AM, Maxim Lacrima wrote: > I believe in my previous post I launched tests incorrectly (I use twisted > with virtualenv, but I didn't activate it). > > Now I run `trial twisted` in the activated virtualenv... But there are > still errors: > http://pastebin.com/6065dX6a

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Maxim Lacrima
> > > Which operating system, and what sort of environment? The UDP failures > suggest some sort of firewalling. > CentOS 6.2. I use Twisted inside virtualenv http://www.virtualenv.org/en/latest/ Currently, Twisted is the only package installed inside virtual environment, where I run tests. I d

Re: [Twisted-Python] Running twistd and tac files as Windows service

2012-10-23 Thread exarkun
On 08:23 am, johnahe...@rocs.co.uk wrote: >I have been looking at running some twisted programs as a windows >service. > >So in the end I took a copy of twistd.py and adapted it to load my tac >file >and run it as a windows service. > >Of course the windows service will run it in a separate threa

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread exarkun
On 11:31 am, lacrima.ma...@gmail.com wrote: >> >> >>Which operating system, and what sort of environment? The UDP failures >>suggest some sort of firewalling. > >CentOS 6.2. RHEL and derivatives typically seem to, by default, include a firewall configuration that drops multicast traffic, so perha

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Itamar Turner-Trauring
On Tue, Oct 23, 2012 at 7:44 AM, wrote: > RHEL and derivatives typically seem to, by default, include a firewall > configuration that drops multicast traffic, so perhaps that's what > you're seeing. > http://twistedmatrix.com/trac/wiki/ContinuousIntegration/TestSlaveConfigurationhas some more de

Re: [Twisted-Python] Running twistd and tac files as Windows service

2012-10-23 Thread Tom Prince
As JP said, buildbot has some code for this at https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/

[Twisted-Python] Silly txoauth with Twisted Client Question

2012-10-23 Thread Andrew Francis
Hi Folks: I am implementing a client that uses Twisted. I have to use oauth 2.0. I have started to read up on Oauth and Twisted cred.  I noticed that there is a txoauth. For now, my client is of the "it can't keep secrets" nature as described by Google.  From my understanding Twisted Cred is u

Re: [Twisted-Python] Running twisted test suite produces errors and hangs

2012-10-23 Thread Maxim Lacrima
Thanks for your assistance! ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python