tax invoice report fails (eguile)
Geert Janssens
janssens-geert at telenet.be
Tue Jul 6 14:31:26 EDT 2010
On Tuesday 6 July 2010, Gour wrote:
> Hello!
>
> I've decided to learn Gnucash and customizing reports and invoices
> before surrendering to some other apps like Simpleinvocies and/or
> (h)ledger which, btw, do not provide complete solution for accounting
> and creating invoices...
>
> So, I'm playing with 2.3.14 and have problem with (eguile)
> tax-invoice. Selecting it from the menu gives:
>
> In unknown file:
> ?: 6 (letrec ((dumper #)) (catch (quote ignore) (lambda () #)
> (lambda # #f)))
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 139: 7 [catch ignore #<procedure #f ()> #<procedure #f (key
> . args)>]
> In unknown file:
> ?: 8* [#<procedure #f ()>]
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 142: 9* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key
> . args)>]
> In unknown file:
> ?: 10* [#<procedure #f ()>]
> In /usr/share/gnucash/guile-modules/gnucash/main.scm:
> 143: 11* [apply #<procedure #f ()> ()]
> In unknown file:
> ?: 12 [#<procedure #f ()>]
> In /usr/share/gnucash/scm/report.scm:
> ...
> 675: 13 (set! html (gnc:report-render-html report #t))
> 675: 14* [gnc:report-render-html # #t]
> 638: 15 (if (and (not #) (gnc:report-ctext report))
> (gnc:report-ctext report) ...)
> 646: 16 (let ((template #) (doc #f)) (set! doc (if template # #f))
> doc)
> 649: 17* (set! doc (if template (let* (# # # ...) (if # # ...) ...)
> ...))
> 649: 18* (if template (let* (# # # ...) (if # # ...) ...) ...)
> 650: 19 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report
> html) ...)
> 652: 20* [report-renderer #]
> In unknown file:
> ?: 21 (letrec ((opt-value #)) (let* (# # # ...) (set! html #)
> ...))
> In /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm:
> 215: 22 (let* (# # # ...) (set! html #) ...)
> 217: 23* [find-file "taxinvoice.eguile.scm"]
> In
> /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm:
> 85: 24 (let* (# # #) (set! home #) (let # #))
> 85: 25* (sub-vicinity (user-vicinity) ".gnucash")
> /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm:85:19:
> In expression (sub-vicinity (user-vicinity) ".gnucash"):
> /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm:85:19:
> Unbound variable: sub-vicinity
>
>
> Any idea?
>
> I believe eguile is reasonable way to customize invoices/reports, but
> the above is showstopper.
>
>
> Sincerely,
> Gour
>
Are you perhaps on Ubuntu/Debian and have both guile 1.6 and guile 1.8
installed ? I believe slib is only configured for guile 1.6 on that platform,
while it is also needed for guile 1.8 (which GnuCash uses if available).
Search the list archives (or perhaps the gnucash-devel list) on how to solve
this. I believe you have to add a softlink from the guile 1.8 environment to
the slib directory, but I don't remember the details.
Geert
More information about the gnucash-user
mailing list