--------------CEB487A79098EE85F15B3FD4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Herbert Thoma wrote: > 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/ > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@lists.gnumatic.com > http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel I'll look into this a bit, but this version of tax.scm is quite old. A few days ago, I uploaded a newer version to the stable tree, which should be available in 1.4.9, when it is released quite soon. This version is called taxtxf.scm and includes export of .TXF files to tax programs, such as TaxCut and TurboTax. I have a version of this working for 1.5.2, but not the latest version, yet. I'm not sure when that will be ready. -- Gilligan | __o .oooO /| _ \<,_ ( ) /p|\ (_)/ (_) \ ( Oooo. / | \ ------------ \_) ( ) ======== ) / ======== gilligan@mpinet.net (_/ ~~~~~~~~~~~~~~~~ uschold@cs.ucf.edu --------------CEB487A79098EE85F15B3FD4 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> Herbert Thoma wrote:Hi!I'll look into this a bit, but this version of tax.scm is quite old. A few days ago, I uploaded a newer version to the stable tree, which should be available in 1.4.9, when it is released quite soon. This version is called taxtxf.scm and includes export of .TXF files to tax programs, such as TaxCut and TurboTax. I have a version of this working for 1.5.2, but not the latest version, yet. I'm not sure when that will be ready.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.12Herbert.
--
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/_______________________________________________
gnucash-devel mailing list
gnucash-devel@lists.gnumatic.com
http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel-- Gilligan | __o .oooO /| _ \<,_ ( ) /p|\ (_)/ (_) \ ( Oooo. / | \ ------------ \_) ( ) ======== ) / ======== gilligan@mpinet.net (_/ ~~~~~~~~~~~~~~~~ uschold@cs.ucf.edu--------------CEB487A79098EE85F15B3FD4--