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: Trevor Daniels
Subject: Re: Issue 1933 in lilypond: Lilypond-book requires msvcrt again
Date: Wed, 4 Jan 2012 17:53:39 -0000

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

Trevor

----- Original Message ----- From: <address@hidden>
To: <address@hidden>
Sent: Wednesday, January 04, 2012 4:41 PM
Subject: Re: Issue 1933 in lilypond: Lilypond-book requires msvcrt again



Comment #11 on issue 1933 by address@hidden: Lilypond-book requires msvcrt again
http://code.google.com/p/lilypond/issues/detail?id=1933

I've downloaded and tested Mike's patched version, and get a different error from the one I reported that Trevor reported above. FWIW I also got the same error from the non-patched version, as opposed to the one quoted in the issue report. I get:

Reading linelength.tely...
Running texi2pdf on file c:\users\phil\appdata\local\temp\tmpw4zrtb.texi to dete
ct default page settings.

Traceback (most recent call last):
File "C:\Program Files (x86)\LilyPond\MikesTest\usr\bin\lilypond-book.py", lin
e 739, in ?
    main ()
File "C:\Program Files (x86)\LilyPond\MikesTest\usr\bin\lilypond-book.py", lin
e 722, in main
    chunks = do_file (files[0])
File "C:\Program Files (x86)\LilyPond\MikesTest\usr\bin\lilypond-book.py", lin
e 595, in do_file
    global_options.formatter.init_default_snippet_options (source)
File "C:\Program Files (x86)\LilyPond\MikesTest\usr\share\lilypond\current\pyt
hon\book_texinfo.py", line 279, in init_default_snippet_options
texinfo_defaults = get_texinfo_width_indent (source, self.global_options); File "C:\Program Files (x86)\LilyPond\MikesTest\usr\share\lilypond\current\pyt
hon\book_texinfo.py", line 213, in get_texinfo_width_indent
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python2.4/subprocess.py", line 549, in __init__
OSError: [Errno 22] Invalid argument

Of particular strangeness is that I get a \ in my paths and Trevor apparently got a / .


_______________________________________________
bug-lilypond mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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