Summary: | Kmymoney crashes during budget report displaying | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Fabio Puddu <fpuddu> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ubuntu |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | kmy file reproducing the bug |
Description
Fabio Puddu
2010-10-24 20:15:11 UTC
Please run a consistency check of your file. That's an option on the Tools menu. The consistency check reports "Finished: data is consistent" Can you attach the anonymous file version to reproduce this? It really speeds up fixing cases like this if we don't need to waste time trying to create the setup to reproduce it. Thanks! We're still waiting for a demo file. I was also unable to reproduce this problem. There must be something special you are doing that we don't. Analysis of the BT: the problem is, that there is a denominator of 0 somewhere in the data which triggers getLcd to be invoked. This fails, because it divides by zero in that case. Either provide a file or check if there is the text "/0" somewhere in a shares or value attribute in your file. Until then, I set the status to wait for info. Created attachment 54813 [details]
kmy file reproducing the bug
Hi guys,
sorry for not having replied more rapidly.
Here is an anonymous file which on my machine reproduces the bug.
You have to go to budget, check "include subacccounts" on expense:"category 1", save the budget, save the file, go to reports, select "Budgeting", "Budgeting vs Actual this year (YTM)" and.... crash. On reopening it seems like the file was never saved, as the "include subaccounts" is not checked.
Hope this will be useful,
fabio
SVN commit 1208388 by tbaumgart: Don't allow to select budgets if they are included by a superior account. We still need to add logic to support multiple currencies. I left a TODO mark in the code. BUG: 255135 M +80 -3 kbudgetview.cpp M +3 -0 kbudgetview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1208388 SVN commit 1208404 by tbaumgart: Don't allow to select budgets if they are included by a superior account. We still need to add logic to support multiple currencies. I left a TODO mark in the code. Backported to stable branch BUG: 255135 M +80 -3 kbudgetview.cpp M +3 -0 kbudgetview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1208404 *** Bug 269637 has been marked as a duplicate of this bug. *** |