solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
183 stars 69 forks source link

Update throws MacOsHidDevice error #57

Open screendriver opened 4 years ago

screendriver commented 4 years ago

I want to update my Solo Key but unfortunately I get following error message:

$ solo key update
Wrote temporary copy of firmware-3.1.0.json to /var/folders/h_/114j7dh94x18slkgdpbc_3gw1844k4/T/tmpwibmajqh.json
sha256sums coincide: 3120da98b05a992e52b8a8bc8d3924b7633d7a84c9fb319e497c698511838528
Switching into bootloader mode...
Exception ignored in: <function MacOsHidDevice.__del__ at 0x10609d320>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/fido2/_pyu2f/macos.py", line 458, in __del__
    self.device_handle,
AttributeError: 'MacOsHidDevice' object has no attribute 'device_handle'
error:
problem flashing firmware!
no Solo found

Run with

$ solo version    
0.0.23

solo key wink and solo ls is working as expected though

tomquas commented 3 years ago

i've seen this error message, too, but here it continued to update the firmware. you may wanna try

$ pip install -U solo-python
$ solo version
0.0.30