bug-lilypond
[Top][All Lists]
Advanced

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

Re: serious problem with "lilypond-book"


From: jmk
Subject: Re: serious problem with "lilypond-book"
Date: Thu, 20 Jul 2006 21:08:48 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

thanks, i thought about that, too. well the difference is now, that i get a more lengthy error report

------------------------------------------------------------
#>lilypond-book --verbose --output=output --psfonts tex_test01.tex

lilypond-book.py (GNU LilyPond) 2.8.5
Reading tex_test01.tex...
Invoking `latex c:\dokume~1\user\lokale~1\temp\tmp5xajop.tex'Traceback (most rec
ent call last):
  File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 1772, in ?
    main ()
  File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 1726, in main
    chunks = do_file (file)
File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 1621, in do_file
    set_default_options (source)
File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 759, in set_defaul
t_options
    textwidth = get_latex_textwidth (source)
File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 1428, in get_latex
_textwidth
    ly.system ('latex %s' % tmpfile, be_verbose=global_options.verbose)
File "C:\Programme\LilyPond\usr\share\lilypond\current\python\lilylib.py", lin
e 87, in system
    stderr=stdout_setting)
File "C:\Programme\LilyPond\usr\lib\python2.4\subprocess.py", line 542, in __i
nit__
    errread, errwrite)
File "C:\Programme\LilyPond\usr\lib\python2.4\subprocess.py", line 899, in _ex
ecute_child
    errpipe_read, errpipe_write = os.pipe()
AttributeError: 'module' object has no attribute 'pipe'
------------------------------------------------------------


and the "text_test01.tex" file looks like this:

------------------------------------------------------------
\documentclass[a4paper]{article}

\begin{document}

Documents for @command{lilypond-book} may freely mix music and text.
For example,

\begin{lilypond}
\relative c' {
  c2 g'2 \times 2/3 { f8 e d } c'2 g4
}
\end{lilypond}

Options are put in brackets.

\begin[fragment,quote,staffsize=26,verbatim]{lilypond}
  c'4 f16
\end{lilypond}

Larger examples can be put into a separate file, and introduced with
\verb+\lilypondfile+.

\lilypondfile[quote,noindent]{screech-boink.ly}

\end{document}
------------------------------------------------------------

what am i doing wrong here? has someone an example which guaranteed works?




Mats Bengtsson wrote:
My main recommendation is to upgrade to the latest stable
version of LilyPond. There are installation packages available
at www.lilypond.org for all major operating systems.

If you really want to stick to your current version, you could
try to search the mailing list archives for hints, but I don't
recognize this particular problem from the top of my head.

  /Mats

jmk wrote:

regardless of the command line parameters i always get this error when i run lilypond-book


Traceback (most recent call last):
  File "C:\Programme\LilyPond\usr\bin\lilypond-book.py", line 76, in ?
    import lilylib as ly
SystemError: NULL result without error in PyObject_Call


i have version 2.6.12


does anybody have an idea how to fix this? i really need it to work!

thanks in advance,
jmk


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








reply via email to

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