-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: hwilib.devices.trezorlib.transport.bridge #601
Comments
It seems that HWI copy of trezorlib does not contain this module: https://github.com/trezor/trezor-firmware/blob/master/python/src/trezorlib/transport/bridge.py |
Are you accessing HWI's built-in trezorlib directly? AFAICT HWI does not use anything that reaches this line so we don't see this error. If you are, this kind of usage is not supported. |
This issue occurs while instantiating the TrezorClient like this:
In HWI 2.0.2 the TrezorClient got instantiated like this:
which results in this issue in 2.1.0:
So i did what's written in the documentation of the class:
|
|
Ok, got it instead of:
i did
and it now works. It was not obvious to me. Thanks. |
This looks like this in one of my tests:
Here is a linkk to that code:
https://github.com/bitcoin-core/HWI/blob/master/hwilib/devices/trezorlib/transport/__init__.py#L102
I can't see any module like this?!
The text was updated successfully, but these errors were encountered: