Report error,An error occurred while running the report.

Derek Atkins warlord at MIT.EDU
Thu Aug 30 12:41:39 EDT 2007


I just tried this using svn trunk (which is 2.2.1+) and I cannot reproduce
this crash with the fancy invoice report.  Do you perhaps have multiple
versions of gnucash installed?  Maybe it cross-polinated and pulled in
an older version of some scheme file?

-derek

Quoting James McCarthy <james.mccarthy at bedmas.com>:

> 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
> _______________________________________________
> 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