Hi Adrien, I worked my way through the GnuCash wiki on loading custom reports at https://wiki.gnucash.org/wiki/Custom_Reports#Where_to_find_existing_reports. I made a tiny bit of headway, but not much.
I have set up a new file called config-user.scm in ~/Library/Application Support/GnuCash on my fully updated Mojave system. This replaced the filed called config.user I copied from my Yosemite installation running GnuCash 2.6.16. As part of following the instruction on the wiki, I copied the Hello World report from the GnuCash application package and modified it slightly to be different from the example report. I then placed it in ~/Library/Application Support/GnuCash/John Report and added (load (gnc-build-userdata-path "John-Report.scm”)) as the first line of config-user.scm. This loaded a report called John Report into the top level of the Reports menu, so I know I at least have that part working. However, using a similar line in the config-user.scm file for the reports I downloaded from this list gives me nothing in the Reports menu. In fact, if I place those lines before the John-Report line, even it does not appear. I guess some problem in those other reports is terminating the whole loading process. That seems like an odd way of doing things. I tried this singly with each report an none of them worked, including the consolidation report Doug Doughty contributed on June 4, 2018 as an update to work with GnuCash 3.1. I guess I have to wait until I have time to learn Scheme or someone else updates these reports to work with GnuCash’s ever-changing interface. Best, John > On Sep 9, 2019, at 5:57 PM, Adrien Monteleone > <adrien.montele...@lusfiber.net> wrote: > > I didn’t get to test #1 & #2 again, but sticking with #3, I started GnuCash > with > > --debug --log gnc.scm=debug > > And got some useful info. > > It seems all but one of the reports were using: > > (use-modules (gnucash main)) > > which apparently doesn’t exist any more. > > The one report that did work was using: > > (use-modules (gnucash utilities)) > > I haven’t had a look yet to see what the changes were and what that includes. > > The other failing reports also use: > > (use-modules (gnucash printf)) > > which apparently also doesn’t exist and was commented out in the one working > report. > > Unfortunately, the code for those reports would have to be updated it seems > to avoid those modules as they fail with them commented out. (understandably) > > The following loads and runs correctly: > > consolidate-transactions.scm > > The following all fail and need to be updated: > > compare-cash-flows.scm > current-vs-average.scm > transaction-budget.scm > reconcile.scm (supposedly a re-write, was this already incorporated into the > included report?) > missing-checks.scm (I don’t use this, but noticed it failed as well) > > If anyone has any info on fixing the above reports with respect to the main & > printf modules, or where I might find more current versions, many thanks. _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.