Created attachment 116810 [details] Error message SUMMARY Not able to add new investment STEPS TO REPRODUCE 1. Added new investment under Investments 2. Completed the data entry 3. Get an error report on completion as per attachment 4. Tried to add new account under Accounts 5. Completed data entry 6. Kmymoney crashes while finishing OBSERVED RESULT Not able to add any new investment EXPECTED RESULT The investment should be created without an error SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux Mint 19 (available in About System) ADDITIONAL INFORMATION
Thanks for reporting this problem. I have an almost identical result, giving an error message "Unable to create all objects for the investment" with no further detail, except that the application does not crash Using Kmymoney 5.0 KDE Plasma version 5.12.7 KDE Frameworks 5.44.0 Qt 5.9.5 (built against 5.9.5) The xcb windowing system Kubuntu 18.04.1 LTS Kubuntu
Ravi - do you get the same error if you use the xml storage instead of the database? Which database are you using? Also, please click the "Details>>" button and attache or copy/paste the extra information. Tony - are you also using a database rather then XML storage? (Lets work on the error adding an investment here, and save the crash on adding an account for either after the first is solved or maybe for a separate bug, in case they are not really related.)
Created attachment 117432 [details] attachment-14277-0.html It may not be the same problem but I was getting the same error message when I first tried investments. I found I had to reselect the investment account in the "Select Account" dropdown in the investment window, ie: even though it was shown as the default selected when the investment window opens I had to click on the account again to select it for it to work. Also the error dialog is confusing, if you click details it shows no new information until you resize the window. With the select problem I was getting: Stock account cannot be parent account caugt in /build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp:1059 Hope this helps. -Mark On Sun, Jan 13, 2019 at 11:05 AM Jack <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=401927 > > --- Comment #2 from Jack <ostroffjh@users.sourceforge.net> --- > Ravi - do you get the same error if you use the xml storage instead of the > database? Which database are you using? Also, please click the > "Details>>" > button and attache or copy/paste the extra information. > > Tony - are you also using a database rather then XML storage? > > (Lets work on the error adding an investment here, and save the crash on > adding > an account for either after the first is solved or maybe for a separate > bug, in > case they are not really related.) > > -- > You are receiving this mail because: > You are the assignee for the bug.
It's occurring using the xml back end Tony
(In reply to Mark Thomas from comment #3) > Created attachment 117432 [details] > attachment-14277-0.html > > It may not be the same problem but I was getting the same error message > when I first tried investments. > > I found I had to reselect the investment account in the "Select Account" > dropdown in the investment window, ie: even though it was shown as the > default selected when the investment window opens I had to click on the > account again to select it for it to work. > > Also the error dialog is confusing, if you click details it shows no new > information until you resize the window. > > With the select problem I was getting: > > Stock account cannot be parent account caugt in > /build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp:1059 > > > > Hope this helps. > -Mark > > On Sun, Jan 13, 2019 at 11:05 AM Jack <bugzilla_noreply@kde.org> wrote: > > > https://bugs.kde.org/show_bug.cgi?id=401927 > > > > --- Comment #2 from Jack <ostroffjh@users.sourceforge.net> --- > > Ravi - do you get the same error if you use the xml storage instead of the > > database? Which database are you using? Also, please click the > > "Details>>" > > button and attache or copy/paste the extra information. > > > > Tony - are you also using a database rather then XML storage? > > > > (Lets work on the error adding an investment here, and save the crash on > > adding > > an account for either after the first is solved or maybe for a separate > > bug, in > > case they are not really related.) > > > > -- > > You are receiving this mail because: > > You are the assignee for the bug. Thanks. I am using xml storage. Error message same as Stock account cannot be parent account caugt in /build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp:1059. However, temporarily solved the issue as mentioned below, as per the suggestion given by a user: Open Ledger Select account Add as new ledger entry. If new, kmymoney asks for confirmation and on confirming creates the new sub account. However, I am unable to edit the entry thus created.
Could someone of the reporters please check if this is still present in current KMyMoney 5.0.4 using the AppImage version? See https://kmymoney.org/appimage.php for details how to obtain and run it. Many thanks in advance.
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!
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!