"Jim Carroll" writes:
> After you get the CMD.exe prompt, try to launch python. This is what you'll
>
> see:
>
>
>
> Microsoft Windows [Version 6.3.9600]
>
> (c) 2013 Microsoft Corporation. All rights reserved.
>
>
>
> C:\Temp>python
>
> python
>
>
>
>
>
> That's it. Hitt
Lloyd Carothers writes:
> This looks pretty close to what I need and definitely a good starting
> point for me. I can make use of session specific information too,
> which will be nice.
> As you've been using it for a while, have you had any issues. Is it
> robust/stable?
Absolutely robust/stabl
Lloyd Carothers writes:
> For such a use case I'm surprised not to find an example. I think I
> just need a push in the right direction. Is producers/consumers the
> right approach?
It's a bit dated at this point, but maybe this might spark some ideas:
http://twistedmatrix.com/pipermail/twis
Luke Marsden writes:
> We're actually using it to provide redundancy in this instance. In our
> application any request for any site can be made to any (live) server,
> so having dead servers in the pool of A records doesn't matter so long
> as real web browsers failover to some other A record wi
Jaepyoung Kim writes:
> The current script is uploading using ftplib and it takes time about 1 hour.
> I want to change this script to use twisted asynchronous function.
> I thought if I use asynchronous function in twisted like following,
> then file uploading will be executed in parallel.
> But
Gabriele Lanaro writes:
> The problem of this approach is that this blocks my GUI, I can't figure out
> why because I'm just generating deffereds so it souldn't block.
Just using deferreds won't help unless you still manage to return
control back up the chain to the main event loop. I suspect s
Darren Govoni writes:
> I spoke too fast. But pardon my noobiness.
>
> Ok, so I am using a simple protocol that is listening on a TCP port.
>
> One the client side, I write 4096 bytes using
> self.transport.write(bytes)
>
> on dataReceived side, I get only 1448.
Quite possible, and even likely
Darren Govoni writes:
>>From what I learned in other posts, the dataReceived(self, data): in the
> Echo server
> will get called with out-of-order data/bytes from the client. Of course,
> I could be misinformed,
> but what I understood before was that in this type of Protocol, I would
> have to r
Allen Bierbaum writes:
> I just tracked down a bug in one of our servers that uses twisted PB.
> The long and short of it was that the server made remote calls to
> clients that connected in and in some cases those clients would fall
> off the network (disconnected network cable, etc) but the ser
Žiga Seilnacht writes:
> It is possible to daemonize a process on Windows. I experimented with
> adding that support to the twistd script, but got swamped with other
> work and couldn't finish it. Below is the code that I have so far. You
> can save it in a module and call the daemonize() func
Jonathan Stoppani writes:
> Hi Ronald,
> thanks for the response. I already saw the examples on the pyobjc
> website, but they (two) are all using Cocoa to do some GUI related
> work.
>
> I don't have a gui and I use the console loop instead.
>
> I'm now trying to use the code attached to this ti
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 gets explicit logs and copies of stdout, but stdout also goes to
console as well.
The latter is somethin
vit...@synapticvision.com writes:
> "cancel" callback - stop running now what you've been asked to exec.
> Example: some SQL query that takes 5 min and I need to cancel it
> anywhere in the middle and it, of course, it doesn't matter what the
> result set.
Note that the Deferred itself has no
mardiros writes:
> I am looking in Storm for the moment.
> I have copy the driver in the twisted-integration,
> but it tries with the both driver pymssql and adodbapi,
> and i think only the mxodbc worked.
>
> Now i execute deferred query with a modified one,
> and it work's fine.
>
> I will try
"Alec Matusis" writes:
> I have tested for bad RAM when the server was installed 3 month ago,
> I did a memtest that run for a day. This is an 8 core server, and I
> run one twistd process per core, and surprisingly, only one crashed
> out of 8. Would you think that the effect of bad RAM would b
Stephen Waterbury writes:
> This is a good point -- although the attractive part of using an
> ORM in the first place is somewhat OT here, the main attraction
> for me is usually *DRY* rather than "automatic persistence", so for
> my purposes such "magical" features as direct attribute access,
>
Don Dwiggins writes:
> So if someone wanted the use of the ORM, would you say that they
> should access the objects through deferreds, just as they would with
> SQL? Or is it worse than that?
If by deferreds you mean pushing the ORM operation (including all
possible ancillary object loading) in
"Maciej Szumocki" writes:
> I'm using SQLAlchemy with Twisted in a large project without
> problems. Why would you think you cannot? You just need to run SA
> operations in non-reactor threads (i currently use my own threadpool
> and deferToThread but it's only slightly modified standard twiste
Shelby Ramsey writes:
> The events have a Content-Length: \d+ as the protocol for determining the
> length of the message. What I'm struggling with is how to parse that and
> then receive just that length as an individual message ...
It would probably help to see the general framework of your s
19 matches
Mail list logo