lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3510 in lilypond: Convert-ly cmdline redirection f


From: lilypond
Subject: [Lilypond-auto] Issue 3510 in lilypond: Convert-ly cmdline redirection fails under Windows 7
Date: Tue, 20 Aug 2013 20:46:09 +0000

Status: Accepted
Owner: ----
Labels: Type-Scripts OpSys-Windows

New issue 3510 by address@hidden: Convert-ly cmdline redirection fails under Windows 7
http://code.google.com/p/lilypond/issues/detail?id=3510

Reported by Eluze:
Although AU suggests that convert-ly output can be redirected to preserve the input file, python throws an error under Windows 7:

Traceback (most recent call last):
File "C:\Program Files (x86)\LilyPond\usr\bin\convert-ly.py", line 386, in ?
    main ()
File "C:\Program Files (x86)\LilyPond\usr\bin\convert-ly.py", line 367, in main
    errors += do_one_file (f)
File "C:\Program Files (x86)\LilyPond\usr\bin\convert-ly.py", line 320, in do_one_file
    outfile.close()
IOError: [Errno 9] Bad file descriptor

The issue may result from code near line 308-322 in convert-ly, where outfile becomes an alias for stdout. DAK suggests that convert-ly should only close files it created. The issue seems to be with Windows only.

Original discussion at http://lilypond.1069038.n5.nabble.com/convert-ly-from-the-commandline-under-windows-corrupted-td149284.html

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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