Re: lilypond-book doesn't work in Windows

2006-03-14 Thread Mats Bengtsson
I have now patched lilypond-book in CVS to avoid the problem with unlink(tmpfile). Regarding the error message: === Converting to `lily-1281099914.eps.pdf'... error: failed files: "Documents\\lily' Settings\\mabe\\My and" lilboook.py: error: Process lilypond -b eps -I 'C

Re: lilypond-book doesn't work in Windows

2006-03-13 Thread Han-Wen Nienhuys
Mats Bengtsson wrote: Still some problems: File "C:\Program Files\LilyPond\usr\share\lilypond\current\python\lilylib.py", line 22, in ? import subprocess File "C:\Program Files\LilyPond\usr\lib\python2.4\subprocess.py", line 375, in ? import select ImportError: No module named select

Re: lilypond-book doesn't work in Windows

2006-03-13 Thread Mats Bengtsson
Quoting Han-Wen Nienhuys <[EMAIL PROTECTED]>: options textwidth = get_latex_textwidth (source) File "C:\Program Files\LilyPond\usr\bin\lilbook.py", line 1412, in get_latex_t extwidth os.unlink (tmpfile) OSError: [Errno 13] Permission denied: 'c:\\docume~1\\mabe\\locals~1\\temp\\tmpc aa

Re: lilypond-book doesn't work in Windows

2006-03-12 Thread Mats Bengtsson
Still some problems: File "C:\Program Files\LilyPond\usr\share\lilypond\current\python\lilylib.py", line 22, in ? import subprocess File "C:\Program Files\LilyPond\usr\lib\python2.4\subprocess.py", line 375, in ? import select ImportError: No module named select Maybe a packaging pro

Re: lilypond-book doesn't work in Windows

2006-03-12 Thread Han-Wen Nienhuys
Mats Bengtsson wrote: - The redirect redirect = ' 1>/dev/null 2>' + error_log_file done in system(...) in lilylib doesn't work at all in Windows. You can avoid this bug by calling lilypond-book with --verbose. The question is if we can even skip the error log reporting as a temporar

Re: lilypond-book doesn't work in Windows

2006-03-12 Thread Han-Wen Nienhuys
Mats Bengtsson wrote: get the same error message. Once lilypond-book has finished, I can remove the file without problems (even from within Python using os.unlink), so I don't understand why Windows refuses to remove the file at this stage perhaps the file is still in use, which is a probl

lilypond-book doesn't work in Windows

2006-03-12 Thread Mats Bengtsson
The lilypond-book command doesn't work in Windows XP (mingz). I find this a release-stopper even though the same problem existed already in version 2.6. I've spent a few minutes debugging the problems and so far I have found the following problems: - The redirect redirect = ' 1>/dev