GNOME Bugzilla – Bug 449024
Display 'Individual Taxes' option causes report error
Last modified: 2018-06-29 21:39:31 UTC
Create Invoice with line item two levels of tax (GST + PST) Create Report with Invoice On 'Display Tab' select 'Individual Taxes' Click OK The report will display: Report Error An error occurred while running the report The following appears on the console: bkelly@van-l-02-bkelly ~ $ In /usr/local/non-portage/share/gnucash/scm/report.scm: 428: 29 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...) 430: 30* [reg-renderer #] In unknown file: ?: 31 (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...))) ... ?: 32 (letrec ((add-order #)) (if (not #) (begin # # ...)) ...) In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: 709: 33* (if (not #) (begin # # # ...) (gnc:html-document-add-object! document #)) 710: 34 (begin # # # ...) 739: 35* (let* ((book #)) (set! table (make-entry-table invoice # ...)) ...) 740: 36* (set! table (make-entry-table invoice (gnc:report-options report-obj) ...)) 740: 37* [make-entry-table # #<procedure dispatch #> #<procedure add-order #> ...] In unknown file: ?: 38 (letrec ((opt-val #)) (let (# # # # ...) (letrec # #))) In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: ... 538: 39 (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...) 548: 40* [do-rows-with-subtotals # # # ...] 453: 41 (if (null? entries) (begin (if # #) (if display-all-taxes # ...) ...) ...) 495: 42 (let* (# # # # ...) (if display-all-taxes # #) (value-collector # # #) ...) 507: 43* (if display-all-taxes (let* # #) (tax-collector # # #)) 508: 44 (let* ((tax-list #)) (update-account-hash acct-hash tax-list)) ... 138: 45 [for-each #<procedure #f (item)> (#)] In unknown file: ?: 46* [#<procedure #f (item)> #<swig-pointer GncAccountValue * 866d208>] In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: 140: 47* (let* ((acct #) (val #) (ref #)) (hash-set! hash acct (if ref # val))) 140: 48* [car #<swig-pointer GncAccountValue * 866d208>] /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm:140:19: In procedure car in expression (car item): /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm:140:19: Wrong type (expecting pair): #<swig-pointer GncAccountValue * 866d208> In /usr/local/non-portage/share/gnucash/scm/report.scm: 428: 26 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...) 430: 27* [reg-renderer #] In unknown file: ?: 28 (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...))) ... ?: 29 (letrec ((add-order #)) (if (not #) (begin # # ...)) ...) In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: 709: 30* (if (not #) (begin # # # ...) (gnc:html-document-add-object! document #)) 710: 31 (begin # # # ...) 739: 32* (let* ((book #)) (set! table (make-entry-table invoice # ...)) ...) 740: 33* (set! table (make-entry-table invoice (gnc:report-options report-obj) ...)) 740: 34* [make-entry-table # #<procedure dispatch #> #<procedure add-order #> ...] In unknown file: ?: 35 (letrec ((opt-val #)) (let (# # # # ...) (letrec # #))) In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: ... 538: 36 (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...) 548: 37* [do-rows-with-subtotals # # # ...] 453: 38 (if (null? entries) (begin (if # #) (if display-all-taxes # ...) ...) ...) 495: 39 (let* (# # # # ...) (if display-all-taxes # #) (value-collector # # #) ...) 507: 40* (if display-all-taxes (let* # #) (tax-collector # # #)) 508: 41 (let* ((tax-list #)) (update-account-hash acct-hash tax-list)) ... 138: 42 [for-each #<procedure #f (item)> (#)] In unknown file: ?: 43* [#<procedure #f (item)> #<swig-pointer GncAccountValue * 866d208>] In /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm: 140: 44* (let* ((acct #) (val #) (ref #)) (hash-set! hash acct (if ref # val))) 140: 45* [car #<swig-pointer GncAccountValue * 866d208>] /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm:140:19: In procedure car in expression (car item): /usr/local/non-portage/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm:140:19: Wrong type (expecting pair): #<swig-pointer GncAccountValue * 866d208>
This appears to have been fixed in Trunk, but I dont know when. Perhaps this is a duplicate of bug #483796, which was fixed in r16554 on 2007-10-06?
Yes, this definitely looks like a duplicate... *** This bug has been marked as a duplicate of 483796 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=449024. Please update any external references or bookmarks.