Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

v.0.6.10 problems connecting #51

Closed
ELM4Ever opened this issue Jan 16, 2016 · 5 comments
Closed

v.0.6.10 problems connecting #51

ELM4Ever opened this issue Jan 16, 2016 · 5 comments

Comments

@ELM4Ever
Copy link

Just updated my python-trezor library from 0.6.6 to 0.6.10 - then started to have communication problem using Electrum (version 2.5.4).

File "/Library/Python/2.7/site-packages/trezor-0.6.10-py2.7.egg/trezorlib/transport_hid.py", line 54, in enumerate
raise Exception("Unknown USB interface number: %d" % interface_number)
Exception: Unknown USB interface number: -1

Same error comes up when using the example code in the repository Readme file. Therefore, problem is not with Electrum.

Reverted back to v.0.6.6 and it worked again.

@prusnak
Copy link
Member

prusnak commented Jan 16, 2016

Fucking OS X. Fixed in 915cf00 and released as 0.6.11

@prusnak prusnak closed this as completed Jan 16, 2016
@ELM4Ever
Copy link
Author

Thanks. It works now.

BTW: v0.6.11 is not compatible with protobuf v3.0.0. I understand that the latest stable version is 2.6.1, but if left unspecified in a setup.py file, protobuf will update to 3.0.0 (which is the case for Electrum). I have asked Electrum to force the download to 2.6.1, but you may also want to have a look at the issue with 3.0.0.

@ELM4Ever
Copy link
Author

Just to let you know. python-Trezor 0.6.11 works with Electrum 2.5.4, but not version 2.6 (latest github head). They are looking at this issue.

@prusnak
Copy link
Member

prusnak commented Jan 18, 2016

python-trezor never worked with protobuf 3.x and I don't have plan to change this (because it would require changing the protobuf version used in the device itself).

There is a requirement on version 'protobuf==2.6.1' in setup.py of python-trezor: https://github.com/trezor/python-trezor/blob/master/setup.py#L32

@ELM4Ever
Copy link
Author

Latest changes made to Electrum 2.6, combined to python-trezor 0.6.11 now work well (OSX).

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants