Page MenuHome GnuPG

Kleopatra won't start
Open, NormalPublic

Description

Today I'm migrating key pairs from my old laptop to new one, and I encountered the issues that kleopatra didn't start up. Using GPA(GNU Privacy Assistant), my key was successfully imported, which I guess GnuPG is functional, only the Kleopatra is broken. I tried version 3.1.14 which works perfect on my old laptop, but still not working on the new one. The new laptop should be a new installed windows 10 from OEM, and I don't think I changed something seriously. My old laptop is HP OMEN W205TX, and the new one is Razer blade 15 advanced model with RTX3070.

My first guess is that with 2K screen, windows set default scale and layout at 150%, and I set it back to 100%, reboot, and both 3.1.14 and 3.1.15 still not launching kleopatra. I tried to start it from cli, but it doesn't give me any useful information. When I tried to start it, an icon showed on system tray, but after a while as long as I move cursor on it, it disappeared. This model using dual GPU and screen is controlled by intel one, with my old laptop, nvidia one handles everything.

PS: if I start kleopatra with -h or -v, it prompt it help message or version properly. And no matter what parameter it take, there no error message like missing dll.

Details

Version
Gpg4win 3.1.15; Windows 10 20H2 build 19042.870; Office Outlook 2019 MSO 16.0.13127.20566 64bit

Event Timeline

I noticed that my windows user folder contains Chinese character, and I rename that into English and seems like kleopatra works fine. GnuPG in cli cannot show Chinese folder name properly, thus I guess that's the reason why kleopatra exits without showing a gui.

I'm not sure if this considered as a bug, so I'll let this task here.

werner triaged this task as Normal priority.Apr 15 2021, 9:14 AM
werner added projects: Windows, gnupg, workaround.
werner added a subscriber: werner.

gpg4win 3.1 has no full Unicode support. You may try to install the new GnuPG 2.3 version on top of gpg4win to fix this problem or wait until we have releases gpg4win 4 which will come with GnuPG 2.3.

I just had the same issue as hurui200320. My user name contains a "ç" and Kleopatra did not start. The Windows event logger reported a crash in libstdc++-6.dll. This was with gpg4win-3.1.16. Installing gnupg 2.3.1 did not change anything.

Note that the Outlook add-in GPol did not start either (in this case there was no event logged by Windows).

I followed the instructions in this MS KB article and the problem disappeared.

As a side note, Outlook keeps storing its data files in the old %userprofile%\AppData\Local\Microsoft\Outlook, folder where the %userprofile% still contains the "ç".

Forgot to mention one thing: after changing my user folder directory I lost all my Outlook contacts. I was able to recover them... make sure you have a backup before attempting this!