Error when running payable aging report

Derek Atkins warlord at MIT.EDU
Tue Oct 2 09:28:50 EDT 2012


Hi,

Kash <kash at warmplanetbikes.com> writes:

> Derek-
> Thanks. Here's a copy of the trace file.

[snip]
>  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
>  113: 38* [in-interval (1536562800 . 0) ...
>  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199
> . 0) ...) 5]
> L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33:
> In procedure vector-ref in expression (vector-ref bucket-intervals
> current-bucket):
> L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33:
> Value out of range: 5
[snip]

This looks like a bug in the report.

Maybe someone made a change to the Receivables side without changing the
Payables?  There should only be 4 buckets: 0-30, 31-60, 61-90, 90+
So I don't know why it's looking for bucket 5.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list