config.user: format of paths on Windows system

Derek Atkins warlord at MIT.EDU
Tue Feb 19 14:37:47 EST 2008


Here's something to try..  What happens if you move (or copy)
the ibr-gnc-module.scm to C: and then you can try one of:

 (load "/ibr-gnc-module.scm")
 (load "/c/ibr-gnc-module.scm")
 (load "c:/ibr-gnc-module.scm")
 (load "c:\ibr-gnc-module.scm")

And see what works.  Then we can at least see if this works
at all for you...  And then we can go through the complications
of trying to get it working otherwise.

Also, you might want to use the debug output to see your output.
For example, do you see your printf output in the gnucash.trace
file?

-derek

Jannick Asmus <jannick.news at gmail.com> writes:

> Nathan, Robert,
>
> thanks for your input.
>
> I tried every version of path format. No effect.
>
> So I might be that the code of the config.user is not correct. Could 
> someone check it, please? I am a real newbie to this stuff.
>
> Thanx again.
>
> Best wishes,
> J.
>
> On 17.02.2008 23:39, Nathan Buchanan wrote:
>> I doubt windows likes the double slash...try c:\path.... instead.
>> 
>> On Feb 17, 2008 4:18 PM, Robert Heller <heller at deepsoft.com 
>> <mailto:heller at deepsoft.com>> wrote:
>> 
>>     At Sun, 17 Feb 2008 20:14:22 +0100 Jannick Asmus
>>     <jannick.news at gmail.com <mailto:jannick.news at gmail.com>> wrote:
>> 
>>      >
>>      > Hi All,
>>      >
>>      > I am encountering problems running the following config.user-file on
>>      > WinXP together with GC v2.2.3. The problem is that additional
>>     tools do
>>      > not show up as they are supposed to be.
>>      >
>>      > Here is the config-file saved in .gnucash:
>>      > _____________________
>>      > (printf "Start config.user\n")
>>      >
>>      > (define ibr-menu-created #f)
>>      >
>>      > (let (
>>      >               (path ("C://Dokumente und
>>      > Einstellungen/user/.gnucash/ibr-gnc-module.scm"))
>>      >       )
>>      >       (printf "config.user: loading %s ...\n" path)
>>      >       (load path)
>>      > )
>>      >
>>      > (printf "End config.user\n")
>>      > _______________________
>>      >
>>      > The file stems from
>>     http://www.ibrieger.de/misc/linux/gnucash/index.html
>>      > where the .scm-file is available for download as well.
>>      >
>>      > At start-up GC looks for the config.user file in .gnucash and
>>     starts it.
>>      > Derek and me, we have already found out that the line defining
>>     the hard
>>      > coded path variable
>>      >
>>      >       (path ("C://Dokumente und
>>     Einstellungen/user/.gnucash/ibr-gnc-module.scm"))
>>      >
>>      > does not seem to be correct.
>>      >
>>      > Does anyone has a clue what format the path should have on a Windows
>>      > system? Should "\" be used? What is the syntax for calling the
>>     hard drive?
>> 
>>     I believe that the C Library's fopen() under MS-Windows handles '/' as
>>     a directory separator (internally replaces '/' with '\' before calling
>>     the lower level O/S I/O functions.  Don't know how drive letters are
>>     handled. And I don't know what the MS-Windows port of GnuScheme does
>>     with pathnames.
> _______________________________________________
> 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.
>
>

-- 
       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