Odd.

I don't think it has to do with the account type, since I replicated the problem for both assets and liabilities accounts.

I don't believe my accounts have something in them that could generate this error. I've been able to create a brand new file with an account structure and just a few transactions in it that (on my machine) exhibit these errors. I attach that test file here. For me, this file generates errors when I run either the Asset Chart or the Liability Chart reports.

To reiterate, I am running Windows 10 with Gnucash 4.2 (nightly build from 2020-11-21). I predict that you will not see any errors on your Mac. I wonder if another Windows user experiences this problem with this file.

David

------------------------------------------------------------------------
*From:* Adrien Monteleone
*Sent:* Mon Dec 07 12:31:07 EST 2020
*To:* gnucash-u...@lists.gnucash.org
*Subject:* Re: [GNC] Error with Asset Chart report

I created several level-7 and level-8 asset accounts and put a
transaction in one at level-8.

I then tried both the Bar & Pie charts, both using '6' and 'All' options
and all executed properly without errors.

Perhaps something is amiss with one (or more) your accounts at that depth?

Maybe the type of asset account makes a difference. I created my tests
as standard type Asset. (not any of the special types like AR, Stock,
Fund, etc.)

Regards,
Adrien

On 12/7/20 11:23 AM, Adrien Monteleone wrote:

   That is quite interesting. As noted, I don't have any >6 level Asset
   (or Liability) accounts. But I do have level-7 Expense accounts. I
   tried the Expense Chart & Expense Pie Charts, and both execute
   without errors for both All and '6' options. (and yes, those level-7
   accounts have many transactions in them) Now, this could still be an
   OS specific thing, but if those two work for you, perhaps Chris
   could merge the code from them to the other offending
   charts/reports. I see he made a change to not report deeper than '6'
   but I haven't received clarification if that is just for the option
   '6' or for 'All' as well. (which would render reporting/charting
   deeper than level-6 impossible.) I'll see about creating some dummy
level-7 asset accounts and try to trigger the error.

------------------------------------------------------------------------

gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user  
<https://lists.gnucash.org/mailman/listinfo/gnucash-user>
If you are using Nabble or Gmane, please 
seehttps://wiki.gnucash.org/wiki/Mailing_Lists  
<https://wiki.gnucash.org/wiki/Mailing_Lists>  for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Attachment: Level Best.gnucash
Description: application/gnucash

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to