Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1.3] Cannot use custom key database path -> crash #165

Closed
EHJ-52n opened this issue Jul 8, 2024 · 2 comments
Closed

[2.1.3] Cannot use custom key database path -> crash #165

EHJ-52n opened this issue Jul 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@EHJ-52n
Copy link

EHJ-52n commented Jul 8, 2024

I am starting the app image GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage and the application crashes when clicking on the button "Select Key Database Path" in the "GnuPG Controller" dialog.
The checkbox "Use Custom GnuPG Key Database Path" can be checked without any problems.

The log output of the crash:

~/opt/gpg-frontend ./GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage 
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)
[10:54:06.570] [T:69932] [default] [  info  ] [GlobalSettingStation.cpp:43] [Impl] -> app path: /tmp/.mount_GpgFro25qEMd/usr/bin (+1227us)
[10:54:06.571] [T:69932] [default] [  info  ] [GlobalSettingStation.cpp:44] [Impl] -> app working path: /home/user/opt/gpg-frontend (+22us)
[10:54:06.571] [T:69932] [default] [  info  ] [GlobalSettingStation.cpp:59] [Impl] -> app data path: /home/user/.local/share/GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage (+22us)
[10:54:06.571] [T:69932] [default] [  info  ] [GlobalSettingStation.cpp:60] [Impl] -> app log path: /home/user/.local/share/GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage/logs (+10us)
[10:54:06.571] [T:69932] [default] [  info  ] [init.cpp:155] [InitLocale] -> current system default locale: en_US (+539us)
[10:54:06.571] [T:69932] [default] [  info  ] [init.cpp:156] [InitLocale] -> locale settings from config:  (+8us)
[10:54:06.571] [T:69932] [default] [  info  ] [init.cpp:160] [InitLocale] -> application's target locale: en_US (+5us)
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
[10:54:06.578] [T:69932] [ core ] [  info  ] [GpgCoreInit.cpp:297] [InitGpgFrontendCore] -> detected gpgconf path:  (+6986us)
[10:54:06.578] [T:69932] [ core ] [  info  ] [GpgCoreInit.cpp:298] [InitGpgFrontendCore] -> detected gnupg path:  (+13us)
[10:54:06.598] [T:69945] [ 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_GpgFro25qEMd/usr/plugins/mods/libmod_gpg_info.so (+20068us)
[10:54:06.607] [T:69945] [ 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_GpgFro25qEMd/usr/plugins/mods/libmod_ver_check.so (+8908us)
[10:54:06.607] [T:69945] [module] [  info  ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module registering (+35954us)
[10:54:06.607] [T:69945] [module] [  info  ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module activating (+189us)
[10:54:06.618] [T:69945] [ core ] [  info  ] [GpgCoreInit.cpp:380] [operator()] -> using key database path: /home/user/.gnupg (+10823us)
[10:54:06.987] [T:69932] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: __cache_data_favourite_key_pair (+369155us)
[10:54:06.988] [T:69932] [ core ] [warning ] [DataObjectOperator.cpp:112] [GetDataObject] -> data object not found from disk, key: __cache_data_editor_unsaved_pages (+1136us)
[10:54:06.989] [T:69952] [module] [  info  ] [GFSDKLog.cpp:43] [GFModuleLogInfo] -> version checking module executing, event id: APPLICATION_LOADED (+381112us)
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
[10:54:07.230] [T:69952] [module] [ error  ] [GFSDKLog.cpp:47] [GFModuleLogError] -> latest version request error:  (+241078us)
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
[10:54:07.378] [T:69952] [module] [ error  ] [GFSDKLog.cpp:47] [GFModuleLogError] -> current version request network error: SSL handshake failed (+148638us)
QObject::connect: Cannot queue arguments of type 'Namespace'
(Make sure 'Namespace' is registered using qRegisterMetaType().)
QWizard::field: No such field 'openHelp'
[10:54:17.491] [T:69932] [  ui  ] [  info  ] [GnuPGControllerDialog.cpp:354] [slot_set_restart_needed] -> announce restart needed, mode: 1001 (+10919717us)
[10:54:17.491] [T:69932] [  ui  ] [  info  ] [GnuPGControllerDialog.cpp:354] [slot_set_restart_needed] -> announce restart needed, mode: 1001 (+28us)
[10:54:17.491] [T:69932] [  ui  ] [  info  ] [GnuPGControllerDialog.cpp:354] [slot_set_restart_needed] -> announce restart needed, mode: 0 (+10us)



(GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage:69932): Gtk-WARNING **: 10:54:33.373: 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)
[1]    69932 IOT instruction (core dumped)  ./GpgFrontend-2.1.3-qt5-linux-x86_64.AppImage

I entered the three empty lines before clicking on the button, hence the log of the crash is separated.

I you need anything else from my side, feel free to ask.
I am happy to help and thank you very much for your time.

@EHJ-52n EHJ-52n changed the title Cannot use custom key database path -> crash [2.1.3] Cannot use custom key database path -> crash Jul 8, 2024
@EHJ-52n
Copy link
Author

EHJ-52n commented Jul 8, 2024

I just tried GpgFrontend-2.1.2-linux-x86_64.AppImage and the feature is working, meaning I can use different homedirs with GpgFrontend.

@saturneric saturneric added the bug Something isn't working label Jul 11, 2024
@saturneric
Copy link
Owner

Bug solved.

Refer: fa396c4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants