I am trying to run InkCut on Windows 10. When my serial device is disconnected, the "Configure Device" dialog displays. When it's connected, it crashes. I tried connecting the device after the dialog appears, but it still crashes.
AppData\Local\Programs\Python\Python37-32\lib\site-packages\serial\tools\list_ports_common.py", line 74, in __eq__
return self.device == other.device
AttributeError: 'NoneType' object has no attribute 'device'
Looks like the issue is in dialogs.enaml. I haven't spent too long looking at it yet (literally about 5 minutes), but it seems like these properties are being bound before we actually have a device:
attr device: Device << plugin.device
attr driver << device.declaration
attr connection << device.connection
attr protocol << connection.protocol
Can we do a check for device / supply temp values so we don't get a crash, then update after the device is available?