Custom Report loading
Robert Heller
heller at deepsoft.com
Sat Jan 23 07:28:22 EST 2010
At Fri, 22 Jan 2010 21:27:35 -0800 (PST) "David T." <sunfish62 at yahoo.com> wrote:
>
> 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?
The 'average' MS-Windows user would not be 'typing' file/path names in
a shell context -- they would be using a point-and-click interface.
Only (average) *unix* users would be messing with things at the CLI
(shell) level.
OTOH, I believe the MS-Windows C library understands forward slashes
(ala UNIX) as path element separators.
>
> 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.
> >
>
>
>
> _______________________________________________
> 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.
>
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
More information about the gnucash-user
mailing list