Bug ID 1225271
Summary Nitrokey-app2 fails to start with a python error message "cannot import name"
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter stakanov@disroot.org
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

File "/usr/bin/nitrokeyapp", line 5, in <module>
    from nitrokeyapp.__main__ import main
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/__main__.py", line 10, in
<module>
    from nitrokeyapp.gui import GUI
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/gui.py", line 12, in
<module>
    from pynitrokey.nk3 import Nitrokey3Device
ImportError: cannot import name 'Nitrokey3Device' from 'pynitrokey.nk3'
(/usr/lib/python3.11/site-packages/pynitrokey/nk3/__init__.py)


Hence the whole application does not start. 

Operating System: openSUSE Tumbleweed 20240522
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 62.2 GiB of RAM
Graphics Processor: AMD Radeon Pro W5500
Product Name: X570 Phantom Gaming 4

Python:mercurio@linux:~> rpm python --version
RPM versione 4.19.1.1

Nitrokey is the Nitrokey3 usb-c


You are receiving this mail because: