[Twisted-Python] Volunteering for Release Manager

2009-07-07 Thread Jonathan Lange
Hello all, With some trepidation and a complete willingness to fail, I'm offering my services as Twisted release manager, starting Tuesday next week. I have only two questions: - Am I accepted? - Where do I begin? jml ___ Twisted-Python mailing li

Re: [Twisted-Python] Volunteering for Release Manager

2009-07-07 Thread glyph
On 07:54 am, j...@mumak.net wrote: >Hello all, > >With some trepidation and a complete willingness to fail, I'm offering >my services as Twisted release manager, starting Tuesday next week. Hooray! >I have only two questions: > - Am I accepted? MWAHAHAHAHAHA, WELCOME TO YOUR DOOM! By which I m

[Twisted-Python] Failed to load application: cannot import name app

2009-07-07 Thread Jesper Taxbøl
Hi Guys, I stumpled upon a small dns filter program, that I am having trouble running, due to "twisted.internet.app" being deprecated. I get the following output "Failed to load application: cannot import name app" Im running "twistd (the Twisted daemon) 2.5.0" Any advice on how to proceed? Kin

Re: [Twisted-Python] Failed to load application: cannot import name app

2009-07-07 Thread Jean-Paul Calderone
On Tue, 7 Jul 2009 17:20:41 +0200, Jesper Taxbøl wrote: >Hi Guys, > >I stumpled upon a small dns filter program, that I am having trouble >running, due to "twisted.internet.app" being deprecated. I get the following >output "Failed to load application: cannot import name app" > >Im running "twistd

[Twisted-Python] Connecting to multiple servers

2009-07-07 Thread Antonio Beamud Montero
Hi all: What's the smart way to close the reactor and exit in an app like that: - from twisted.internet import reactor from twisted.web.client import getPage def gotPageCallback(page): print "got a page!" getPage('http://www.google.com').addCallback(gotPageCallback)

Re: [Twisted-Python] Connecting to multiple servers

2009-07-07 Thread Gerrat Rickert
>-Original Message- >From: twisted-python-boun...@twistedmatrix.com [mailto:twisted-python- >boun...@twistedmatrix.com] On Behalf Of Antonio Beamud Montero >Sent: Tuesday, July 07, 2009 1:14 PM >To: Twisted general discussion >Subject: [Twisted-Python] Connecting to multiple servers > >Hi a

[Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Steve Freitas
Hi all, If from inside my twisted program I do... commands.getstatusoutput('sudo blah blah') ...it works great. If instead I do... utils.getProcessOutputAndValue('/usr/bin/sudo', path='/usr/bin', args=('blah blah',)) ...it gets stuck asking for the sudo password. I've tried a bunch of variatio

Re: [Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Michael Thompson
2009/7/7 Steve Freitas : > Hi all, > > If from inside my twisted program I do... > > commands.getstatusoutput('sudo blah blah') > > ...it works great. If instead I do... Does working mean it sucessfully asks for the password or that it doesn't ask for the password? > > utils.getProcessOutputAndVa

Re: [Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Maarten ter Huurne
On Tuesday 07 July 2009, Steve Freitas wrote: > If from inside my twisted program I do... > > commands.getstatusoutput('sudo blah blah') > > ...it works great. If instead I do... > > utils.getProcessOutputAndValue('/usr/bin/sudo', path='/usr/bin', > args=('blah blah',)) Did you try "args=('blah',

Re: [Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Steve Freitas
Hi Maarten, On Tue, 2009-07-07 at 23:46 +0200, Maarten ter Huurne wrote: > Did you try "args=('blah', 'blah')"? Ah ha! That did it. Wonder why that works. Thanks! Steve ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedm

Re: [Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Steve Freitas
Hi Michael On Tue, 2009-07-07 at 22:41 +0100, Michael Thompson wrote: > Does working mean it sucessfully asks for the password or that it > doesn't ask for the password? It successfully doesn't ask for the password. > sudo can cache your password for a period of time, so you won't have > to e

Re: [Twisted-Python] sudo asking for a password during utils.getProcessOutputAndValue()

2009-07-07 Thread Jean-Paul Calderone
On Tue, 07 Jul 2009 15:06:49 -0700, Steve Freitas wrote: >Hi Maarten, > >On Tue, 2009-07-07 at 23:46 +0200, Maarten ter Huurne wrote: > >> Did you try "args=('blah', 'blah')"? > > >Ah ha! That did it. Wonder why that works. > I suppose your sudoers configuration file wasn't recognizing the comman

Re: [Twisted-Python] untwisting twistd

2009-07-07 Thread Mikhail
Thanks Jared, this is exactly what I was missing! ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Possible Twisted sprint

2009-07-07 Thread Jonathan Lange
Hello all, I've recently returned from EuroPython where I got a chance to work with Thomas Hervé on Twisted. In the giddy rush of success I thought, "Wouldn't it be great if we could get a whole week to do this?". I propose that: - we arrange a week long sprint in Boston this year. - we ask t