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"
Hi,
Using log.startLogging(open(logname, 'w'), setStdout=False)
very well solves the issue.. of stdout remaining untouched and log.msg()
calls going to log
Can we do this ?:
Log file gets -> both the log.msg() calls , the stdout +stderr
console -> gets stdout +stderr as usual
Regards
Naman
On
On Nov 2, 2009, at 9:24 AM, Alberto Piu wrote:
> first of all, I apologize for bad english. I am new with Twisted, and
> although it seems very powerful, I'm having some problems in using it.
> I'm trying to create an IRC bot, which basically does nothing. My idea
> is to write a skeleton that's
On 3 Nov, 11:55 pm, rrobe...@adobe.com wrote:
>I am trying to use the twisted reactor as a basis for a Python server
>for a
>Flex app, using pyAMF. My problem is that one of the server methods
>requires me to run a series of command-line tools to complete parsing
>data
>from a file into an XML
> "Dan" == Dan writes:
Dan> I was playing around with Twisted today and ran into a problem where
Dan> Tracebacks aren't emitted on stderr after a deferred callback from a
Dan> process called launched by reactor.spawnProcess. The simplified test
Dan> case is below. I put "x = y" in the callb
I am trying to use the twisted reactor as a basis for a Python server for a
Flex app, using pyAMF. My problem is that one of the server methods
requires me to run a series of command-line tools to complete parsing data
from a file into an XML object, with lots of Python processing on the
results
Hello all,
I ran into issue with Twisted, could anybody help me?
I have Twisted 8.2.0 on Ubuntu 9.04.
I run tests for Buildbot 0.7.11p3 and one of the tests completed with the next
error:
[ERROR]: buildbot.test.test_locks.Locks.testLock3
Traceback (most recent call last):
Failure: twisted.inter
Awesome! Thanks for helping out a noob Terry! :)
At 02:11 PM 11/3/2009, you wrote:
> > "Dan" == Dan writes:
>Dan> I was playing around with Twisted today and ran into a problem where
>Dan> Tracebacks aren't emitted on stderr after a deferred callback from a
>Dan> process called launched b
I was playing around with Twisted today and ran into a problem where
Tracebacks aren't emitted on stderr after a deferred callback from a
process called launched by reactor.spawnProcess. The simplified test
case is below. I put "x = y" in the callback function to generate
an exception, y do