Graham, you wrote Friday, January 13, 2012 8:41 AM

As a cheap experiment, could you add this:
   ### EXPERIMENTAL HACK: see if this makes mingw behave better?
   time.sleep(1)
immediately between the
   proc = ...
and
   (parameter_string, error_string) = proc.communicate ()
lines?

oh, and add:
import time
somewhere near the top of the file.

Gives the same error:

Traceback (most recent call last):
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 739, in ?
   main ()
File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 722, in main
   chunks = do_file (files[0])
File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 595, in do_fil
e
   global_options.formatter.init_default_snippet_options (source)
File "c:\program files\lilypond\usr\share\lilypond\current\python\book_texinfo
.py", line 292, in init_default_snippet_options
texinfo_defaults = get_texinfo_width_indent (source, self.global_options); File "c:\program files\lilypond\usr\share\lilypond\current\python\book_texinfo
.py", line 226, in get_texinfo_width_indent
   time.sleep(1)
IOError: (0, 'Error')
Lilypond-book returned code 1

Trevor


_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to