Comment #19 on issue 1933 by philehol...@gmail.com: Lilypond-book requires
msvcrt again
http://code.google.com/p/lilypond/issues/detail?id=1933
Just adding some more data points here. I get different errors according
to the version of lilypond/python I run. I get the msvcrt error up to
2.15.18 and the invalid argument from 2.15.21 onwards. Output from each is
below. I'm needed in the garden now so can't look more right now.
D:\Music\LilyPondDev\BuildStuffEtc>"C:\Program Files
(x86)\LilyPondV2.15.18\usr\bin\python"
"C:\Program Files (x86)\LilyPondV2.15.18\usr\bin\lilypond-book.py"
LineLength.tely
Traceback (most recent call last):
File "C:\Program Files (x86)\LilyPondV2.15.18\usr\bin\lilypond-book.py",
line 90, in ?
import book_texinfo
File "C:\Program Files
(x86)\LilyPondV2.15.18\usr\share\lilypond\current\python\book_texinfo.py",
line 5, in ?
import subprocess
File "C:\Program Files
(x86)\LilyPondV2.15.18\usr\lib\python2.4\subprocess.py", line 352, in ?
import msvcrt
ImportError: No module named msvcrt
D:\Music\LilyPondDev\BuildStuffEtc>"C:\Program Files
(x86)\LilyPondV2.15.21\usr\bin\python"
"C:\Program Files (x86)\LilyPondV2.15.21\usr\bin\lilypond-book.py"
LineLength.tely
lilypond-book.py (GNU LilyPond) 2.15.21
Reading LineLength.tely...
Running texi2pdf on file c:\users\phil\appdata\local\temp\tmpj1bycv.texi to
detect default page settings.
Traceback (most recent call last):
File "C:\Program Files (x86)\LilyPondV2.15.21\usr\bin\lilypond-book.py",
line 742, in ?
main ()
File "C:\Program Files (x86)\LilyPondV2.15.21\usr\bin\lilypond-book.py",
line 725, in main
chunks = do_file (files[0])
File "C:\Program Files (x86)\LilyPondV2.15.21\usr\bin\lilypond-book.py",
line 594, in do_file
global_options.formatter.init_default_snippet_options (source)
File "out/book_texinfo.py", line 279, in init_default_snippet_options
File "out/book_texinfo.py", line 213, in get_texinfo_width_indent
File "C:\Program Files
(x86)\LilyPondV2.15.21\usr\lib\python2.4\subprocess.py", line 549, in
__init__
self.stdout = os.fdopen(c2pread, 'rU', bufsize)
OSError: [Errno 22] Invalid argument
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond