Kleopatra does not start

I know there are a lot of topics related, but all of them are about previous verions.
I installed gpg4win-2.2.5 in my Windows 8.1 x64 (Portuguese-BR) successfully but when I try to open Kleopatra nothing happens.

Looking at windows task manager I noticed that dllhost.exe is launched, after some seconds, kleopatra.exe, then is closed with no error msg.
I’ve tried some early versions with no success as well.

I have other computer in the same features (Win 8.1 x64 PT-BR) that it runs perfectly.
Does someone know how to fix it?

Thank you.

I’ve alread tried to clean up the host file and checked about environment variables. I’m sure to run the installer and Kleopatra with administrator rights.

Hi Rafael,
check out http://wiki.gnupg.org/TroubleShooting
maybe the Kleo console message help to diagnose what is going on.

Best,
Bernhard

Thank you.
I can’t generate log information.
I followed all steps but not file is generated.
Could you help me?
Following the path and envoironment variables.

Thank you so much Bernhard.

PrtScr capture_2.jpg

What does DebugView show you?

00000001 0.00000000 [6348] SHIMVIEW: ShimInfo(Complete)
00000002 0.00844799 [6348] FTH: (6348): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
00000003 0.05779308 [820] SHIMVIEW: ShimInfo(Complete)
00000004 0.06564061 [820] FTH: (820): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
00000005 0.19081268 [6076] SHIMVIEW: ShimInfo(Complete)
00000006 0.19926885 [6076] FTH: (6076): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
00000007 2.47916031 [5000] SHIMVIEW: ShimInfo(Complete)
00000008 2.48760629 [5000] FTH: (5000): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
00000009 2.58803296 [5000] Debug:unnamed app(5000)/kleopatra main: Statup timing: 31 ms elapsed: Command line args created
00000010 2.64925718 [5252] SHIMVIEW: ShimInfo(Complete)
00000011 2.65827823 [5252] FTH: (5252): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***
00000012 4.80642509 [5000] Warning:QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
00000013 4.80674791 [5000] Critical:kleopatra(5000): KUniqueApplication: Cannot find the D-Bus session server: “Failed to get autolaunch address from launched dbus-daemon”
00000014 4.80674791 [5000]
00000015 56.54053116 [4072] SHIMVIEW: ShimInfo(Complete)

Thanks…

Hi Rafael,
this may be caused by a missing host entry for “localhost”.
See the following thread for more pointers:

https://forum.gnupg.org/t/kleopatra-issue-on-windows-7-64bit/2813

Best Regards,
Bernhard
ps.: Flattr Gpg4win at https://flattr.com/thing/2053326,
if you appreciate this answer and my work within the Gpg4win Initiative.

Thank you again Bernhard, but
there’s no entry in my host file. I had xampp installed but I removed all host entries.
Following the entire content of my host file:

–BEGIN

Copyright (c) 1993-2009 Microsoft Corp.

This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

This file contains the mappings of IP addresses to host names. Each

entry should be kept on an individual line. The IP address should

be placed in the first column followed by the corresponding host name.

The IP address and the host name should be separated by at least one

space.

Additionally, comments (such as these) may be inserted on individual

lines or following the machine name denoted by a ‘#’ symbol.

For example:

102.54.94.97 rhino.acme.com # source server

38.25.63.10 x.acme.com # x client host

localhost name resolution is handled within DNS itself.

–END

CUsersRafaelGoogle Drivehosts - Notepad++ [Administrator].jpg

Still not working… :frowning:

Rafael,
did you try starting the dbus daemon as indicated in the other thread?
What error message did you get?
Bernhard

I can’t start the Dbus daemon… all ports I’ve tried give the same msg:

Failed to start message bus: Failed to bind socket “localhost:6922”: Address already in use

I checked netstat and there’s no application using that door.
I’ve stoped the Kespersky IS and disabled windows firewall but the same msg is showed. Checked again the host file, and there’s no entry.

After restart I finnaly have success!!! :slight_smile:
Thank you so much!

Rafael,
good to know you could solve your problem.
Did you identify, which application was blocking the port for dbus-daemon?

Best Regards,
Bernhard
ps.: Flattr Gpg4win at https://flattr.com/thing/2053326,
if you appreciate this answer and my work within the Gpg4win Initiative.

I really don’t know… but those “#” shoud work as commentary in host file?
I end up deleting host file… restarting the system, and voilá… it’s working now… even with Kaspersky Internet Security running…

At least the file itself say that tailing #s should indicate comment lines.
So maybe after you did “remove host entries” as you wrote, all it take was a restart to updated the system. Anyway, it must have to do with what you did change.