Bug 2239490 - ImportError on startup
Summary: ImportError on startup
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yubioath-desktop
Version: 38
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Gerald Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-18 16:15 UTC by Jonny Heggheim
Modified: 2023-09-18 17:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-18 17:19:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonny Heggheim 2023-09-18 16:15:46 UTC
Stacktrace:
$ yubioath-desktop
qrc:/qml/main.qml:305:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 7. Use 'sequences: [ <key> ]' to bind to all of them.
qrc:/qml/main.qml:297:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 9. Use 'sequences: [ <key> ]' to bind to all of them.
QSystemTrayIcon::setVisible: No Icon set
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Unhandled PyOtherSide error: Cannot import module: yubikey (Traceback (most recent call last):

  File "qrc:///py/yubikey.py", line 23, in <module>
    from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info

ImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.11/site-packages/ykman/device.py)
)
Unhandled PyOtherSide error: Function not found: 'yubikey.init' (Traceback (most recent call last):

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

NameError: name 'yubikey' is not defined
)
Unhandled PyOtherSide error: Function not found: 'yubikey.controller.check_descriptors' (Traceback (most recent call last):

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

NameError: name 'yubikey' is not defined
)
Unhandled PyOtherSide error: Function not found: 'yubikey.controller.is_win_non_admin' (Traceback (most recent call last):

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

NameError: name 'yubikey' is not defined
)

Reproducible: Always

Steps to Reproduce:
1. Run yubioath-desktop from terminal
2.
3.



Versions:
$ rpm -qa|grep yubi
yubioath-desktop-5.1.0-9.fc37.x86_64
libyubikey-1.13-19.fc38.x86_64
yubikey-personalization-gui-3.1.25-12.fc38.x86_64
python3-yubico-1.3.3-11.fc38.noarch
yubikey-manager-qt-1.2.5-2.fc38.x86_64
python3-yubikey-manager-5.2.0-1.20230821gitd1bf843.fc38.noarch
yubikey-manager-5.2.0-1.20230821gitd1bf843.fc38.noarch

Comment 1 Jonny Heggheim 2023-09-18 16:17:06 UTC
Running in i3 window manager

Comment 2 Gerald Cox 2023-09-18 17:19:19 UTC
Hello,
Unfortuately, yubioath-desktop is no longer supported in Fedora.

Please refer to this discussion entry on mitigation approaches:
https://discussion.fedoraproject.org/t/f38-yubioath-desktop-will-no-longer-be-available-in-fedora-repository/45921

If you have any additional questions, please let me know.

Thank you.


Note You need to log in before you can comment on or make changes to this bug.