Originally reported by @mohdshara in this nvda-devel thread.
It seems that some com ports don't have a PortName registry value:
ERROR - unhandled exception (15:22:32):
Traceback (most recent call last):
File "gui\settingsDialogs.pyo", line 1537, in onDisplayNameChanged
File "gui\settingsDialogs.pyo", line 1544, in updatePossiblePorts
File "brailleDisplayDrivers\baum.pyo", line 117, in getPossiblePorts
File "hwPortUtils.pyo", line 192, in listComPorts
WindowsError: [Error 2] The system cannot find the file specified
Unless I'm missing something, this is broken, but clearly, it can happen. I guess we should just catch the error and skip the port.
Originally reported by @mohdshara in this nvda-devel thread.
It seems that some com ports don't have a PortName registry value:
Unless I'm missing something, this is broken, but clearly, it can happen. I guess we should just catch the error and skip the port.