Robert, I looked into this, but don't see anything obviously wrong. More even, I can't reproduce the error. The chart works just fine for me...
Do you have a test file I can play with to try and reproduce it here ? Geert On Sunday 06 November 2016 14:22:50 Robert Fewell wrote: > 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-piechar > ts.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-piechar > ts.scm: 502: 21* (count-accounts 1 topl-accounts) > /usr/share/gnucash/scm/gnucash/report/standard-reports/account-piechar > ts.scm:502:26: In expression (count-accounts 1 topl-accounts): > /usr/share/gnucash/scm/gnucash/report/standard-reports/account-piechar > ts.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 > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel