Report error,An error occurred while running the report.
James McCarthy
james.mccarthy at bedmas.com
Thu Aug 30 12:30:53 EDT 2007
I have just installed from source gnucash 2.2.1.
This is my machine.
Linux computer 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 21:50:50 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
Whenever I try to run the fancy-invoice.scm I get:
In /usr/local/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/local/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/local/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 * e3f5c0>]
In /usr/local/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 * e3f5c0>]
/usr/local/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm:158:19:
In procedure car in expression (car item):
/usr/local/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm:158:19:
Wrong type (expecting pair): #<swig-pointer GncAccountValue * e3f5c0>
I found a similar error in the mail list log but it says that it should
be fixed, otherwise I haven't been able to find anything. Any and all
help would be appreciated.
James McCarthy
More information about the gnucash-user
mailing list