Bug 423875 - Can not move file from 5.0.8 to 5.0.0 without problems
Summary: Can not move file from 5.0.8 to 5.0.0 without problems
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.8
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 16:38 UTC by mwi
Modified: 2020-08-05 04:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mwi 2020-07-04 16:38:04 UTC
SUMMARY


STEPS TO REPRODUCE
1. copy file created in 5.0.8 and opened in 5.0.0
2. new file opens but will not allow access to individual accounts
3.uncaught error "Node was not TRANSACTION in file/build/kmymoney-8tblzm/" 

OBSERVED RESULT
moving file from 5.0.0 to 5.0.8 with no problem

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jack 2020-07-04 16:48:54 UTC
Please clarify - are you tying to move from 5.0.0 to 5.0.8, or the other way around?  Title says one thing, Observed Result says the other.

You SHOULD be able to open a file saved by 5.0.0 with 5.0.8.  I would have to check all the release notes to see if there was any backwards incompatible change to prevent opening a file saved by 5.0.8 with 5.0.0, although I don't see any good reason to need to do so.

Separately, is that really the complete error message, or is there more?
Comment 2 mwi 2020-07-04 19:45:27 UTC
I have 2 different HD with different versions of Kmymoney. 5.0.8 on ubuntu 20.04 and 5.0.0 om ubuntn 18.04 for a backup. When I update 5.0.8 and transfer the file to 5.0.0, it opens the file with the correct information but when I try to go to an account I get the error message, when I check OK it closes down. It says to notify developers.When I update using 5.0.0 and transfer there is no problem
Comment 3 Jack 2020-07-04 20:20:53 UTC
Can you run from command line to see if there is any output that might help identify the actual problem.  

When you say 5.0.0 opens the file with the correct information, exactly what information do you mean?  Just that the account balances on the home page are correct?  Can you go to a payee or category?  Do you get the same error opening any account, or just some?
Comment 4 mwi 2020-07-05 14:11:26 UTC
MY MISTAKE  there was more to the error message :Node was not TRANSACTION in file/build/kmymoney-8tblzm/kmymoney-5.0.1/kmymoney/mymoneymoneytransaction.cpp line 53" 
The updated file in 5.0.8 that I put in 5.0.0 displays all updated assets and liabilities correctly. When I open any payee or category for details I get this error message. When I click on message the program closes.
I am not very familiar with how to use the command line for the output you asked for.
Comment 5 Jack 2020-07-05 14:17:18 UTC
OK, two things to try.  

First, open 5.0.8, and before you try to open any detailed view, select the menu Tools/Consistency Check.  Report what it says - either no problems, or copy/paste the error.

If there are no errors, you can open a terminal (konsole, xterm, ...) and just type "kmymoney" to launch.  That way, you can see what the program outputs.  Normally, it's all just information about what it's doing, but it can include some diagnostic information if something isn't right, as is the case here.
Comment 6 mwi 2020-07-05 16:11:54 UTC
The consistency check has found some issues in your data. Details are presented below. Those issues that could not be corrected automatically need to be solved by the user. I could not print the errors there are 112 entries and are the same in both 5.0.8 and were in 5.0.0. These are old stock entries with no start date.


print out from opening in terminal:
mwi@mwi-GA-78LMT-USB3-6-0:~$ kmymoney
qt5ct: using qt5ct plugin
WebConnect: Try to connect to WebConnect server
WebConnect: Connect to server failed
WebConnect: Running in server mode
qt5ct: D-Bus global menu: no
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/16/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/16@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/16/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/16@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/22/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/22@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/24/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/24@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/24/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/24@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/32/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/32@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/32/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/32@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/48/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/48@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/48/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/48@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/64/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/64@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/64/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/64@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/96/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/96@2x/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/128/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/128@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/256/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/256@2x/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Mint-Y/apps/symbolic/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Mint-Y/mimetypes/symbolic/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
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_csvimporter.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/kcm_forecastview.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/csvimporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/xmlstorage.so" Validity true
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/kcm_qif.so" Validity false
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/kbanking.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/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/qifexporter.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/checkprinting.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/kcm_reportsview.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/icalendarexporter.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/ofximporter.so" Validity true
Located plugin "/usr/lib/x86_64-linux-gnu/qt5/plugins/kmymoney/kcm_checkprinting.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.1.3stable-0/6.0.1.0stable), run with (5.1.3.0/6.0.1.0)"
3:2020/07/05 11-56-04:(null)(1709):banking_update.c:  610: No AqBanking config folder found at [/home/mwi/.aqbanking/settings6/users] (-1)
3:2020/07/05 11-56-04:(null)(1709):banking_update.c:  610: No AqBanking config folder found at [/home/mwi/.aqbanking/settings/users] (-1)
3:2020/07/05 11-56-04:(null)(1709):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
qt5ct: D-Bus system tray: yes
kf5.kdbusaddons: Can not find 'kdeinit5' executable at  "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" "/usr/bin, /usr/lib/qt5/bin"
Comment 7 Jack 2020-07-05 19:07:51 UTC
Errors about not having a price on or before the opening date of a stock is not related to your problem.  If those are the ONLY errors in the consistency report, it doesn't help with the problem.

The icon theme problems are not likely relevant, but could be reported to your distribution, or wherever you got the icon theme you are using.

The last error (Can not find 'kdeinit5' ....) doesn't seem relevant, but does suggest you might be missing a package or a package is misconfigured.  What distribution are you using?

Back to the error message, we may need to wait for input from a developer.  What I can tell is that between 5.0.1 and 5.0.8, the xml storage code was moved into a plugin, although I don't see any reason your file would be OK in the newer version and not the older one.

Can you opening the file in 5.0.1 and then try to "Save as" using a new name?
Comment 8 Thomas Baumgart 2020-07-06 06:55:14 UTC
Before more speculations enter the scene, I am trying to analyze the problem a bit. The weird thing: you can load the file without any problems but the error message you refer to only appears during loading of a file (the only occurrence in source code is in the method MyMoneyXmlContentHandler::readTransaction(). This is normally not called when opening an account or doing anything else *after* loading the file successfully.

Very strange.
Comment 9 mwi 2020-07-06 11:12:02 UTC
(In reply to Jack from comment #7)
> Errors about not having a price on or before the opening date of a stock is
> not related to your problem.  If those are the ONLY errors in the
> consistency report, it doesn't help with the problem.
> 
> The icon theme problems are not likely relevant, but could be reported to
> your distribution, or wherever you got the icon theme you are using.
> 
> The last error (Can not find 'kdeinit5' ....) doesn't seem relevant, but
> does suggest you might be missing a package or a package is misconfigured. 
> What distribution are you using?
> 
> Back to the error message, we may need to wait for input from a developer. 
> What I can tell is that between 5.0.1 and 5.0.8, the xml storage code was
> moved into a plugin, although I don't see any reason your file would be OK
> in the newer version and not the older one.
> 
> Can you opening the file in 5.0.1 and then try to "Save as" using a new name?

5.0.1 is running on Mint 19.3 (Ubuntu 18.04) and 5.8.0 is on Mint 20 (Ubuntu 20.04)
Comment 10 Bug Janitor Service 2020-07-21 04:33:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2020-08-05 04:33:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!