Am Dienstag, 23. August 2011, 05:37:48 schrieb Colin Campbell:
HTH, and let me know, too, about any tracing I can do; I'm on 64-bit
Ubuntu Natty
It looks like python in your installations doesn't try to load packages
from
the input/regression/musicxml/ directory (here on my 32 bit Ubuntu natty
it
does). Can you (Phil and Colin) plase add the following debug statements
in
scripts/lilypond-book.py in line 609. The for loop should look like:
for i in global_options.custom_packages:
nr += 1
print " Loading package %s" % i
print " sys.path: %s" % sys.path
print " PYTHONPATH: %s" % os.environ.get ("PYTHONPATH",
"(UNSET)")
sys.path.append (os.getcwd ())
print " sys.path: %s" % sys.path
print imp.load_source ("book_custom_package%s" % nr, i)
This also includes a possible fix (the sys.path.append, where I append the
input/regression/musicxml/ dir to the standard search path).
Then please run:
-) "make" (no need to clean before; you also don't have to wait until the
C++
is compiled, but can kill the make as soon as all python file have been
processed at the very beginning)
-) "cd input/regression/musicxml"
-) "make doc"; also no need to clean before, you can kill the command as
soon
as lilypond-book has started