How was it installed?: just ran *.AppImage from my non-root user
Operating system and version: Linux Mint 21.3 Virginia Cinnamon (aka Ubuntu 22.04 jammy).
YubiKey model and version: Nano 5
Bug description summary: Error when clicking Application / PIV
Steps to reproduce
Run the .AppImage (device recognized correctly).
Click Applications menu.
Click bottom menu item "PIV"
Expected result
No error
Actual results
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Failed to open device
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 78, in wrapped
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "qrc:///py/yubikey.py", line 300, in refresh_piv
with self._open_device([SmartCardConnection]) as conn:
TypeError: 'NoneType' object does not support the context manager protocol
And red error message in GUI.
Other info
If trying to run from root user, and performing the same steps, the error logs are somewhat different:
[sudo] password for user:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Failed to open device
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 78, in wrapped
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "qrc:///py/yubikey.py", line 300, in refresh_piv
with self._open_device([SmartCardConnection]) as conn:
TypeError: 'NoneType' object does not support the context manager protocol
qml: qrc:/qml/PivView.qml:26: Error: Invalid write to global property "isMacOs"
*.AppImage
from my non-root userLinux Mint 21.3 Virginia Cinnamon
(akaUbuntu 22.04 jammy
).Steps to reproduce
Expected result
No error
Actual results
And red error message in GUI.
Other info
If trying to run from root user, and performing the same steps, the error logs are somewhat different: