Bug in master: Income statement report crash?

Christian Stimming christian at cstimming.de
Tue Feb 17 16:02:53 EST 2015


Just a plain ol' bugreport:

Running the income statement report in current master (d4e5bdc3) does not 
bring up the report, but instead the scheme error "Wrong number of arguments 
to xaccQueryAddDescriptionMatch", trace below. Has anyone observed this 
before? Thanks for any pointer.

Regards,

Christian


727: 18* (set! doc (if template (let* (# # # ...) (if # # ...) ...) ...))
 727: 19* (if template (let* (# # # ...) (if # # ...) ...) ...)
 728: 20  (let* (# # # #) (if # # #) (gnc:report-set-ctext! report html) ...)
 730: 21* [profit-and-loss-renderer #]
In /home/cs/usr/share/gnucash/scm/gnucash/report/standard-reports/income-
statement.scm:
 729: 22  [income-statement-renderer-internal # "Profit & Loss"]
In unknown file:
    ...
   ?: 23  (letrec (# #) (gnc:html-document-set-title! doc #) (if # # #) ...)
In /home/cs/usr/share/gnucash/scm/gnucash/report/standard-reports/income-
statement.scm:
 439: 24* (if (null? accounts) (gnc:html-document-add-object! doc #) (let* # 
#))
 451: 25  (let* (# # # # ...) (letrec # # # ...))
In unknown file:
   ?: 26  (letrec (#) (set! revenue-closing #) (set! expense-closing #) ...)
In /home/cs/usr/share/gnucash/scm/gnucash/report/standard-reports/income-
statement.scm:
 517: 27* (set! revenue-closing #)
 518: 28* [gnc:account-get-trans-type-balance-interval-with-closing # # # ...]
In /home/cs/usr/share/gnucash/scm/report-utilities.scm:
 747: 29  (let* (#) (map # #) total)
 748: 30* [map #<procedure #f (split)> ...
 756: 31*  [gnc:account-get-trans-type-splits-interval (# # # ...) (# # # ...) 
...]
 902: 32   (if (null? account-list) (quote ()) ...)
 906: 33   (let* (# # # ...) (qof-query-set-book query #) ...)
 924: 34*  (if (or matchstr closing) (begin (set! query2 #) (if matchstr #) 
...))
 925: 35   (begin (set! query2 #) (if matchstr #) (if closing #) ...)
 927: 36*  (if matchstr (xaccQueryAddDescriptionMatch query2 matchstr ...))
 927: 37   [xaccQueryAddDescriptionMatch # "Abschlussbuchungen" #f ...]
/home/cs/usr/share/gnucash/scm/report-utilities.scm:927:25: In procedure 
xaccQueryAddDescriptionMatch in expression (xaccQueryAddDescriptionMatch 
query2 matchstr ...):
/home/cs/usr/share/gnucash/scm/report-utilities.scm:927:25: Wrong number of 
arguments to xaccQueryAddDescriptionMatch



More information about the gnucash-devel mailing list