saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
473 stars 46 forks source link

2.1.3 crash at launch in Ubuntu 22.04 #166

Closed emplexity closed 1 month ago

emplexity commented 1 month ago

Installed the AppImage as per manual on Ubuntu 22.04 running in a virtual machine, gpgfrontendxxx.AppImage processed by AppImageLauncher to be integrated into the system, then

  1. launched from the favourite bar nothing happening
  2. launched from the CLI with error as shown below xxx:~/Applications$ ./GpgFrontend-2.1.3-qt5-linux-x86_64_ef4242084550cab7e755e8244f6e4d7d.AppImage Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(GpgFrontend-2.1.3-qt5-linux-x86_64_ef4242084550cab7e755e8244f6e4d7d.AppImage:17455): GLib-GIO-ERROR **: 19:06:13.088: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing' Any advice to address this?

saturneric commented 1 month ago

I found this. You may try it.

emplexity commented 1 month ago

Thanks, however, regressing the current set up of my ubuntu 22.04 machine and tinkering with its env variables in ways which go beyond my technical expertise entail regression risks that I am not prepared to take.

FYI, I tried in the meantime an alternative approach found on GitHub with the following results: it gave me the main screen of gpgfrontend but crashed when I clicked on the import key. xxxx:~/Downloads$ GDK_BACKEND=x11 ./GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(AppImageLauncher:19257): GLib-CRITICAL **: 19:46:50.667: g_file_test: assertion 'filename != NULL' failed Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPAPLATFORM=wayland to run on Wayland anyway. Loading the "qt" catalog failed for locale QLocale(English, Latin, United States) Loading the "qt" catalog failed for locale QLocale(English, Latin, United States) Loading the "qtbase" catalog failed for locale QLocale(English, Latin, United States) [19:47:03.138] [T:19281] [default] [ info ] [GlobalSettingStation.cpp:43] [Impl] -> app path: /tmp/.mount_GpgFroWPBWMf/usr/bin (+1286us) [19:47:03.138] [T:19281] [default] [ info ] [GlobalSettingStation.cpp:44] [Impl] -> app working path: /home/paul-herve/Downloads (+45us) [19:47:03.138] [T:19281] [default] [ info ] [GlobalSettingStation.cpp:59] [Impl] -> app data path: /home/paul-herve/.local/share/GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage (+33us) [19:47:03.138] [T:19281] [default] [ info ] [GlobalSettingStation.cpp:60] [Impl] -> app log path: /home/paul-herve/.local/share/GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage/logs (+5us) [19:47:03.139] [T:19281] [default] [ info ] [init.cpp:155] [InitLocale] -> current system default locale: en_US (+765us) [19:47:03.139] [T:19281] [default] [ info ] [init.cpp:156] [InitLocale] -> locale settings from config: (+41us) [19:47:03.139] [T:19281] [default] [ info ] [init.cpp:160] [InitLocale] -> application's target locale: enUS (+17us) Loading the "qt" catalog failed for locale QLocale(English, Latin, United States) Loading the "qt" catalog failed for locale QLocale(English, Latin, United States) Loading the "qtbase" catalog failed for locale QLocale(English, Latin, United States) QIODevice::read (QProcess): device not open [19:47:03.151] [T:19281] [ core ] [ info ] [GpgCoreInit.cpp:297] [InitGpgFrontendCore] -> detected gpgconf path: (+12105us) [19:47:03.152] [T:19281] [ core ] [ info ] [GpgCoreInit.cpp:298] [InitGpgFrontendCore] -> detected gnupg path: (+258us) [19:47:03.178] [T:19301] [ core ] [ info ] [Module.cpp:123] [Impl] -> module loaded, id: com.bktus.gpgfrontend.module.gnupg_info_gathering, version: 1.0.0, sdk version: 2.1.3, qt env version: 5.15.2, hash: dfd07e9ed34aa4a1459aadcaf1a9b1c9420f130d59600f07a241466ce575cb30, path: /tmp/.mount_GpgFroWPBWMf/usr/plugins/mods/libmod_gpg_info.so (+26582us) [19:47:03.180] [T:19301] [ core ] [ info ] [DataObjectOperator.cpp:39] [init_app_secure_key] -> initializing application secure key... (+1364us) [19:47:03.180] [T:19301] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: module.com.bktus.gpgfrontend.module.gnupg_info_gathering.so (+216us) [19:47:03.186] [T:19301] [ core ] [ info ] [Module.cpp:123] [Impl] -> module loaded, id: com.bktus.gpgfrontend.module.version_checking, version: 1.0.0, sdk version: 2.1.3, qt env version: 5.15.2, hash: 255095e1f57d27945ebe8e289cefe90a23c87cb590c2502ef1cb83985a36b6db, path: /tmp/.mount_GpgFroWPBWMf/usr/plugins/mods/libmod_ver_check.so (+6687us) [19:47:03.187] [T:19301] [module] [ info ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module registering (+47153us) [19:47:03.187] [T:19301] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: module.com.bktus.gpgfrontend.module.version_checking.so (+496us) [19:47:03.187] [T:19301] [module] [ info ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module activating (+458us) [19:47:03.202] [T:19301] [ core ] [ info ] [GpgCoreInit.cpp:380] [operator()] -> using key database path: /home/paul-herve/.gnupg (+15266us) [19:47:03.335] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: main_window_state (+132819us) [19:47:03.335] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: general_settings_state (+143us) [19:47:03.450] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: cache_manage_data_register_key_list (+115162us) [19:47:03.451] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: __cache_data_favourite_key_pair (+216us) [19:47:03.452] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: key_server (+1824us) [19:47:03.455] [T:19281] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: cache_data_editor_unsaved_pages (+2456us) [19:47:03.455] [T:19308] [module] [ info ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module executing, event id: APPLICATION_LOADED (+268131us) qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_base_id qt.network.ssl: QSslSocket: cannot resolve SSL_get_peer_certificate qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate [19:47:03.633] [T:19308] [module] [ error ] [GFSDKLog.cpp:47] [GFModuleLogError] -> latest version request error: (+177513us) qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate [19:47:03.697] [T:19308] [module] [ error ] [GFSDKLog.cpp:47] [GFModuleLogError] -> current version request network error: SSL handshake failed (+64096us) QObject::connect: Cannot queue arguments of type 'Namespace' (Make sure 'Namespace' is registered using qRegisterMetaType().) QWizard::field: No such field 'openHelp'

(GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage:19281): Gtk-WARNING : 19:50:02.725: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

saturneric commented 1 month ago

Found another.

It looks like these are related to some environment variables or environment related settings. I'll take a further look at what's out there for developers to do.

saturneric commented 1 month ago

Bug solved.

Refer: fa396c4699b7d02e55c417c4a62f196ad3e9a51b