Custom Report loading

David T. sunfish62 at yahoo.com
Sat Jan 23 00:27:35 EST 2010


Forcing users to escape characters in the path under Windows seems bug-like, and certainly not what the average Windows user expects. Should this be filed as a bug report?

David

--- On Fri, 1/22/10, Derek Atkins <warlord at MIT.EDU> wrote:

> From: Derek Atkins <warlord at MIT.EDU>
> Subject: Re: Custom Report loading
> To: "Maf. King" <maf at chilwell.net>
> Cc: gnucash-user at gnucash.org, "Jason Dunham" <jwdunham at gmail.com>
> Date: Friday, January 22, 2010, 8:06 AM
> "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
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> 


      


More information about the gnucash-user mailing list