Please could I get some help on this issue, if any one has some ideas.
Thanks
Naman
On Tue, Nov 17, 2009 at 3:30 PM, David Ripton wrote:
> On 2009.11.17 07:07:50 +0100, naman jain wrote:
> > I try to launch it as a Process:
> > foo = Process( target=twisted_client.ma
t 3:30 PM, David Ripton wrote:
> On 2009.11.17 07:07:50 +0100, naman jain wrote:
> > I try to launch it as a Process:
> > foo = Process( target=twisted_client.main, args=(q,uid,))
> > foo.start()
> > foo.join()
> > status = q.get()
>
> > Lau
and update repo
def dispatch_test_worker():
Regards
Naman
On Tue, Nov 17, 2009 at 3:30 PM, David Ripton wrote:
> On 2009.11.17 07:07:50 +0100, naman jain wrote:
> > I try to launch it as a Process:
> > foo = Process( target=twisted_client.main, args=(q,uid,))
Hi ,
I have a twisted client server model running.
My requirement is to launch my client from another program based on some
event received by the master program.
I try to launch it as a Process:
foo = Process( target=twisted_client.main, args=(q,uid,))
foo.start()
foo.join()
status = q.ge
Thanks. that does the job for me very well.
On Thu, Nov 5, 2009 at 7:18 PM, wrote:
> On 01:20 pm, naman...@gmail.com wrote:
> >I ll try to rephrase it better:
> >
> >I simply want the print statement to appear in both the log file and
> >the
> >console.
> >print("goes in both") -> the log also g
Hi,
I was trying this out:
Server code:
def dataReceived(self, data):
if (args["cmd"] == "CHECK_IN"):
foo = subprocess.Popen('python master.py',shell = True)
*# this ACK notifies the client to close the connection*
self.transport.write( self.create_message("CHECK_IN"
l
Regards
Naman
On Fri, Oct 30, 2009 at 9:25 PM, David Bolen wrote:
> naman jain writes:
>
> > I wanted to log in a file and keep the console also going with it.
>
> I can read this as either:
>
> * Keep file logs and stdout/console completely separate, or
> * File g
Hi,
I wanted to log in a file and keep the console also going with it.
I am using
log.startLogging(open(logname, 'w'))
whatever documentation I could find about this API, it suggested me to pass
setStdout=False(in order to keep stdout away from putting into log)
somewhere in the startlogging fun
orks correctly – you might want to refactor to use
> twisted.protocols.basic.LineReceiver instead.
>
>
>
> Kind regards,
>
>
>
> Valeriy Pogrebitskiy
>
> Email: vpogr...@iname.com
>
>
>
>
>
> -Original Message-
> *From:* twisted-python-boun...@twistedmatrix.com [mailto:
>
thread waiting for reading.]
Any ideas ? How is such stuff done in twisted servers??
Naman
On Tue, Oct 27, 2009 at 7:03 AM, Nathan wrote:
> On Mon, Oct 26, 2009 at 11:44 PM, naman jain wrote:
> > Hi,
> >
> > I have a client server model in twisted, where the s
Hi,
I have a client server model in twisted, where the server spawns a thread (
basically a test script in python that runs for about 20 mins)
I want to track the progress of the thread, and send the progress to the
client back
So, I write something like this in my server:
parent_conn, child_con
11 matches
Mail list logo