Bug 1225271

Summary: Nitrokey-app2 fails to start with a python error message "cannot import name"
Product: [openSUSE] openSUSE Tumbleweed Reporter: Stakanov Schufter <stakanov>
Component: OtherAssignee: Johannes Kastl <opensuse_buildservice>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: screening-team-bugs
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stakanov Schufter 2024-05-24 17:02:02 UTC
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
Comment 1 Stakanov Schufter 2024-06-21 20:13:08 UTC
The app is broken in TW and this since one month at least. Solution: if nobody maintains it anymore it should be taken off the repos. 
If not it would be good to have it fixed so that it does at least start. All depends on the question if there is still interest to support this product.
Comment 2 Johannes Kastl 2024-07-17 16:45:31 UTC
Sorry, this went unnoticed. I'll try to have a look.

Johannes