Errors in several of the business reports

Andreas Köhler andi5.py at gmx.net
Sun Mar 25 19:12:51 EDT 2007


Hi,

Nigel Titley schrieb:
> I'm getting errors in several of the business reports with SVN r15749. 
> This is on Ubuntu 6.10. The example below is of the customer report.
> 
> Any thoughts anyone?

yeah, that one was missed in the GWrap -> Swig transition and got fixed 
by r15754.  Thanks for the report!  I guess we need thorough testing of 
all reports before releasing 2.2.  What else? :-)

> Nigel

-- andi5


> /home/nigel/gnucash/myrialog:31: element gnc-v2: Schemas validity error 
> : Element 'gnc-v2': No matching global declaration available for the 
> validation root.
> /home/nigel/gnucash/myrialog:31: element gnc-v2: Schemas validity error 
> : Element 'gnc-v2': No matching global declaration available for the 
> validation root.
> /home/nigel/gnucash/myrialog:31: element gnc-v2: Schemas validity error 
> : Element 'gnc-v2': No matching global declaration available for the 
> validation root.
> In /opt/gnucash/share/gnucash/scm/report.scm:
>   427: 27* (if template (let* # # # ...) #f)
>   428: 28  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
> stylesheet) ...)
>   430: 29* [reg-renderer #]
> In unknown file:
>     ?: 30  (letrec ((opt-val #)) (let* (# # # ...) (cond # # ...) ...))
> In /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:
>   534: 31  (let* ((document #) (table #) (orders #) ...) (cond (# #) (# 
> #) ...) ...)
>   561: 32* (if (gncOwnerIsValid owner) (begin # # ...) ...)
>   562: 33  (begin # # # ...)
>   578: 34* (if (not #) (begin # #) (set! table #))
>   579: 35  (begin (set! table #) (gnc:html-table-set-style! table 
> "table" # ...))
>   580: 36* (set! table (make-txn-table (gnc:report-options report-obj) 
> query ...))
>   580: 37* [make-txn-table #<procedure dispatch #> # # ...]
>   276: 38  (let (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
>   293: 39* (let ((printed? #f) (odd-row? #t)) (for-each (lambda # #) txns))
>   295: 40  [for-each #<procedure #f (txn)> (# # #)]
> In unknown file:
>      ...
>     ?: 41  (begin (f (car l)) (lp (cdr l)))
>     ?: 42* [#<procedure #f (txn)> #<swig-pointer Transaction * b798b98>]
> In /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:
>   297: 43  (let ((type #)) (if (or # #) (let # # # ...)))
>   298: 44  (if (or # #) (let # # # ...))
>   299: 45* (or # #)
>   299: 46* [equal? #\I ...
> /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:299:17: 
> While evaluating arguments to equal? in expression (equal? type 
> gnc:transaction-type-invoice):
> /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:299:17: 
> Unbound variable: gnc:transaction-type-invoice
> In /opt/gnucash/share/gnucash/scm/report.scm:
>   427: 24* (if template (let* # # # ...) #f)
>   428: 25  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
> stylesheet) ...)
>   430: 26* [reg-renderer #]
> In unknown file:
>     ?: 27  (letrec ((opt-val #)) (let* (# # # ...) (cond # # ...) ...))
> In /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:
>   534: 28  (let* ((document #) (table #) (orders #) ...) (cond (# #) (# 
> #) ...) ...)
>   561: 29* (if (gncOwnerIsValid owner) (begin # # ...) ...)
>   562: 30  (begin # # # ...)
>   578: 31* (if (not #) (begin # #) (set! table #))
>   579: 32  (begin (set! table #) (gnc:html-table-set-style! table 
> "table" # ...))
>   580: 33* (set! table (make-txn-table (gnc:report-options report-obj) 
> query ...))
>   580: 34* [make-txn-table #<procedure dispatch #> # # ...]
>   276: 35  (let (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
>   293: 36* (let ((printed? #f) (odd-row? #t)) (for-each (lambda # #) txns))
>   295: 37  [for-each #<procedure #f (txn)> (# # #)]
> In unknown file:
>      ...
>     ?: 38  (begin (f (car l)) (lp (cdr l)))
>     ?: 39* [#<procedure #f (txn)> #<swig-pointer Transaction * b798b98>]
> In /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:
>   297: 40  (let ((type #)) (if (or # #) (let # # # ...)))
>   298: 41  (if (or # #) (let # # # ...))
>   299: 42* (or # #)
>   299: 43* [equal? #\I ...
> /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:299:17: 
> While evaluating arguments to equal? in expression (equal? type 
> gnc:transaction-type-invoice):
> /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:299:17: 
> Unbound variable: gnc:transaction-type-invoice


More information about the gnucash-devel mailing list