Bug 495718 - No such file or directory
Summary: No such file or directory
Status: RESOLVED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: gpg4win 4.3.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Ingo Klöcker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-02 11:23 UTC by Janis Hörle
Modified: 2024-11-05 19:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of error message (47.39 KB, image/png)
2024-11-02 11:23 UTC, Janis Hörle
Details
attachment-2125668-0.html (3.19 KB, text/html)
2024-11-05 03:20 UTC, Janis Hörle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Hörle 2024-11-02 11:23:46 UTC
Created attachment 175471 [details]
Screenshot of error message

Hello,

I am unable to create a new pair of public/private keys using Kleopatra Client.
I am receiving an error message as shown in the attachment. 

I do not use any non-ascii characters in my name nor in my e-mail address.

Thanks for taking a look.
Comment 1 Ingo Klöcker 2024-11-04 20:27:19 UTC
I have no idea what could cause this. My best guess is that your installation is broken although Kleopatra's self-test should have noticed this. It could also be a permission problem e.g. if you installed Kleopatra with elevated permissions.

Note that KDE doesn't provide a Windows version of Kleopatra. I suggest you contact the Gpg4win forum (https://gpg4win.org/community.html). There you'll find people who know much more about Gpg4win and using Kleopatra on Windows than here.

I'll set this to NEEDSINFO from downstream (i.e. Gpg4win). If the Gpg4win people can figure out what's going wrong then we might be able to fix it (if it's a bug).
Comment 2 Janis Hörle 2024-11-05 03:20:19 UTC
Created attachment 175531 [details]
attachment-2125668-0.html

Hello Ingo,

I finally figured it out. As you advised I tried uninstall and reinstall gpg4win. This step did not fix the issue.
The problem was, that the ~/.gnupg folder was missing and thus no keyring was found.

I readjusted the gpg4win configuration and now everything works as expected.

I appreciate you taking your time to help me.

Have a nice week.


________________________________
From: Ingo Klöcker <bugzilla_noreply@kde.org>
Sent: Monday, November 4, 2024 9:27:19 PM
To: janis.hoerle@outlook.com <janis.hoerle@outlook.com>
Subject: [kleopatra] [Bug 495718] No such file or directory

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

Ingo Klöcker <kloecker@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |NEEDSINFO
         Resolution|---                         |DOWNSTREAM

--- Comment #1 from Ingo Klöcker <kloecker@kde.org> ---
I have no idea what could cause this. My best guess is that your installation
is broken although Kleopatra's self-test should have noticed this. It could
also be a permission problem e.g. if you installed Kleopatra with elevated
permissions.

Note that KDE doesn't provide a Windows version of Kleopatra. I suggest you
contact the Gpg4win forum (https://gpg4win.org/community.html). There you'll
find people who know much more about Gpg4win and using Kleopatra on Windows
than here.

I'll set this to NEEDSINFO from downstream (i.e. Gpg4win). If the Gpg4win
people can figure out what's going wrong then we might be able to fix it (if
it's a bug).

--
You are receiving this mail because:
You reported the bug.
Comment 3 Ingo Klöcker 2024-11-05 19:45:04 UTC
Usually, this folder should be created automatically as %APPDATA%\gnupg. It would be interesting to know why this seems to have failed on your system. Anyway, great that you could solve your problem. I'll close the report as WORKSFORME for now.