After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 483796 - Fancy Invoice - Report Error
Fancy Invoice - Report Error
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.2.x
Other All
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
: 449024 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-05 16:19 UTC by James McCarthy
Modified: 2018-06-29 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnucash file that has an invoice that causes a report error. (4.23 KB, application/octet-stream)
2007-10-05 16:26 UTC, James McCarthy
Details

Description James McCarthy 2007-10-05 16:19:26 UTC
Error when running report with the Individual Taxes is set on.
Comment 1 James McCarthy 2007-10-05 16:26:04 UTC
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.
Comment 2 James McCarthy 2007-10-05 16:26:53 UTC
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>

Comment 3 Andreas Köhler 2007-10-06 23:06:52 UTC
Should be fixed by r16554 for GnuCash 2.2.2.
Thank you a lot for this perfect bug report!
Comment 4 Derek Atkins 2007-11-25 19:17:50 UTC
*** Bug 449024 has been marked as a duplicate of this bug. ***
Comment 5 Jan Christel 2007-12-29 15:37:37 UTC
Upgrading to GnuCash 2.2.2 fixes this bug.
System: Ubuntu 7.10 32bit
Comment 6 John Ralls 2018-06-29 21:51:16 UTC
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.