Package Details: python-trezor-agent-git v0.14.7.r6.gba8a1ba-1

Git Clone URL: https://aur.archlinux.org/python-trezor-agent-git.git (read-only, click to copy)
Package Base: python-trezor-agent-git
Description: Hardware-based SSH/PGP agent (Trezor only)
Upstream URL: https://github.com/romanz/trezor-agent
Licenses: LGPL3
Conflicts: python-trezor-agent
Provides: python-trezor-agent
Submitter: digital_mystik
Maintainer: digital_mystik
Last Packager: digital_mystik
Votes: 2
Popularity: 0.000065
First Submitted: 2022-02-05 20:34 (UTC)
Last Updated: 2023-05-14 22:59 (UTC)

Latest Comments

guitarist67 commented on 2023-06-20 20:16 (UTC) (edited on 2023-06-20 20:16 (UTC) by guitarist67)

I've installed:

Name            : python-trezor-agent-git
Version         : v0.14.7.r7.g2b49eac-1

Trying to run:

$ trezor-agent 
Traceback (most recent call last):
  File "/usr/bin/trezor-agent", line 33, in <module>
    sys.exit(load_entry_point('trezor-agent==0.12.0', 'console_scripts', 'trezor-agent')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/trezor-agent", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/bin/trezor_agent.py", line 1, in <module>
    from libagent import age, signify, gpg, ssh
  File "/usr/lib/python3.11/site-packages/libagent/age/__init__.py", line 17, in <module>
    import bech32
ModuleNotFoundError: No module named 'bech32'

I believe that bech32 is installed:

$ yay -Ss bech32
aur/python-bech32 1.2.0-1 (+1 0.00) (Installed)
    Pieter Wuille's reference implementation for Bech32 and segwit addresses

By the way, this command does not work:

$ trezor_agent.py 
/usr/bin/trezor_agent.py: line 1: from: command not found
/usr/bin/trezor_agent.py: line 2: from: command not found
/usr/bin/trezor_agent.py: line 4: syntax error near unexpected token `('
/usr/bin/trezor_agent.py: line 4: `age_tool = lambda: age.main(DeviceType)'

digital_mystik commented on 2023-02-21 02:10 (UTC)

hello Strykar, where are you seeing these two dependencies (not seeing them in the setup files)?

Strykar commented on 2023-02-20 20:54 (UTC)

Missing two python dependencies:

simple-rlp
construct-classes