New Scheme report - trying to load from home dir

John Ralls jralls at ceridwen.us
Fri Jan 24 10:40:37 EST 2014


On Jan 23, 2014, at 8:57 PM, Yawar Amin <yawar.amin at gmail.com> wrote:

> 
> The problem before that was that GnuCash is prepending '$HOME\.gnucash\' to the beginning of the load function string argument. So if I specified '$HOME\Documents\coding\gc-decl-reports\gc-decl-reports.scm' the load function would actually try to load '$HOME\.gnucash\$HOME\Documents\coding\gc-decl-reports\gc-decl-reports.scm'. Whoops. I don't know if this behaviour is specific to Windows or to 2.6 versus 2.4.

Actually it's prepending $GNC_DOT_DIR, which defaults to $HOME/.gnucash. It does that because that's where it expects custom reports to be, and it does it on all platforms.

Regards,
John Ralls




More information about the gnucash-devel mailing list