Report account-piecharts.scm does not work

Geert Janssens geert.gnucash at kobaltwit.be
Mon Nov 7 12:39:12 EST 2016


On Monday 07 November 2016 14:07:57 Robert Fewell wrote:
> All,
> I have built a new windows gnucash version based on MASTER checked out
> just before Johns c++ backend stuff as that does not build and I
> still have the same error with the account-piecharts.scm run from the
> report "Asset Piechart" or "Expenses PieChart" as they both access
> the same file.
> 
> Tried a new file again but the same result.
> 
> Are you guy's sure you were using a MASTER version ?
> 
Yes, I'm on master.

Can you attach your test file for which your report fails ? If the bug is dependent on a certain 
combination of data, it may behave the same on my system. That would help me dig deeper.

Are you using the default report options or did you change anything ?

Regards,

Geert

> If so then I must be doing some thing wrong.
> 
> Bob
> 
> On 7 November 2016 at 03:31, David T. <sunfish62 at yahoo.com> wrote:
> > Robert,
> > 
> > I have a dashboard set up to run on startup, with the Assets,
> > Expenses, and Income reports included on it, so I run this every
> > day in 3 of its four incarnations without problem.
> > 
> >  I will note that count-accounts seems to be involved with the depth
> > 
> > setting. Is there some way that you’ve cleared it?
> > 
> > David
> > 
> > > On Nov 7, 2016, at 1:18 AM, Robert Fewell <14ubobit at gmail.com>
> > > wrote:
> > > 
> > > Thanks for looking, that is very strange as it fails every time.
> > > 
> > > If I copy the maint version of account-piecharts.scm over to my
> > > running master version it works and see a pie chart. Replace with
> > > the master version and it fails as above. Created a new file with
> > > two asset transactions in it and it still fails. Use the same
> > > file on my windows master version and it fails in the same way.
> > > 
> > > Does it work for any body else ?
> > > 
> > > Might try rebuilding the windows master version to the latest git.
> > > 
> > > Bob
> > > 
> > > On 6 November 2016 at 16:46, Geert Janssens
> > > <geert.gnucash at kobaltwit.be>> > 
> > > wrote:
> > >> 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-p
> > >>> iechar
> > >>> 
> > >>> ts.scm: 645: 19 [piechart-renderer # "Assets"
> > >>> 
> > >>> "5c7fd8a1fe9a4cd38884ff54214aa88a" ...]


More information about the gnucash-devel mailing list