Error when displaying individual taxes

Derek Atkins warlord at MIT.EDU
Mon Mar 3 23:02:47 EST 2008


You must be runing 2.2.1.  Right?
Try upgrading.  2.2.4 was just released today.
This was fixed in, IIRC, 2.2.3

-derek

Quoting Laurent Duperval <lduperval at yahoo.com>:

> Hi,
>
> I am trying to print an invoice with individual taxes, but when I do, I
> get this error. I'm not sure what is happening since it has worked
> flawlessly in the past. Any idea what can cause this?
>
> L
>
> In /usr/share/gnucash/scm/report.scm:
> 437: 27* (if template (let* # # # ...) #f)
> 438: 28  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
> stylesheet) ...)
> 440: 29* [reg-renderer #]
> In unknown file:
>   ?: 30  (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...)))
>    ...
>   ?: 31  (letrec ((add-order #)) (if (not #) (begin # # ...)) ...)
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
> 655: 32* (if (not (null? invoice)) (let (#) (set! table #) ...) ...)
> 656: 33  (let ((book #)) (set! table (make-entry-table invoice # ...)) ...)
> 657: 34* (set! table (make-entry-table invoice (gnc:report-options 
> report-obj) ...))
> 657: 35* [make-entry-table # #<procedure dispatch #> #<procedure 
> add-order #> ...]
> In unknown file:
>   ?: 36  (letrec ((opt-val #)) (let (# # # # ...) (letrec # #)))
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
>    ...
> 502: 37  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
> 512: 38* [do-rows-with-subtotals # # # ...]
> 419: 39  (if (null? entries) (begin # # # ...) (let* # # # ...))
> 459: 40  (let* (# # # # ...) (if display-all-taxes # #) 
> (value-collector # # #) ...)
> 471: 41* (if display-all-taxes (let # #) (tax-collector # # #))
> 472: 42  (let ((tax-list #)) (update-account-hash acct-hash tax-list))
> In unknown file:
>    ...
>   ?: 43  (begin (f (car l)) (lp (cdr l)))
>   ?: 44* [#<procedure #f (item)> #<swig-pointer GncAccountValue * 112bdd0>]
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
> 134: 45  (let* ((acct #) (val #) (ref #)) (hash-set! hash acct (if 
> ref # val)))
> 134: 46* [car #<swig-pointer GncAccountValue * 112bdd0>]
> /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:134:19: 
> In procedure car in expression (car item):
> /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:134:19: 
> Wrong type argument in position 1: #<swig-pointer GncAccountValue * 
> 112bdd0>
> In /usr/share/gnucash/scm/report.scm:
> 437: 24* (if template (let* # # # ...) #f)
> 438: 25  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
> stylesheet) ...)
> 440: 26* [reg-renderer #]
> In unknown file:
>   ?: 27  (letrec ((opt-val #)) (let* (# # # # ...) (letrec # # # ...)))
>    ...
>   ?: 28  (letrec ((add-order #)) (if (not #) (begin # # ...)) ...)
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
> 655: 29* (if (not (null? invoice)) (let (#) (set! table #) ...) ...)
> 656: 30  (let ((book #)) (set! table (make-entry-table invoice # ...)) ...)
> 657: 31* (set! table (make-entry-table invoice (gnc:report-options 
> report-obj) ...))
> 657: 32* [make-entry-table # #<procedure dispatch #> #<procedure 
> add-order #> ...]
> In unknown file:
>   ?: 33  (letrec ((opt-val #)) (let (# # # # ...) (letrec # #)))
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
>    ...
> 502: 34  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
> 512: 35* [do-rows-with-subtotals # # # ...]
> 419: 36  (if (null? entries) (begin # # # ...) (let* # # # ...))
> 459: 37  (let* (# # # # ...) (if display-all-taxes # #) 
> (value-collector # # #) ...)
> 471: 38* (if display-all-taxes (let # #) (tax-collector # # #))
> 472: 39  (let ((tax-list #)) (update-account-hash acct-hash tax-list))
> In unknown file:
>    ...
>   ?: 40  (begin (f (car l)) (lp (cdr l)))
>   ?: 41* [#<procedure #f (item)> #<swig-pointer GncAccountValue * 112bdd0>]
> In /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:
> 134: 42  (let* ((acct #) (val #) (ref #)) (hash-set! hash acct (if 
> ref # val)))
> 134: 43* [car #<swig-pointer GncAccountValue * 112bdd0>]
> /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:134:19: 
> In procedure car in expression (car item):
> /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm:134:19: 
> Wrong type argument in position 1: #<swig-pointer GncAccountValue * 
> 112bdd0>
>
>
>
>
> --
> Get free public speaking tips by registering at http://www.duperval.com
> Bring out the speaker in you!
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list