eastein/chatlight — Issue #9: serial failures don't recover
Author: eastein
Created: 2011-11-16 03:43:46+00:00
State: open

{u'category': None, u'chatters': 1, u'type': u'chat_report', u'rate': 0.0033333333333333335}
set up top lights
blink_on = 0
{u'category': None, u'chatters': 1, u'type': u'chat_report', u'rate': 0.0033333333333333335}
Traceback (most recent call last):
File "watch_reports.py", line 46, in
ctl.set_parameters(getattr(ctl, 'LN_TOP%d' % i), 1, 7, 1, 0)
File "/home/toba/git/chatlight/serial_controller.py", line 86, in set_parameters
self.serial.write(self.wrap(msg))
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 485, in write
raise SerialException('write failed: %s' % (v,))
serial.serialutil.SerialException: write failed: [Errno 5] Input/output error