bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 2279 in lilypond: [Windows]GUILE_LOAD_PATH is appended to the home


From: lilypond
Subject: Issue 2279 in lilypond: [Windows]GUILE_LOAD_PATH is appended to the home directory of the non-adminstrative user instead of either append it to the directory where guile.exe is started or using it as an absolute path
Date: Fri, 03 Feb 2012 20:49:30 +0000

Status: Accepted
Owner: ----
Labels: Type-Other

New issue 2279 by address@hidden: [Windows]GUILE_LOAD_PATH is appended to the home directory of the non-adminstrative user instead of either append it to the directory where guile.exe is started or using it as an absolute path
http://code.google.com/p/lilypond/issues/detail?id=2279

Reported by Helge Kruse
as "Unable to find file "ice-9/boot-9.scm" in load path"
http://lists.gnu.org/archive/html/bug-lilypond/2012-01/msg01273.html
and
http://lists.gnu.org/archive/html/bug-lilypond/2012-02/msg00075.html

When I run guile.exe as administrator it succeeds. But running guile.exe as a user without administrative rights it fails to load boot-9.scm.

You can see here what happens when the GUILE_LOAD_PATH is set to "SHARE\GUILE\1.8" This is intentionally in capital letters. The windows O/S doesn't care but you can see, when this variable has been used.

Administrator:
CreateFile C:\Program Files (x86)\LilyPond\usr\share\guile\1.8 --> SUCCESS

There are some additional file open operations but you can see, that the variable GUILE_LOAD_PATH has *not* been used to resolve the valid load path.

Non-adminstrative user (Helge):
CreateFile C:\Users\Helge\SHARE\GUILE\1.8\ --> PATH NOT FOUND
CreateFile C:\usr\share\guile\site\ --> PATH NOT FOUND
CreateFile C:\usr\share\guile\1.8\ --> PATH NOT FOUND
CreateFile C:\usr\share\guile\ --> PATH NOT FOUND
CreateFile C:\Users\Helge\share\guile\1.8\ --> PATH NOT FOUND
CreateFile C:\Users\Helge\SHARE\GUILE\1.8\ice-9\ --> PATH NOT FOUND

So the bug is: GUILE_LOAD_PATH is appended to the home directory of the non-adminstrative user instead of either append it to the directory where guile.exe is started or using it as an absolute path.

Workaround: When you set GUILE_LOAD_PATH to the following value, you can run guile.exe as non-administrative user:

..\..\PROGRAM FILES (x86)\LILYPOND\USR\SHARE\GUILE\1.8
(must not be surrounded by "")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]