Expense and Income Over Time Report problem

Davide Imbeni davide.imbeni at gmail.com
Thu Jan 17 03:13:20 EST 2008


Hi,

I'm running Gnucash 2.2.99 (svn r16866M) on opensuse 10.3, x86_64
I found a recent problem with some reports, not present in svn versions
until beginning of January (can't track back exactly when the problem
started to appear).

I have a number of reports (e.g. expense over time) that should cover the
period from "start of previous year" to "end of current year". Those are
broken (I get an error message in the report tab, something like "there was
an error computing the report", what I see is the Italian translation). The
surprising thing to me is that if I change the start date in the report
options to "start of current year", everything works fine again!

This one example entry in the books directory:
...
[Page 2]
PageType=GncPluginPageReport
PageName=Uscite Anno
SchemeOptions=(let ((options (gnc:report-template-new-options/report-guid
"b1f15b2052c149df93e698fe85a81ea6" "Expense Over Time"))) (let ((option
(gnc:lookup-option options "General" "To"))) ((lambda (option) (if option
((gnc:option-setter option) '(relative . end-cal-year)))) option)) (let
((option (gnc:lookup-option options "General" "Report name"))) ((lambda
(option) (if option ((gnc:option-setter option) "Uscite Anno"))) option))
(let ((option (gnc:lookup-option options "General" "From"))) ((lambda
(option) (if option ((gnc:option-setter option) '(relative .
start-prev-year)))) option)) (let ((option (gnc:lookup-option options
"General" "Price Source"))) ((lambda (option) (if option ((gnc:option-setter
option) 'pricedb-nearest))) option)) (let ((option (gnc:lookup-option
options "Display" "Plot Width"))) ((lambda (option) (if option
((gnc:option-setter option) 1100.0))) option)) (let ((option
(gnc:lookup-option options "Display" "Plot Height"))) ((lambda (option) (if
option ((gnc:option-setter option) 800.0))) option)) (let ((option
(gnc:lookup-option options "Display" "Maximum Bars"))) ((lambda (option) (if
option ((gnc:option-setter option) 10.0))) option))
(gnc:restore-report-by-guid 25 "b1f15b2052c149df93e698fe85a81ea6" "Expense
Over Time" options))
...

This happens often, but not always. I have other Expense Over Time reports
(with fewer filtered acounts) that still work fine. Sounds to me like some
kind of memory problem, but it only happens to Expense and Income Over
Time...

Any clues, suggestions?


Thanks

Davide


More information about the gnucash-devel mailing list