Skip to content

yubikey-manager-qt: yubikey doesn't detected with error #353582

@MisileLab

Description

Describe the bug

Yubikey doesn't detected with error.

Steps To Reproduce

Steps to reproduce the behavior:

  1. insert yubikey
  2. run ykman-gui

Expected behavior

Yubikey should be detected.

Screenshots

image

Additional context

log

"PyOtherSide error: Traceback (most recent call last):\n\n  File \"qrc:///py/yubikey.py\", line 53, in <module>\n    from ykman.otp import (\n\nImportError: cannot import name '_PrepareUploadFailed' from 'ykman.otp' (/nix/store/cl63jh46vfk5cr6xrp172s44zvlbk69p-python3.12-yubikey-manager-5.5.1/lib/python3.12/site-packages/ykman/otp.py)\n"
qml: Cannot import module: yubikey (Traceback (most recent call last):

  File "qrc:///py/yubikey.py", line 53, in <module>
    from ykman.otp import (

ImportError: cannot import name '_PrepareUploadFailed' from 'ykman.otp' (/nix/store/cl63jh46vfk5cr6xrp172s44zvlbk69p-python3.12-yubikey-manager-5.5.1/lib/python3.12/site-packages/ykman/otp.py)
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.init' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)
qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined

Notify maintainers

@avdv

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.6, NixOS, 24.11 (Vicuna), 24.11.20241104.8a759c9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/2fj8ibynfsmpbrrj3zvqhp84zx50gdfr-source`

Add a 👍 reaction to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions