Problem Loading Eguile Templates

Derek Atkins warlord at MIT.EDU
Tue Aug 14 10:14:21 EDT 2012


newtognucash <newtognucash at gmail.com> writes:

> 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! :-)

Probably because it was loading the file as a Scheme report instead of
treating it as eguile.  I think the 'reports' directory might get
auto-loaded as scheme, which wouldn't be what you want.

[snip]
> * 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!

This error implies what I said above, something is trying to load your
eguile as scheme, which is wrong.  It's not scheme, it is eguile.  So
the scheme parser is barfing.

Are you telling it to load the eguile.scm somewhere?

> GnuCash Australian User

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list