Maybe you can try to call transport.flushInput(), transport.flushOutput() before loseConnection().
2009/6/9 Nestor A. Diaz <[email protected]>: > 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 exceptions.AttributeError: 'SerialPort' object has no > attribute '_tempDataBuffer' > > if i wrap the serialport class and put a : > > self._tempDataBuffer = '' > > in the __init__ method, i get: > > raise NotImplementedError("%s does not implement writeSomeData" % > exceptions.NotImplementedError: __main__.MySerialPort does not implement > writeSomeData > > however the port gets closed the right way. > > Slds. > > -- > Nestor A. Diaz > Ingeniero de Sistemas > Tel. +57 1-600-5490 x 211 > Cel. +57 316-227-3593 > Tel. SIP: sip:[email protected] > Email/MSN: [email protected] > http://www.tiendalinux.com/ > Bogota, Colombia > > > _______________________________________________ > Twisted-Python mailing list > [email protected] > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > _______________________________________________ Twisted-Python mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
