After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618670 - Crash in Custom Reports Using Eguile: Unbound variable: gnc:extension-type
Crash in Custom Reports Using Eguile: Unbound variable: gnc:extension-type
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.3.x
Other Linux
: Normal critical
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-05-14 19:20 UTC by simd
Modified: 2018-06-29 22:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description simd 2010-05-14 19:20:52 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!)
Comment 1 Geert Janssens 2010-09-08 13:06:01 UTC
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
Comment 2 John Ralls 2018-06-29 22:39:26 UTC
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.