This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Manually editing the safe file XML?

Tags: None
(comma "," separated)
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS

Manually editing the safe file XML?

Tue Oct 27, 2020 11:32 pm
I've been using KMyMoney for more than a decade now on Windows, and of the three accounts I regularly update online (American Express credit card, Chase credit card, Charles Schwab Bank), apparently only the Chase Visa still allows automatic OFX downloads, and now I'm having problems with it.

I recently had to have the card reissued with a new number due to fraud. I think this broke the download, since there was an incorrect card number in the request KMM sent out. I'm not able to just change the card number directly in KMM as far as I can tell, it looks like the only way to do that is to re-map the account. Whenever I try to do that, I get an error saying there are no suitable accounts at that institution.

The only way I could see to get around this is to directly edit my KMM save file with a search and replace of the old card number with the new. I can save it as an XML file and expand it with 7-zip, but I don't know how to re-compress it so KMM recognizes it. Does anyone know how to do that?


wolfemi1, proud to be a member of KDE forums since 2008-Dec.
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS
OK, I'm attacking this from another angle. When setting up the account with the libofx "Online Banking Account Setup" wizard, I can put in all the details either automatically or manually for Chase Bank, but universally I get the error message "No suitable accounts were found at this bank". I turned on logging (ofxlog.txt), and I never see any message go out that would be querying Chase for accounts.

In the log file I do get the query and response for my wrong-account-number setup, and I do get some queries to www.ofxhome.com to retrieve the list of banks and the specific bank info, but after that there's nothing when trying to find an account.

Sorry, I realize this is pretty into-the-weeds and might not be strictly a KMM problem. I have tried multiple different builds of KMM on Windows, both 32- and 64-bit, both Mingw and MSVC builds from several different sources.


wolfemi1, proud to be a member of KDE forums since 2008-Dec.
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS
Thought I had replied to this, but apparently not. I fixed the problem after unzipping the KMM file, doing a global search and replace with the account number, and compressing it afterward using gzip. KMM still isn't able to send a request for a list of accounts from an institution as far as I can tell.


wolfemi1, proud to be a member of KDE forums since 2008-Dec.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
Just for the record: no need to compress the file manually. KMyMoney reads the uncompressed version of a .kmy file just as well and compresses the data during the next save operation.

I expect this thread goes along with bug entry 378164.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
User avatar
wolfemi1
Registered Member
Posts
58
Karma
0
OS
Thanks! Yes, that's the same issue.

I tried using the builds you pointed out here: https://kmymoney.org/snapshots.php

Sadly, they're giving me lots of problems. I can't actually get aqbanking to change anything in the menus; trying to create a user seems to work but does nothing, editing a user does nothing, and I think I would have to do either one of those to download a list of account numbers from a bank.

In addition, all the ones I tried (both 32- and 64-bit versions of the first three different versions, which were I think two 5.1 and one 5.0) have this issue, plus a complete lack of any icons, strange crashes and hanging processes, and my antivirus complaining and quarantining various parts, which may be related.

Is there a standalone Aqbanking plugin or similar anywhere?


wolfemi1, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]