GNOME Bugzilla – Bug 483796
Fancy Invoice - Report Error
Last modified: 2018-06-29 21:51:16 UTC
Error when running report with the Individual Taxes is set on.
Created attachment 96713 [details] gnucash file that has an invoice that causes a report error. This is a test file. Just open and see it crash. There should be a invoice number 1.
gnc.bin-Message: main: binreloc relocation support was disabled at configure time. Found Finance::Quote version 1.13 In /usr/share/gnucash/scm/report.scm: 437: 15* (if template (let* # # # ...) #f) 438: 16 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...) 440: 17* [reg-renderer #] In unknown file: ?: 18 (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...))) ... ?: 19 (letrec ((add-order #)) (if (not #) (begin # # ...)) ...) In /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm: 786: 20* (if (not (null? invoice)) (let* (# # # ...) (set! table #) ...) ...) 787: 21 (let* (# # # ...) (set! table #) ...) 791: 22* (set! table (make-entry-table invoice (gnc:report-options report-obj) ...)) 791: 23* [make-entry-table # #<procedure dispatch #> #<procedure add-order #> ...] In unknown file: ?: 24 (letrec ((opt-val #)) (let (# # # # ...) (letrec # #))) In /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm: ... 568: 25 (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...) 578: 26* [do-rows-with-subtotals # # # ...] 470: 27 (if (null? entries) (begin # # # ...) (let* # # # ...)) 523: 28 (let* (# # # # ...) (if display-all-taxes # #) (value-collector # # #) ...) 535: 29* (if display-all-taxes (let* # #) (tax-collector # # #)) 536: 30 (let* ((tax-list #)) (update-account-hash acct-hash tax-list)) ... 156: 31 [for-each #<procedure #f (item)> (#)] In unknown file: ?: 32* [#<procedure #f (item)> #<swig-pointer GncAccountValue * ad75a0>] In /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm: 158: 33* (let* ((acct #) (val #) (ref #)) (hash-set! hash acct (if ref # val))) 158: 34* [car #<swig-pointer GncAccountValue * ad75a0>] /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm:158:19: In procedure car in expression (car item): /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm:158:19: Wrong type (expecting pair): #<swig-pointer GncAccountValue * ad75a0>
Should be fixed by r16554 for GnuCash 2.2.2. Thank you a lot for this perfect bug report!
*** Bug 449024 has been marked as a duplicate of this bug. ***
Upgrading to GnuCash 2.2.2 fixes this bug. System: Ubuntu 7.10 32bit
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=483796. Please update any external references or bookmarks.