Firmware Upgrade Serial Timeout Bug

Issue #2 new
Keith O'Hara created an issue
from firmwareupgrade import upgrade
Ok
python>>> upgrade("scribbler")
Upgrading scribbler...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Applications/Calico/languages/Python/modules/firmwareupgrade/__init__.py", line 1360, in upgrade
  File "/Applications/Calico/languages/Python/modules/firmwareupgrade/__init__.py", line 752, in upgrade_scribbler
  File "/Applications/Calico/languages/Python/modules/firmwareupgrade/__init__.py", line 858, in get_info_timeout
  File "/Applications/Calico/languages/Python/modules/serial/serialutil.py", line 378, in setTimeout
  File "/Applications/Calico/languages/Python/modules/serial/serialcli.py", line 81, in _reconfigurePort
ValueError: System.IO.IOException: Invalid argument
at System.IO.Ports.SerialPortStream.ThrowIOException () <0x00043>
at System.IO.Ports.SerialPortStream.SetAttributes (int,System.IO.Ports.Parity,int,System.IO.Ports.StopBits,System.IO.Ports.Handshake) <0x00033>
at System.IO.Ports.SerialPort.set_BaudRate (int) <0x0004b>
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort.set_BaudRate (int) <0x0005b>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x00147>
at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c9>
at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x0008f>

Comments (1)

  1. Log in to comment