Problem Loading Eguile Templates

newtognucash newtognucash at gmail.com
Mon Aug 13 19:18:47 EDT 2012


On Mon, Aug 13, 2012 at 5:43 PM, Geert Janssens
<janssens-geert at telenet.be> wrote:

> Have you already tried to define an absolute path to
> mycompanyinvoice.eguile.scm in mycompanyinvoice.scm ? The text suggests
> that's not necessary, but it doesn't hurt trying.
>
> Geert

Thanks, Geert, but isn't that what I've done here?

...edited the mycompanyinvoice.scm file at line 141-2, to say

(N_ "The file name of the eguile template part of this report.  This
file should either be in your .gnucash directory, or else in its
proper place within the GnuCash installation directories.")
      "mycompanyinvoice.eguile.scm"))

If that's not what you meant, do you mind explaining?  Not very tech
savvy here :-(


On Mon, Aug 13, 2012 at 8:50 PM, Carsten Rinke <carsten.rinke at gmx.de> wrote:
> Hi,
>
> can you see from
> cat /tmp/gnucash.trace
> in more detail what GnuCash is complaining about?

Thanks, Carsten.  Now why didn't I think of looking for a trace file?
This is what it says.

* 09:04:52  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No
DBD drivers found
* 09:05:19  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/reports/mycompanyinvoice.eguile.scm"]

So apparently the problem is an unbound variable...but besides
renaming I haven't changed the file from the original
taxinvoice.eguile.scm, and there are no problems loading that.  I
don't understand why it's doing this!

> And as the message is "cannot read" (in opposite to "cannot find"):
> What permissions are associated with the mycompanyinvoice.eguile.scm
> file?

It's not a permissions problem.  The permissions for
mycompanyinvoice.eguile.scm are set as identical to
mycompanyinvoice.scm.  The latter is causing no problems.

Thanks for your help.

GnuCash Australian User


More information about the gnucash-user mailing list