Package Details: nitrokey-app2 2.3.3-2

Git Clone URL: https://aur.archlinux.org/nitrokey-app2.git (read-only, click to copy)
Package Base: nitrokey-app2
Description: Nitrokey management application for Nitrokey 3 devices
Upstream URL: https://github.com/Nitrokey/nitrokey-app2
Licenses: Apache-2.0
Submitter: jnphilipp
Maintainer: jnphilipp
Last Packager: jnphilipp
Votes: 7
Popularity: 0.71
First Submitted: 2023-11-01 20:46 (UTC)
Last Updated: 2024-11-20 08:13 (UTC)

Latest Comments

jnphilipp commented on 2024-09-27 06:35 (UTC)

@Macarena since 2.3.2 it doesn't run with python-pynitrokey any more, it needs now python-nitrokey. See https://github.com/Nitrokey/nitrokey-app2/pull/264

Macarena commented on 2024-09-25 11:24 (UTC)

Hi,

I had trouble to install the update of this package into my manjaro system.

After changing the build file it runs without error. Have changed in dependencies the python-nitrokey to python-pynitrokey.

pkgname=nitrokey-app2 pkgver=2.3.2 depends=('python-pynitrokey' ....

I would be happy if you check this change and consider to include it in your package.

Regards

pescepalla commented on 2024-04-29 20:21 (UTC) (edited on 2024-04-29 20:23 (UTC) by pescepalla)

Traceback (most recent call last):
  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 20, in <module>
    from nitrokeyapp.error_dialog import ErrorDialog
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/error_dialog.py", line 8, in <module>
    from nitrokeyapp.logger import save_log
ModuleNotFoundError: No module named 'nitrokeyapp.logger'

If the above happens after running the executable, it means the file https://github.com/Nitrokey/nitrokey-app2/blob/main/nitrokeyapp/logger.py needs to be manually copied into /usr/lib/python3.12/site-packages/nitrokeyapp directory.

pescepalla commented on 2024-03-25 12:48 (UTC) (edited on 2024-03-25 15:18 (UTC) by pescepalla)

Currently depends on python-pynitrokey 0.4.45, so it might be necessary to downgrade.

hendrik commented on 2024-03-03 16:58 (UTC)

So if you run namcap nitrokey-app2-2.2.1-2-x86_64.pkg.tar.zst you get:

nitrokey-app2 W: No ELF files and not an "any" package
nitrokey-app2 W: Referenced python module 'win32gui' is an uninstalled dependency (needed in files ['usr/lib/python3.11/site-packages/nitrokeyapp/windows_notification.py'])
nitrokey-app2 W: Referenced python module 'win32con' is an uninstalled dependency (needed in files ['usr/lib/python3.11/site-packages/nitrokeyapp/windows_notification.py'])
nitrokey-app2 W: Referenced python module 'win32api' is an uninstalled dependency (needed in files ['usr/lib/python3.11/site-packages/nitrokeyapp/windows_notification.py'])
nitrokey-app2 E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy)
nitrokey-app2 W: Dependency python detected and implicitly satisfied (python modules ['datetime.datetime', 'tempfile.NamedTemporaryFile', 'pathlib', 'base64.b32decode', 'importlib.metadata', 'types.TracebackType', 'typing.Optional', 'typing.Type', 're', 'os', 'typing.Any', 'platform', 'pathlib.Path', 'typing.Dict', 'ctypes.c_ulong', 'typing.Generator', 'enum.unique', 'shutil', 'typing.Callable', 'sys', 'importlib.metadata.version', 'typing.TYPE_CHECKING', 'ctypes.c_ushort', 'binascii', 'typing.Iterator', 'typing.TypeVar', 'logging', 'contextlib.contextmanager', 'dataclasses.dataclass', 'ctypes.Structure', 'webbrowser', 'typing.List', 'typing.Protocol', 'traceback.format_exception', 'enum.auto', 'enum.Enum', 'typing.Union'] needed in files ['usr/lib/python3.11/site-packages/nitrokeyapp/secrets_tab/worker.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/__main__.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/logger.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/ui_loader.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/error_dialog.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/qt_utils_mix_in.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/welcome_tab.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/windows_notification.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/device_view.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/device_data.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/overview_tab.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/information_box.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/__init__.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/secrets_tab/ui.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/secrets_tab/data.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/worker.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/gui.py', 'usr/lib/python3.11/site-packages/nitrokeyapp/secrets_tab/__init__.py', 'usr/bin/nitrokeyapp', 'usr/lib/python3.11/site-packages/nitrokeyapp/update.py'], programs ['python'] needed in scripts ['usr/bin/nitrokeyapp'])
nitrokey-app2 W: Dependency included, but may not be needed ('qt6-tools')
nitrokey-app2 W: Dependency included, but may not be needed ('qt6-svg')

That implies arch can be any and hicolor-icon-theme should be in depends.

hendrik commented on 2024-02-25 21:40 (UTC) (edited on 2024-02-25 21:40 (UTC) by hendrik)

This depends on qt6-svg for loading svg too. Starts without some icons otherwise.

pescepalla commented on 2024-02-15 18:15 (UTC) (edited on 2024-02-15 18:16 (UTC) by pescepalla)

Traceback (most recent call last):
  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 20, in <module>
    from nitrokeyapp.error_dialog import ErrorDialog
  File "/usr/lib/python3.11/site-packages/nitrokeyapp/error_dialog.py", line 8, in <module>
    from nitrokeyapp.logger import save_log
ModuleNotFoundError: No module named 'nitrokeyapp.logger'

If you have this error when launching, manually copying the logger.py file in the /usr/lib/python3.11/site-packages/nitrokeyapp directory solves the issue.

Zearan commented on 2024-01-14 10:29 (UTC)

I had to apply the following patch before it would finish the build: https://gist.github.com/zearan/695cf0db2ec342bab57f730d6dec2443

post-factum commented on 2024-01-10 14:45 (UTC)

It should be trivial to have this package built from sources, please see [1]. Otherwise, a -bin suffix for the package name would be appreciated.

[1] https://build.opensuse.org/package/view_file/home:post-factum/nitrokey-app2/PKGBUILD