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 449024 - Display 'Individual Taxes' option causes report error
Display 'Individual Taxes' option causes report error
Status: VERIFIED DUPLICATE of bug 483796
Product: GnuCash
Classification: Other
Component: Business
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2007-06-19 07:04 UTC by Boyd Kelly
Modified: 2018-06-29 21:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Boyd Kelly 2007-06-19 07:04:35 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>
Comment 1 Derek Atkins 2007-11-25 19:16:40 UTC
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?
Comment 2 Derek Atkins 2007-11-25 19:17:50 UTC
Yes, this definitely looks like a duplicate...


*** This bug has been marked as a duplicate of 483796 ***
Comment 3 John Ralls 2018-06-29 21:39:31 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=449024. Please update any external references or bookmarks.