SerialPort (win32) incompatible with gtk2reactor
|Reported by:||detly||Owned by:||exarkun|
(diff, github, buildbot, log)
When an attempt is made to make a serial port connection under the gtk2reactor in Windows, the following traceback results:
File "C:\Python26\lib\site-packages\twisted\internet\_win32serialport.py", line 56, in __init__ self.reactor.addEvent(self._overlappedRead.hEvent, self, 'serialReadEvent') exceptions.AttributeError: 'PortableGtkReactor' object has no attribute 'addEvent'
The attached code take a port name as the first argument. It can be run under Linux, and doesn't do anything visible. Under Windows, you get the traceback.
Change History (23)
Changed 3 years ago by detly
comment:10 Changed 3 years ago by exarkun
- Keywords review added
- Owner exarkun deleted
- Status changed from assigned to new