GNOME Bugzilla – Bug 795067
Custom reports are not loaded in GC 3.0
Last modified: 2018-06-30 00:07:39 UTC
In GnuCash 2.6.19 I had a working custom report and in 3.0 I cannot get it to load / display in the report menu anymore. It is basically a slightly adapted version of the taxinvoice.scm report. I do not know if the "config.user" is not read anymore or if the load command is working differently with 3.0. No error in the trace file visible either. Please note that with the move from 2.6.19 to 3.0 the handling of paths changed. Therefore I moved my custom report and the config.user into the new location. Release notes for 3.0: Data file directories are now located appropriately to the operating system's conventions by default: Windows: CSIDL_APPDATA/Gnucash MacOS: $HOME/Application Support/Gnucash Linux: $XDG_CONFIG_HOME/gnucash (or the default $HOME/.config/gnucash) Concrete for Windows: old = C:\Users\marco\.gnucash new since version 3.0 = C:\Users\marco\AppData\Roaming\GnuCash Environment OS: Windows 10 GnuCash: 3.0 command used "gnucash.exe --debug --log gnc.scm=debug" to generate the trace file
Created attachment 370649 [details] config.user file for "custom-invoice.scm"
Created attachment 370651 [details] custom-invoice report files
Please note that the attached config.user uses the "display" command as suggested by fell, but even with the original "load" command, it does not work.
Try this... Copy all files to path indicated above for version 3.0 Rename config.user to config-user.scm Change contents to this... (load (gnc-build-userdata-path "custom-invoice.scm")) Bob
@Bob: it works like a charm - thanks! First quick test was successful, I will try with a more customized report.
Proposed solution/fix by Bob works. Many thanks. Now what remains to do is to edit/adapt the wiki page https://wiki.gnucash.org/wiki/Custom_Reports to reflect these changes. Should I do this?
Sure, please do!
Done, page updated. Thanks for your help.
Thanks!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=795067. Please update any external references or bookmarks.