On 2014-01-23 13:50, Derek Atkins wrote:
> [...]
> This is an invalid menu path.  You are telling it, literally,
> "gnc:menuname-utility", which isn't a valid menu path name.  Try
> changing it to:
>
>   'menu-path (list gnc:menuname-utility)

Thanks Derek. I could've sworn that '(x) == (list x). But turns out not the 
case, for Guile at least.

Also another silly error on my end: I was using a `sub1` function which turned 
out not to exist.

So as it turns out, I got the report to load by copying the report '.scm' file* 
into my $HOME\.gnucash directory and changing the line in 'config.user' to:

(load "gc-decl-reports.scm")

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.

Also I am getting some debug output in my $TEMP directory (on Windows, it's 
%TEMP%, but principle is the same)--the 'gnucash.trace.*.log' files. So that's 
helping me while I try to figure out the next problem. If I get stuck on that 
I'll get back to the list.

Thanks,

Yawar

* Technically, I didn't copy; I hard-linked them using the Windows 'mklink' 
command, but it's the same effect.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to