[okular] [Bug 497062] New: "GpgME not installed correctly" when opening first PDF on Windows.

Garret Wilson bugzilla_noreply at kde.org
Wed Dec 4 23:44:21 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=497062

            Bug ID: 497062
           Summary: "GpgME not installed correctly" when opening first PDF
                    on Windows.
    Classification: Applications
           Product: okular
           Version: 24.08.3
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: garret at globalmentor.com
  Target Milestone: ---

Created attachment 176363
  --> https://bugs.kde.org/attachment.cgi?id=176363&action=edit
"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).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list