Re: [Twisted-Python] SerialPort.loseConnection() BUG

2009-06-09 Thread biziap biziap
Maybe you can try to call transport.flushInput(), transport.flushOutput() before loseConnection(). 2009/6/9 Nestor A. Diaz : > Hello, there is a bug on the SerialPort Win32 implementation (don't know > about the others), when i call the loseConnection method, it returns: > > twisted matrix except

Re: [Twisted-Python] copy domish element

2009-06-09 Thread Jack Bates
On Tue, 2009-06-09 at 08:47 +0200, Ralph Meijer wrote: > On Mon, 2009-06-08 at 18:03 +0100, Phil Mayers wrote: > > Jack Bates wrote: > > > i have a domish element - when i try the following, > > > > > message = element > > del message['from'] > > element['from'] > > > > > > - i get

Re: [Twisted-Python] some callback function params problems

2009-06-09 Thread Tim Allen
On Tue, Jun 09, 2009 at 05:31:52PM +0800, hoosety wrote: > Is there a common way to solve the problem like this. I mean I can > still keep the separate functions as the look like now, I do it like this: def deferCompoundFunc(paramA, paramB): d = deferDoSomeInsert(paramA, paramB)

[Twisted-Python] some callback function params problems

2009-06-09 Thread hoooooosety
Hello, I have some callback function params problems. Here is a simple example. def deferDoSomeInsert(paramA, paramB): insertSQL = "..." db.runQuery(insertSQL) def deferDoSomeDelete(paramA, paramB): deleteSQL = "..." db.runQuery(deleteSQL) #these two functions ar

Re: [Twisted-Python] Twisted Words

2009-06-09 Thread Alex Clemesha
On Tue, Jun 9, 2009 at 12:06 AM, Ralph Meijer wrote: > On Mon, 2009-06-08 at 11:33 -0400, Alex Patino wrote: >> I am looking for a chat system to add to my Django-based chat site.  I >> don't need something ready-made but I don't want to build it on a >> framework that is no longer supported.  What

Re: [Twisted-Python] Twisted Words

2009-06-09 Thread Ralph Meijer
On Mon, 2009-06-08 at 11:33 -0400, Alex Patino wrote: > I am looking for a chat system to add to my Django-based chat site. I > don't need something ready-made but I don't want to build it on a > framework that is no longer supported. What's the status of the > Twisted Words project? Although, a