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_av.tex'


Can you figure out who is keeping the file opened?

It's the Python process itself. As far as I can understand, the file is opened using something corresponding to os.open()
by tempfile.mkstemp(), so we just have to add a line
os.close(handle) to make it work (or use this file descriptor also when writing
to the file).

I'll take a look at the other error that only happened the first
run of lilypond-book.

  /Mats



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to