Receivable Aging Report Bug
Chris Shoemaker
c.shoemaker at cox.net
Mon May 29 10:35:46 EDT 2006
On Mon, May 29, 2006 at 04:30:54PM +0300, Georgi Mirchev wrote:
> Hi,
>
> It seems that there is a bug with the Receivable Aging report. I can see
> that the report cannot handle multicurrency transactions, but what is
> worse is that gnucash doesn't print the rest of the report, greys all
> menu items so nothing can be done, besides closing gnucash application.
This is fixed in soon-to-be-released 1.9.7
> It seems that the sprintf() bails out.
> This is with Gnucash 1.9.6. The dump follows - see the last line for the
> actual error.
>
> Regards,
> Georgi
>
> In unknown file:
> ?: 18 [#<procedure #f ()>]
> In /usr/local/devel//share/gnucash/scm/report.scm:
> ...
> 442: 19 (set! html (gnc:report-render-html report #t))
> 442: 20* [gnc:report-render-html # #t]
> 407: 21 (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext
> report) ...)
> 415: 22 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
> 418: 23* (set! doc (if template (let* # # # ...) #f))
> 418: 24* (if template (let* # # # ...) #f)
> 419: 25 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc
> stylesheet) ...)
> 421: 26* [receivables-renderer #]
> In unknown file:
> ?: 27 (letrec (#) (let # # #))
> In /usr/local/devel//share/gnucash/guile-modules/gnucash/report/aging.scm:
> ...
> 518: 28 (let* (# # # ...) (gnc:html-document-set-title! document
> report-title) ...)
> 561: 29* (if account (begin (setup-query query account ...) (let # #
> ...)) ...)
> 562: 30 (begin (setup-query query account ...) (let (#) (set!
> work-to-do #) ...))
> 565: 31 (let ((splits #)) (set! work-to-do (length splits)) ...)
> 571: 32* [for-each #<procedure #f (split)> (# # # # ...)]
> In unknown file:
> ?: 33* [#<procedure #f (split)> #<gw:wcp <gnc:Split*> 0x87af700>]
> In /usr/local/devel//share/gnucash/guile-modules/gnucash/report/aging.scm:
> 574: 34* [update-company-hash #(() () () ...) #<gw:wcp <gnc:Split*>
> 0x87af700> ...]
> In unknown file:
> ?: 35 (letrec ((do-update #)) (let* (# # #) (if # #)))
> In /usr/local/devel//share/gnucash/guile-modules/gnucash/report/aging.scm:
> ...
> 205: 36 [cons #f ...
> 205: 37* (sprintf #)
> /usr/local/devel//share/gnucash/guile-modules/gnucash/report/aging.scm:205:29:
> In expression (sprintf (_ "Transactions relating to company %d contain
> more than one currency. This rep
> ort is not designed to cope with this possibility.")):
> /usr/local/devel//share/gnucash/guile-modules/gnucash/report/aging.scm:205:29:
> Wrong number of arguments to #<procedure sprintf (str format . args)>
>
And I'll try fix this, too.
-chris
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list