GNOME Bugzilla – Bug 618670
Crash in Custom Reports Using Eguile: Unbound variable: gnc:extension-type
Last modified: 2018-06-29 22:39:26 UTC
Gnucash 2.3.12 I'm trying to create a new invoice report, since the current invoices don't meet my needs (looks frankly horrible - too many narrow columns). I've followed the instructions from the WIKI, Custom Reports Using Eguile. I have copied the taxinvoice.* into my .gnucash directory, renamed them and created a file .gnucash/config.user with an entry pointing to the .scm. Finally I renamed the module, so there wouldn't be a name clash. Other than that I haven't changed anything in it yet. On running gnucash, I got the following debug traceback: In current input: 1: 0* [gnc:report-menu-setup] ?: 1 (letrec (# # # ...) (gnc-add-scm-extension #) ...) In /usr/local/gnucash/share/gnucash/guile-modules/gnucash/report/report-gnome.scm: 112: 2* [gnc-add-scm-extension #] In unknown file: ?: 3* gnc:extension-type <unnamed port>: In expression gnc:extension-type: <unnamed port>: Unbound variable: gnc:extension-type Since I've hardly changed any of the sources yet, I *suspect* the problem's in gnucash and it isn't me! (Sorry for the inconvenience if it is!)
Thank you for your report. The problem is not really in the GnuCash code, but in the documentation that explains how to add a custom report. I have corrected the documentation now and can load custom reports without any problems following this improved documentation. See: http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile#How_to_install_an_eguile_report
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=618670. Please update any external references or bookmarks.