Re: [Twisted-Python] spawnProcess help needed

2008-12-10 Thread Cary Hull
Just an fyi, you don't need to code your own process protocol for programs like md5sum. Take a look at twisted.internet.utils.getProcessOutput. -Cary On Wed, Dec 10, 2008 at 8:45 AM, Phil Christensen <[EMAIL PROTECTED]> wrote: > On Dec 9, 2008, at 5:41 PM, Jean-Paul Calderone wrote: > > On Tue, 9

Re: [Twisted-Python] twisted eat the memory

2008-12-15 Thread Cary Hull
What version of Python are you using? 2.4 and below have problems releasing memory back to the OS. Since Twisted apps are normally long running Python daemons they can be more prone to memory leaks. You need to be aware of how objects are garbage collected in Python and rework your code if necessar

Re: [Twisted-Python] Pyjamas + web2py + twisted vs Django + Pinax

2008-12-18 Thread Cary Hull
Have you looked at Nevow/Athena? http://divmod.org/trac/wiki/DivmodNevow -Cary On Thu, Dec 18, 2008 at 5:44 PM, Theron D. Huffman wrote: > I'm about to start programming a game in Python. The game will be a > web-based board game with a social aspect, something like > http://www.chesspark.com. I

Re: [Twisted-Python] Re: Pyjamas + web2py + twisted vs Django + Pinax (Cary Hull)

2008-12-19 Thread Cary Hull
ry, > > Where would Nevow/Athena fit in my strategy? 1, 2, 3 , or 4? > > Actually I have looked at Nevow/Athena and I'm very afraid of using it > because there's only a few examples and a complete lack of documentation. > > Dan > >> >> Message: 7 &

Re: [Twisted-Python] ssh v1 support

2008-12-26 Thread Cary Hull
Not out of the box. Conch is ssh2 only. However, you can attain ssh1 support by wrapping the binary (ssh) with a ProcessProtocol: http://twistedmatrix.com/projects/core/documentation/howto/process.html Before you start on your own implementation I would wait to see if anyone has done this already

Re: [Twisted-Python] Twisted and Urwid

2008-12-28 Thread Cary Hull
Did you look at this? http://excess.org/article/2008/09/urwid-gets-twisted-support/ Otherwise it looks like the error you are seeing there is due to not setting up a palette. -Cary On Sat, Dec 27, 2008 at 10:08 AM, Christian Scharkus wrote: > Hi folks. > > I've got a new question. After recongn

Re: [Twisted-Python] ssh v1 support

2009-01-03 Thread Cary Hull
xpect provides some built in support for driving ssh this way: http://pexpect.sourceforge.net/pxssh.html On Fri, Jan 2, 2009 at 7:20 AM, Deniz Pecel wrote: > Thanks Cary. Are there any available easy to use library other than twisted > that supports ssh v1? > Deniz > > On Fri, Dec 26, 2

Re: [Twisted-Python] [Q] multi-process chat client and poller

2009-01-03 Thread Cary Hull
Take a look at ampoule: https://launchpad.net/ampoule On Fri, Jan 2, 2009 at 2:35 PM, V S P wrote: > Hi, > I am in the process of evaluating a tool for the newtorking architecture > I need. And wanted to ask the group questions, I could not easily get > answered from reading docs and various post

[Twisted-Python] Documentation overviews

2009-04-02 Thread Cary Hull
Hi folks, One of the goals for the Pycon sprint was to develop user oriented overviews for existing documentation. These would ideally guide users through everything they would need to read in order to accomplish a desired goal with Twisted. I've formulated the following 'track' suggestions based

Re: [Twisted-Python] Documentation overviews

2009-04-06 Thread Cary Hull
te to the documentation in > some way. > -Dave Britton > > - Original Message - > *From:* Cary Hull > *To:* Twisted general discussion > *Sent:* Thursday, April 02, 2009 11:05 AM > *Subject:* [Twisted-Python] Documentation overviews > > Hi folks, > > One

Re: [Twisted-Python] Documentation overviews

2009-04-12 Thread Cary Hull
I've been short on time lately so will post these in batches. Also it will give folks a chance to comment on the direction taken before I go too far. Each of these should be encapsulated in some overview prose. Also it's a good opportunity to link to external documentation such as related blog post

Re: [Twisted-Python] Simple Epoll Reactor question

2009-07-18 Thread Cary Hull
Why are you commenting out the 'install' line? After 'install' I normally do 'from twisted.internet import reactor' and use 'reactor' as one would normally. -Cary On Sat, Jul 18, 2009 at 11:41 AM, Andrew Francis wrote: > > Hi Folks: > > I am trying to use the epollreactor. I read the "Choosing a

Re: [Twisted-Python] deciding to use twisted or not

2009-08-26 Thread Cary Hull
On Wed, Aug 26, 2009 at 6:41 PM, Glyph Lefkowitz wrote: > On Wed, Aug 26, 2009 at 4:56 PM, Martin-Louis Bright > wrote: > >> I would like to write a small daemon that monitors (tails) a server log, >> parses the entries and sends HTTP requests based on some of those entries. I >> would like it if

Re: [Twisted-Python] Twisted 9, do you want it

2009-11-05 Thread Cary Hull
Yes. (thanks!) On Thu, Nov 5, 2009 at 8:00 PM, Christopher Armstrong < ra...@twistedmatrix.com> wrote: > I'm working on it. The core NEWS file is done I think. NEWS for other > projects will be worked on tomorrow. > > -- > Christopher Armstrong > http://radix.twistedmatrix.com/ > http://planet-if