Created attachment 176363 [details] "GpgME not installed correctly" screen shot SUMMARY Trying to open a PDF results in an error: "GpgME not installed correctly". This only occurs with the first PDF opened. After that the error does not occur until the program is restarted. STEPS TO REPRODUCE 1. Download and install https://cdn.kde.org/ci-builds/graphics/okular/release-24.08/windows/okular-release_24.08-5436-windows-cl-msvc2022-x86_64.exe on Windows 10. 2. Download a PDF such as https://www.sscardapane.it/assets/alice/Alice_book_volume_1.pdf . 3. Open the PDF in Okular. OBSERVED RESULT ``` GpgME not installed correctly gpgme-w32spawn.exe was not found in the detected installation directory of GpgME "C:\Program Files\Okular\bin" Crypto operations will not work. If you see this it indicates a problem with your installation. Please report the problem to your distributor of GpgME. Developer's Note: The installer dir can be manually set with: gpgme_set_global_flag ``` EXPECTED RESULT The PDF opens with no error. SOFTWARE/OS VERSIONS Windows: Windows 10 22H2 19045.5131 ADDITIONAL INFORMATION I had previously installed the version from Microsoft Store as the documentation indicated, and it did not exhibit this error. However the Microsoft Store version is over a year old: v23.08. So I uninstalled it and downloaded v24.08. From a little research, it would appear that this should have been fixed long ago. See links below. * [“GpgME not installed correctly” error when opening regular Okular](https://forum.gnupg.org/t/gpgme-not-installed-correctly-error-when-opening-regular-okular/4190) * [Binary Factory build #1575 is missing one .exe from /bin -- Configure backend doesn't work ](https://bugs.kde.org/show_bug.cgi?id=476981). * [GPGME: Finding gpgme-w32-spawn.exe should be optiona](https://dev.gnupg.org/T6818). * [core: Fail loudly in case w32 spawner not found](https://dev.gnupg.org/rM9cf983b0199950c8f8cccee2cb8e45aafcba9fd1).
I uninstalled v24.08 and installed the very latest nightly https://cdn.kde.org/ci-builds/graphics/okular/master/windows/okular-master-5563-windows-cl-msvc2022-x86_64.exe (which appears to be v24.08.3 according to **Help > About Okular**), and the exact same error appears.
If you want a version that works use the Microsoft Store one, all the other binaries are provided as a best effort, if they don't work either don't use them or provide patches to make them work.