[Twisted-Python] Error in example source

Steve Freitas sflist at ihonk.com
Wed Jan 26 11:49:28 MST 2005


Thanks, Andrew, it's been too long since I've read the tac docs. I appreciate 
the help.

Steve

On Tuesday 25 January 2005 04:30 pm, Andrew Bennetts wrote:
> On Tue, Jan 25, 2005 at 03:00:07PM -0800, Steve Freitas wrote:
> > Hi,
> >
> > In this source (part of the tutorial at
> > http://twistedmatrix.com/documents/current/howto/pb-copyable):
> >
> > http://twistedmatrix.com/documents/current/howto/listings/pb/copy_receive
> >r.py
> >
> > When you run it, it does nothing and exits. Could somebody let me know
> > what needs to be added to actually fire the service up?
>
> This example is misnamed -- it should be copy_receiver.tac.  "tac" stands
> for "Twisted Application Configuration", and is run with "twistd -y".
> twistd doesn't actually care what the file's extension is, so you can run
> it with:
>
>     twistd -noy copy_receiver.py
>
> (see the twistd(1) man page and the twisted.application howto:
> http://twistedmatrix.com/documents/current/howto/application)
>
> I'll fix the docs to make this clearer.
>
> -Andrew.
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list