![]() KDE Developer ![]()
|
I agree, there's something else but the (KMyMoney) developers have not deliberately turned something off. KMyMoney relies on a library called GpgME++ and checks for the availability using the following code
We (the KMyMoney developers) are aware of the problem under Windows but apparently don't have an immediate resolution to the problem. Seems we need to replace the unmaintained code, but I don't know what to use instead. Ideas/hints are always welcome.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Thanks for the clarity of your response, ipwizard. I finally know what the issue is.
Unfortunately, I'm unable to help - I have no relevant skills to offer. Questions for you: 1) If I reverted to KMM v4.8.4 from https://download.kde.org/stable/kmymoney/4.8.4/win64/kmymoney-mingw64-4.8.4-2.1-setup.exe, would I be able to import directly my v5.1 unencrypted .kmy file? 2) Or were there any .kmy file format changes between v4.8.4 and v5.1 that make that impossible? 3) Would there be any other disadvantages to reverting to v4.8.4? I take Stephen's point about using Veracrypt (which I already use), but it's an added layer of complication. Regards John |
![]() Registered Member ![]()
|
In the Windows version of KMyMoney 5.1.0, Help > About KMyMoney > About(tab) says:
Compiled with the following optional features: Addressbook integration Holiday regions integration This corresponds to a section of KAboutData initializeCreditsData() in kcreditswindow.cpp:
There is a block of about 400 lines in kpgfile.cpp that starts at line 43 with: #ifdef ENABLE_GPG At line 330, which is in the ENABLE_GPG block, we see: const auto engineCheck = GpgME::checkEngine(GpgME::OpenPGP); That line was mentioned in a previous forum post. With ENABLE_GPG not defined, the ~400 lines would be ignored. Instead, the block starting at line 435 would be processed: #else // not ENABLE_GPG // NOOP implementation Here are two of the functions in the NOOP implementation block. The rest are similar.
dunbankin: Out of an abundance of caution, in Kleopatra you should run Settings > Perform Self-Test. I expect that all the Kleopatra tests will pass, but in KMyMoney the GPG settings for XML Storage will be grayed out. |
![]() KDE Developer ![]()
|
Very good analysis. This will give us* ipwizard another handle to look at. I have to admit, that it never came to my mind that the GPG support may not be compiled into KMyMoney at all.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Thanks, Stephen. It sounds from the first few lines of your reply as if Addressbook integration & Holiday regions integration are the new v5 features - I don't really understand what they do, but it doesn't sound like anything I'd miss.
The rest of your post was pretty incomprehensible to me (I don't know C++), but it sounds as if ipwizard was impressed... I've run the kleopatra self-test. I don't know how to paste a screenshot, or attach an image file, into this forum, but there were 12 tests, and they all were marked 'passed'. In KMM, Use GPG is still greyed out. Incidentally, kleopatra reports that User ID is "not certified". Could that be what's causing the problem? Finally, could I have your advice to my question above: If I reverted to KMM v4.8.4 from https://download.kde.org/stable/kmymoney/4.8.4/win64/kmymoney-mingw64-4.8.4-2.1-setup.exe, would I be able to open my v5.1 unencrypted .kmy file? Regards John |
![]() KDE Developer ![]()
|
For those interested, I found a slide deck that shows some information about how gpgmepp works together with gpg. I still wonder what it needs so that the KMyMoney build environment finds the gpgmepp library.
Regarding the question about using the 5.x file on 4.8: that should in general be no problem. There is a bit of a difference in the handling of online banking plugins but if you don't use them, it does not seem to be a problem. If you do use them, you may need to have to remap the online accounts. 4.8 is so long ago (for me) that I don't remember all the details that could have an influence on this step. Keep backups and you should be safe.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Thanks for the advice, ipwizard. Talking of back-ups, I have another question for you: Automatic backup on quitting KMM seems to have disappeared - v4.x used to create a rotating series of about 8 file backups automatically, each time you quit, adding ".1~", ".2~" etc to the data filename. It doesn't seem to be happening any more with v5.1, and I can't find anything in Settings to turn it on, or any mention in the support forum. The documentation online points to the File/Backup,,, option, which seems to work, but it's a manual process - can v5 no longer do something as essential as an automatic backup routine? Am I going to have to create a silly script to copy / rename data files to reproduce what v4.x used to do for me automatically?
Regards John |
![]() KDE Developer ![]()
|
What? (Sorry for being surprised). This option is still there (unless it is again not compiled for Windows). I use it all the time (on Linux though).
I just fired up KMyMoney 5.1.0-4763930b6 on a Windows box which has it right there in Settings/Configure KMyMoney/General/Global/Autosave options. Number of backups to keep is set to 10 here. Works like a charme.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Profuse apologies, ipwizard ! Sorry to have startled you and slandered KMM. I didn't spot it - my bad. The online documentation under Section 4: "Backing up", doesn't mention it - it wasn't until i scrolled right to Settings towards the end that I found it.
Suggestion: Perhaps add a note to the documentation: "See also Section 20, Settings/General/Global/Autosave, for automatic backups." or some such wording. That might help other idiots like me to find it. Apologies again... Incidentally, I've taken on board Stephen's suggestion and created a script to use Veracrypt to mount an encrypted container file as a drive, then fire up KMM and my data file, finally dismounting when KMM quits. Long-winded, but at least I can stay with the latest version of KMM going forward.... Regards John |
![]() KDE Developer ![]()
|
No problem, we all get lost now and then in the wilderness of documentation and features. The forum here is to help out of the jungle.
![]()
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Hi,
my issue refers to the subject in this thread. are there any windows binarys with version newer then 5.0.6 including aqbanking available? I know that preview builds from stable and master branches are available, but after installing I noticed that the aqbanking interface is not included in the installation. Can anyone help me in that case? Best regards Christian |
![]() KDE Developer ![]()
|
You may try to take a look at another site of snapshots.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Thanks a lot!
I've sucessfully installed the newest version (64-Bit) and everything seems to work fine. Except for the fact that all surface symobls are not showing up. Is this a known issue? Best regards Christian |
![]() KDE Developer ![]()
|
This may have been fixed in the meantime. These snapshots don't get build daily but only manually from time to time. As it looks, we might have found the problem for the failing windows builds and fixed it. We'll see after the next run.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
Hi, reading a recent post concerning Veracrypt I found that someone there mentioned this thread and said, snipped, "...But GPG did not work with KMyMoney 5.06 on Windows and am unsure about the more recent KMyMoney versions.".
I decided to try and launched version 5.1 on Windows (I'm a MacOS user), although a gpg-agent was running at the time the option to use GPG was still greyed in settings. The agent works and responds to tests and software like kleopatra as it was part of gpg4win v315 installation. I also noted that the About section doesn't include Compiled with libraries mentioned. So my question: is this an issue with KMymoney and it's still in the works or I'm doing something wrong apart from running gpg software before launching kmymoney. TIA |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]