Registered Member
|
When I try to open my existing kmymoney file, I get the error "Could not read your data source. Please check the KMyMoney settings that the necessary plugin is enabled." Googling, this seems to be something that happens to someone every few years, but there are no solutions to be found. For me, this first occured on a fresh install of Debian 11 with kmymoney v5.1.1 installed from the Debian repository. I have also tried KMyMoney-5.1.2-c0545bd-x86_64.AppImage and KMyMoney-5.1.80-88befaa-x86_64.AppImage. The problem occurs with them as well. I don't remember if the data file is in the XML or sqlite format. It is encrypted, however. From what I can see, the plugins are all loading OK. (see below) Anyone have any ideas?
I just notices that one of the plugins says "Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_qif.so" Validity false" Could this be it? user@debian:~$ kmymoney WebConnect: Try to connect to WebConnect server WebConnect: Connect to server failed WebConnect: Running in server mode System icon theme as reported by QT: "breeze" Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/icalendarexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_checkprinting.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_csvimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_forecastview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_icalendarexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_qif.so" Validity false Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_reportsview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_xmlstorage.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/konlinetasks_sepa.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/ofximporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/sqlstorage.so" Validity true Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/xmlstorage.so" Validity true Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/budgetview.so" Plugins: budgetview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/checkprinting.so" Plugins: checkprinting loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvexporter.so" Plugins: csvexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/csvimporter.so" Plugins: csvimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/forecastview.so" Plugins: forecastview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/gncimporter.so" Plugins: gncimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/icalendarexporter.so" Plugins: icalendarexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kbanking.so" "Plugins: kbanking loaded, build with (5.4.1stable-0/6.2.5.0stable), run with (5.6.0.0/6.2.10.0)" 3:2021/09/25 14-01-03:(null)(14919):banking_update.c: 610: No AqBanking config folder found at [/home/user/.aqbanking/settings6/users] (-1) 3:2021/09/25 14-01-03:(null)(14919):banking_update.c: 610: No AqBanking config folder found at [/home/user/.aqbanking/settings/users] (-1) 3:2021/09/25 14-01-03:(null)(14919):banking_update.c: 411: There is no old settings folder, need initial setup Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/ofximporter.so" Plugins: ofximporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/onlinejoboutboxview.so" Plugins: onlinejoboutboxview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifexporter.so" Plugins: qifexporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/qifimporter.so" Plugins: qifimporter loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reconciliationreport.so" Plugins: reconciliation report loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/reportsview.so" Plugins: reportsview loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/sqlstorage.so" Plugins: sqlstorage loaded Loading "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/xmlstorage.so" Plugins: xmlstorage loaded reading file start parsing file startDocument reading securities endDocument Cost center model created with items 0 Payees model created with items 0 |
Registered Member
|
I'd advise starting by figuring out what type of data file you actually have. What is the file name? What does the file command say about it? If you know it's encrypted, make a copy and then see if you can decrypt it manually. That last will work if it's a regular (xml or kmy) file. I've forgotten how sqlcipher encrypts, so a manual decryption may not work.
|
Registered Member
|
New approach - start by running "kmymoney -n" so it doesn't try to open anything. Then try File/Open... and select your data file. If it's a regular KMyMoney data file, it should either open it or prompt for a password if it's encrypted. If it's an sqlite file (encrypted or not) it should fail. Next, try File/Open Database... and select sqlcipher. If it's really an encrypted sqlite file, that should work (assuming you have the correct password).
What I find very odd is that I created a new data file and saved it as a sqlcipher file, and KMM will open it again, but the file command just calls it data. EDIT: sqlcipher encrypts the entire file, so there is never any identifiable header. It looks like it will always simply appear as (random) data. The only way to confirm is to try to open it. |
Registered Member
|
[quote="ostroffjh"]New approach - start by running "kmymoney -n" so it doesn't try to open anything. Then try File/Open... and select your data file."
Tried this. It still gives me the original error. |
Registered Member
|
OK, what about trying to open it as a database?
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]