Re: [Twisted-Python] Serializing cftp and ssh sessions

2014-10-20 Thread exarkun
On 02:05 pm, axel@chaos1.de wrote: Am 19.10.2014 um 22:44 schrieb exar...@twistedmatrix.com: On 17 Oct, 08:50 am, axel@chaos1.de wrote: Am 14.10.2014 um 17:07 schrieb Axel Rau : We might need more to go on. Do you have a complete, minimal example? (See http://sscce.org/) The attach

Re: [Twisted-Python] Serializing cftp and ssh sessions

2014-10-20 Thread Axel Rau
Am 19.10.2014 um 22:44 schrieb exar...@twistedmatrix.com: > On 17 Oct, 08:50 am, axel@chaos1.de wrote: >> >> Am 14.10.2014 um 17:07 schrieb Axel Rau : We might need more to go on. Do you have a complete, minimal example? (See http://sscce.org/) >>> The attached zip archive >> Did

Re: [Twisted-Python] Mysql and adbapi

2014-10-20 Thread aft
On Mon, Oct 20, 2014 at 6:02 PM, HawkOwl wrote: > > On 20 Oct 2014, at 19:55, aft wrote: > > > > But its not printing anything. What exactly i'm doing wrong? > > Hi, > > You haven’t started the reactor, so nothing has “started”. It’s just > sitting there, waiting for it to be “spun off”. > > htt

Re: [Twisted-Python] Mysql and adbapi

2014-10-20 Thread HawkOwl
On 20 Oct 2014, at 19:55, aft wrote: > > But its not printing anything. What exactly i'm doing wrong? Hi, You haven’t started the reactor, so nothing has “started”. It’s just sitting there, waiting for it to be “spun off”. http://twistedmatrix.com/documents/current/_downloads/echoclient_ssl.

[Twisted-Python] Mysql and adbapi

2014-10-20 Thread aft
Hi, I'm trying to run the following program : from twisted.enterprise import adbapi dbpool = adbapi.ConnectionPool("MySQLdb", "khalid_sultaln", "root", "mysql") def xmlValues() : return dbpool.runQuery("SELECt * from xml_vaules limit 1") def printResult(l): print type(l) print l[0]