[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond-book doesn't work in Windows
From: |
Mats Bengtsson |
Subject: |
lilypond-book doesn't work in Windows |
Date: |
Sun, 12 Mar 2006 13:55:08 +0100 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.4) |
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/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 temporary workaround.
- For some reason, I get
File "C:\Program Files\LilyPond\usr\bin\lilboook.py", line 1414, in
get_latex_
textwidth
os.unlink (tmpfile)
OSError: [Errno 13] Permission denied:
'c:\\docume~1\\mabe\\locals~1\\temp\\tmpm
i60lv.tex'
I tried changing the code so that the tmpfile was located in CWD, but still
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
in the program.
- Commenting out the os.unlink(tmpfile), I got a bit further, but the
program fails with
Converting to `lily-1281099914.eps.pdf'...
error: failed files: "Documents\\lily' Settings\\mabe\\My and"
lilboook.py: error: Process lilypond -b eps -I 'C:\Documents and
Settings\mabe\
My Documents\lily' snippet-map.ly lily-1158580316 lily-577093479
lily-1281099914
exited unsuccessfully.
However, if I just rerun the same lilypond-book command once more, it
finishes without any more complaints and I'm able to use latex and
dvips from MikTeX to produce the desired output.
/Mats
- lilypond-book doesn't work in Windows,
Mats Bengtsson <=