On 11-08-21 04:24 AM, Phil Holmes wrote:
----- Original Message ----- From: "Reinhold Kainhofer" <reinh...@kainhofer.com>
To: <lilypond-devel@gnu.org>
Sent: Saturday, August 20, 2011 6:23 PM
Subject: Re: Make doc is broken


Hi Phil,

Am Saturday, 20. August 2011, 16:26:48 schrieb Phil Holmes:
I think Reinhold's commit cfcb9efdbd7c6600fc89fc912ba80529010b31e7 has
broken make doc. I've just done a clean build (fresh build directory) and
get this at the end of a failed make doc:
[...]
Traceback (most recent call last):
  File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 693, in
<module>
    main ()
  File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 624, in
main files = do_options ()
  File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 610, in
do_options
    print imp.load_source ("book_custom_package%s" % nr, i)

Do you also have any error message from python? This is just the traceback,
i.e. it tells you where a problem appeared, but without the actual error
message, it's really hard to tell what's wrong and how to fix it...


OK. I've now completely deleted my git directory, reloaded it from git, and rerun make, make doc. Same error. I've got a copy of book-musicxml-testsuite.py in my giy/input/regression/musicxml directory, but not in my build tree. Looking at the make output below, make is clearly in git/build/input/regression/musicxml and so could it be that the python source should be there too?

I'd happily get you some python error output if you can let me know how.

--lily-output-dir /home/phil/lilypond-git/build/out/lybook-db --load-custom-package=book-musicxml-testsuite.py out-www/collated-files.tely
langdefs.py: warning: lilypond-doc gettext domain not found.
Traceback (most recent call last):
File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 693, in <module>
   main ()
File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 624, in main
   files = do_options ()
File "/home/phil/lilypond-git/scripts/lilypond-book.py", line 610, in do_options
   print imp.load_source ("book_custom_package%s" % nr, i)
IOError: [Errno 2] No such file or directory
make[4]: *** [out-www/collated-files.texi] Error 1
make[4]: Leaving directory `/home/phil/lilypond-git/build/input/regression/musicxml'

--
Phil Holmes



I've just hit what looks like the same problem, after deleting and rebuilding lilypond-git:

Compiling /home/colin/lilypond-git/build/input/regression/midi/out-www/collated-files.texi... Writing `/home/colin/lilypond-git/build/input/regression/midi/out-www/collated-files.texi'...
lys-to-tely: writing ./out-www/collated-files.tely...
langdefs.py: warning: lilypond-doc gettext domain not found.
Traceback (most recent call last):
File "/home/colin/lilypond-git/scripts/lilypond-book.py", line 693, in <module>
    main ()
File "/home/colin/lilypond-git/scripts/lilypond-book.py", line 624, in main
    files = do_options ()
File "/home/colin/lilypond-git/scripts/lilypond-book.py", line 610, in do_options
    print imp.load_source ("book_custom_package%s" % nr, i)
IOError: [Errno 2] No such file or directory
make[4]: *** [out-www/collated-files.texi] Error 1
make[3]: *** [WWW-1] Error 2
make[2]: *** [WWW-1] Error 2
make[1]: *** [WWW-1] Error 2
make: *** [doc-stage-1] Error 2

HTH, and let me know, too, about any tracing I can do; I'm on 64-bit Ubuntu Natty

Colin

--
The human race has one really effective weapon, and that is laughter.
-- Mark Twain


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to