Tax report bug

Herbert Thoma tma@iis.fhg.de
Tue, 21 Nov 2000 22:31:47 +0100


Hi!

When I try to set the parameters of the tax report,
I get the following error:

Error: gnc_report_error_dialog: gnc_report_error_dialog: error running report.
Function: string-length, wrong-type-arg

/usr/local/share/gnucash/scm/report/tax.scm:235:32: In procedure string-length in expression (string-length notes):
/usr/local/share/gnucash/scm/report/tax.scm:235:32: Wrong type argument in position 1: #f
10* [alist-for-each #<procedure run-callback (id cbdata)> ((0 #f #f ...))]
11  [for-each #<procedure (pair)> ((0 #f #f #<procedure ()>))]
12* [#<procedure (pair)> (0 #f #f #<procedure ()>)]
13* [run-callback 0 (#f #f #<procedure ()>)]
14  (let ((section #) (name #) (callback #)) (if (not section) (callback) ...))
    ...
15  [gnc:option-invoke-callback # #]
16* [#<procedure ()>]
17* [gnc:run-report "Tax" #<procedure dispatch (key)>]
18  (letrec (# # #) (let # #))
    ...
19  (let* ((renderer #) (lines #) (output #)) output)
20* [#<procedure (options)> #<procedure dispatch (key)>]
21  [generate-tax "Taxable / Deductable" ...]
    ...
22  (let* (# # # # ...) (letrec # #))
23* (case tax-stat (# # #) (# # #) ...)
24* [key-status (#<pt-Account*:0x82523A8> #<pt-Account*:0x82508A0>) #t ...]
25  (let ((key-len #)) (map (lambda # #) accounts))
26  [map #<procedure (a)> (#<pt-Account*:0x82523A8> #<pt-Account*:0x82508A0>)]
27* [#<procedure (a)> #<pt-Account*:0x82523A8>]
28* (let* (# # #) (if # # #) (if kids #))
29* [string-length #f]


Error: gnc_run_report: Report output was not a string.


gnucash: latest CVS
guile: 1.3.4
g-wrap: 0.9.12

 Herbert.
-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma@iis.fhg.de
www: http://www.iis.fhg.de/