Report account-piecharts.scm does not work

Robert Fewell 14ubobit at gmail.com
Sun Nov 6 09:22:50 EST 2016


Hi,

I was looking at this report as part of changing the plot size to use
percentage values instead of pixels but it does not work, this is before I
made any changes. It can be accessed from the "Asset Piechart" report.

The error I get is below and I have checked with my windows VM  built with
master that I get the same...

 756: 10  (begin (set! html #) (set! html #) (set! html #))
 757: 11* (set! html (gnc:report-render-html report #t))
 757: 12* [gnc:report-render-html # #t]
 716: 13  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext
report) ...)
 724: 14  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
 727: 15* (set! doc (if template (let* (# # # ...) (if # # ...) ...) ...))
 727: 16* (if template (let* (# # # ...) (if # # ...) ...) ...)
 728: 17  (let* (# # # #) (if # # #) (gnc:report-set-ctext! report html)
...)
 730: 18* [#<procedure #f #> #]
In
/usr/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm:
 645: 19  [piechart-renderer # "Assets" "5c7fd8a1fe9a4cd38884ff54214aa88a"
...]
In unknown file:
    ...
   ?: 20  (letrec (# # # # ...) (if # # #) (gnc:report-finished) ...)
In
/usr/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm:
 502: 21* (count-accounts 1 topl-accounts)
/usr/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm:502:26:
In expression (count-accounts 1 topl-accounts):
/usr/share/gnucash/scm/gnucash/report/standard-reports/account-piecharts.scm:502:26:
Variable used before given a value: count-accounts


Looking at git this file has not been changed for about a year but the
commit that has stopped it working is "Add piechart report grouping by
commodity."

I have poked at this for a day and have got no where so if any one can fix
it great.

Bob


More information about the gnucash-devel mailing list