Custom Reports?

David T. sunfish62 at yahoo.com
Sun Jan 15 11:09:35 EST 2017


> On Jan 15, 2017, at 7:59 PM, Mike Evans <mikee at saxicola.co.uk> wrote:
> 
> On Sun, 15 Jan 2017 19:39:32 +0500
> "David T. via gnucash-user" <gnucash-user at gnucash.org> wrote:
> 
>> OK, so back in November, I sent the email below. I still can’t get this to work, and nobody offered suggestions. 
>> 
>> ———————————
>> Hi,
>> 
>> In the course of digging around my GnuCash installation (GC2.6.14, OSX10.11.6), I noticed a copy of Phil L’s Budget comparison report (psl-budget.scm) sitting in ~/Library/Application Support/Gnucash, along with config.user which included the text “(load “psl-budget.scm”)”. 
>> 
>> Per the wiki on custom reports, this should load the report PSL-Budget upon startup. However, when I run GnuCash, I do not see this report in any menus. I tried changing config.user to read "(load (gnc-build-dotgnucash-path “psl-budget.scm”))” again, per the wiki, but it did not change the results. THe report doesn’t load. Neither are there any errors at the console when I run GnuCash. It appears that the report is entirely ignored by the startup.
>> 
>> For testing purposes, I tried copying the file into the GnuCash main bundle, first into:
>>  /Applications/Gnucash.app/Contents/Resources/share/gnucash/scm/gnucash/report (with no change in result) 
>> and next into:
>>  /Applications/Gnucash.app/Contents/Resources/share/gnucash/scm/gnucash/report/standard-reports (with major crash and many errors, which I can post if it helps)
>> 
>> So, my question is: does anyone know why I am unable to get the report to load? What am I missing?
>> 
>> TIA,
>> David
>> 
> 
> Use the full path ot the patch, try:
> (load “~/Library/Application Support/Gnucashpsl-budget.scm”)
> 
> or replace the ~ with the full path
> 
> Mike E
> 
> 
> -- 
> PGP key:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xDB8F7CF1C67BBC0F 

Mike,

Thanks, but that did not work. I simply don’t see how mortals would ever implement a custom report in GnuCash, since the few directions available don’t seem to work.

David


More information about the gnucash-user mailing list