bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1933 in lilypond: Lilypond-book requires msvcrt again


From: address@hidden
Subject: Re: Issue 1933 in lilypond: Lilypond-book requires msvcrt again
Date: Wed, 4 Jan 2012 19:15:34 +0100

On Jan 4, 2012, at 6:53 PM, Trevor Daniels wrote:

> Carl
> 
> Thanks for looking at this.  A month or so ago my laptop broke and I now have 
> a new one, with nominally the same OS (Windows Vista) but at a different 
> level.  I haven't tried lilypond-book since then, so I've just downloaded 
> 2.15.23 to try again.  I now get:
> 
> lilypond-book.py (GNU LilyPond) 2.15.23
> Reading C:/Users/Trevor/LilyPond-git/Documentation/notation/pitches.itely...
> Running texi2pdf on file c:\users\trevor\appdata\local\temp\tmpmpi_hh.texi to 
> detect default page settings.
> 
> 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_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\LilyPond\usr\lib\python2.4\subprocess.py", line 549, 
> in __init__
>   self.stdout = os.fdopen(c2pread, 'rU', bufsize)
> OSError: [Errno 22] Invalid argument
> Lilypond-book returned code 1
> 
> so something has changed since I reported the error last Sept.  I suspect 
> this check to detect default page settings is new - I don't recall seeing it 
> before.  So lilypond-book in 2.15.23 doesn't seem to get as far as entering 
> subprocess which is the first place msvcrt is called.
> 
> Trevor
> 

Hey Trevor,

Could you put a pretty print above this line in subprocess.py to the tune of :

print c2pread, bufsize

just to see what is being passed to it?

Cheers,
MS




reply via email to

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