Custom Report loading

Derek Atkins warlord at MIT.EDU
Fri Jan 22 11:06:35 EST 2010


"Maf. King" <maf at chilwell.net> writes:

> On Friday 22 January 2010 12:14:09 Lincoln A. Baxter wrote:
>> On Thu, 2010-01-21 at 21:00 -0800, Jason Dunham wrote:
>> > I'm trying to write a custom report for Gnucash.  I'm using version 2.3.8
>> > for Windows.
>
>  <SNIP>
>
>> > <unnamed port>: Unable to find file "JasonsReport.scm" in load path
>> >
>> >
>> > Any advice?
>>
>> I think GC is using Unix file system semantics, it is running with Unix
>> system emulation libraries.

It can use both styles...

>> The D: or C: is being interpreted as Hostname: (remote system)
>> The backslashes are being interpreted as escapes literalizing the
>> following characters.

No, that's probably not the problem...  more likely it's the lack of
double-backslash.

>> Try one of these three:
>>
>> //d/jason/gnucash/custom/JasonsReport.scm
>> //c/users/jdunham/.gnucash/JasonsReport.scm
>> /users/jdunham/.gnucash/JasonsReport.scm

These should work...

>
> Ah! beaten to it!
>
> Just a thought : you could also try escaping the backslash, which I think 
> might be something like d\:\\jason\\gnucash\\..etc..etc. but I'm just 
> guessing about that on windows.

I don't think you need to escape the colon, but yes, you need to use
double-backslashes.

> HTH
> Maf.

> 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