Problem Loading Eguile Templates
newtognucash
newtognucash at gmail.com
Tue Aug 14 06:11:41 EDT 2012
On Tue, Aug 14, 2012 at 3:16 PM, Carsten Rinke <carsten.rinke at gmx.de> wrote:
> My guess is that GnuCash does not recognize this file as an eguile file,
> but treats it as plain Scheme.
>
> From the trace I can see the path ".gnucash/reports/".
>
> And the description says "your .gnucash directory".
>
> Just picking in the dark:
> What happens if you move the file one directory up, directly
> into .gnucash?
Thanks again, Carsten! I tried shifting the files up into .gnucash
and it works! I wonder why the .scm file was OK in the /report folder
while the .eguile.scm wasn't... But I'm not worrying about it -- as
long as I can have a working and editable template, as I do now, I'm
happy! :-)
On Tue, Aug 14, 2012 at 12:31 PM, David T. <sunfish62 at yahoo.com> wrote:
> Disclaimer: I am only enough of a programmer to get in trouble.
>
> I see that the unbound variable error says: " <unnamed port>: Unbound
> variable: <!DOCTYPE"
> Perhaps there is a bit missing right at the DOCTYPE declaration, which the
> guile parser is barfing on?
Thanks David. That seems not to have been the problem preventing
GnuCash reading the template file, but it is still a problem. The
trace file now says
* 19:57:01 WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
* 19:57:40 WARN <gnc.app-utils> <unnamed port>: In procedure
primitive-load in expression (primitive-load name):
<unnamed port>: Unbound variable: <!DOCTYPE
In unknown file:
?: 0* [primitive-load "/nfshome/me/.gnucash/mycompanyinvoice.eguile.scm"]
I don't know why it's complaining, since the DOCTYPE declaration is
identical to that of the copied file "taxinvoice.eguile.scm". It
doesn't stop me doing what I want to do, though, so it's not something
I'm worrying about right now.
Thanks all for your help! It's a huge relief to have this sorted!
GnuCash Australian User
More information about the gnucash-user
mailing list