Package Details: python-trezor 0.13.8-1

Git Clone URL: https://aur.archlinux.org/python-trezor.git (read-only, click to copy)
Package Base: python-trezor
Description: Python 3 library for communicating with the TREZOR Bitcoin hardware wallet
Upstream URL: https://github.com/trezor/trezor-firmware/tree/master/python
Licenses: LGPL3
Conflicts: trezorctl
Provides: python-trezor, trezorctl
Submitter: xaiuweb
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 9
Popularity: 0.000005
First Submitted: 2018-01-03 14:19 (UTC)
Last Updated: 2023-10-22 05:27 (UTC)

Latest Comments

« First ‹ Previous 1 2

yate commented on 2018-12-28 21:09 (UTC)

I fixed the construct error, but the typing_extensions issue will take a bit longer because there is no package in the AUR. I will take a look in a couple days, currently on vacation.

ndr76 commented on 2018-12-28 12:10 (UTC)

$ trezorctl list                                             [3/2000]
Traceback (most recent call last):
  File "/bin/trezorctl", line 1793, in <module>
    cli()  # pylint: disable=E1120
  File "/usr/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/bin/trezorctl", line 176, in ls
    return enumerate_devices()
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/__init__.py", line 118, in enumerate_dev
ices
    for transport in all_transports():
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/__init__.py", line 105, in all_transport
s
    from .hid import HidTransport
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/hid.py", line 23, in <module>
    from .protocol import ProtocolBasedTransport, ProtocolV1
  File "/usr/lib/python3.7/site-packages/trezorlib/transport/protocol.py", line 23, in <module>
    from typing_extensions import Protocol as StructuralType
ModuleNotFoundError: No module named 'typing_extensions'

This looks like one more dependency that is missing.

ndr76 commented on 2018-12-28 11:46 (UTC) (edited on 2018-12-28 11:48 (UTC) by ndr76)

$ trezorctl
Traceback (most recent call last):
  File "/bin/trezorctl", line 31, in <module>
    from trezorlib import (
  File "/usr/lib/python3.7/site-packages/trezorlib/firmware.py", line 21, in <module>
    import construct as c
ModuleNotFoundError: No module named 'construct'

Installing the module python-construct fixed the problem for me. Perhaps it should be added as a dependency?

pizzaman commented on 2018-07-14 14:07 (UTC) (edited on 2018-07-14 14:13 (UTC) by pizzaman)

$ trezorctl 
Traceback (most recent call last):
  File "/usr/bin/trezorctl", line 25, in <module>
    import click
ModuleNotFoundError: No module named 'click'

Please add python-click to list of dependencies.

pizzaman commented on 2018-05-14 04:31 (UTC)

Version 0.9.1 working PKGBUILD http://p.luis.im/index.php?6jq@raw