[Twisted-Python] adbapi weirdness

Steve Freitas sflist at ihonk.com
Wed Jul 30 22:54:43 MDT 2003


> > But a call to listPrefs() hangs until I make another, concurrent
> > request to dbtest(), at which point it comes through. Then if I try
> > listPrefs() again, it returns Fault 8002: Can't serialize output.
> 
> You can't send the same Deferred more than once.

Hmm. My impression was that when I did:

result = db.runQuery("select * from foo")

result was a list which contained the result of the query, so I could return 
that as many times as I liked, since it's just a list.

Steve




More information about the Twisted-Python mailing list