Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Glyph Lefkowitz
On Feb 17, 2010, at 1:14 PM, Einar S. Idsø wrote: > Yeah, sorry about the long mail. I thought it would be a good idea to > explain my app and its requirements, and thereby get better advice on > how to structure it, than having to iterate to and from this list a > number of times. Perhaps that w

[Twisted-Python] Running php script on twisted server

2010-02-18 Thread Tux Attack
I am trying to run a php script on a webserver written in twisted.For that i am using twcgi module. Here is my code. This is code for webServer.py -> from twisted.internet import reactor from twisted.web import static,script,twcgi,server from twisted.python.log import startLogging import sys cla

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Johann Borck
Einar S. Idsø wrote: > [...] I guess I need a factory that launches server checker > objects not as a result of a TCP/UDP connection, but as a result of > new servers being detected. How does this detection work? Are those servers based on twisted? Also, do you control them (start/stop/configurat

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Einar S . Idsø
On Thu, Feb 18, 2010 at 11:36 AM, Johann Borck wrote: > Einar S. Idsø wrote: >> [...]  I guess I need a factory that launches server checker >> objects not as a result of a TCP/UDP connection, but as a result of >> new servers being detected. > How does this detection work? Are those servers based

Re: [Twisted-Python] Need help for structured application development

2010-02-18 Thread Johann Borck
Einar S. Idsø wrote: > On Thu, Feb 18, 2010 at 11:36 AM, Johann Borck > wrote: > >> Einar S. Idsø wrote: >> >>> [...] I guess I need a factory that launches server checker >>> objects not as a result of a TCP/UDP connection, but as a result of >>> new servers being detected. >>> >>

[Twisted-Python] Nevow question

2010-02-18 Thread Sury Soni
Hi, How do we disable traceback on Nevow production site? Right now, by default, any nevow site will print full length of traceback on web browser if there is some exception within the application. I have gone through the ticket http://twistedmatrix.com/trac/ticket/135 but could not fin