lilypond-devel
[Top][All Lists]
Advanced

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

lilypond --preview --png broken in 2.5.10


From: Erik Sandberg
Subject: lilypond --preview --png broken in 2.5.10
Date: Sat, 5 Feb 2005 11:40:42 +0100
User-agent: KMail/1.7.1

Happens with all files, e.g. bugs/accidentals-below-notes.ly.

lilytest:~/lily/lilypond/bugs$ lilypond --verbose --preview --png accidentals-below-notes.ly

GNU LilyPond 2.5.10

LILYPOND_DATADIR ="/usr/local/share/lilypond"

LOCAL_LILYPOND_DATADIR ="/usr/local/share/lilypond/2.5.10"

LOCALEDIR ="/usr/local/share/locale"

LILYPONDPREFIX ="/home/erik/lily/lilypond"

[/home/erik/lily/lilypond/scm/lily-library.scm][/home/erik/lily/lilypond/scm/file-cache.scm][/home/erik/lily/lilypond/scm/define-music-types.scm][/home/erik/lily/lilypond/scm/output-lib.scm][/home/erik/lily/lilypond/scm/c++.scm][/home/erik/lily/lilypond/scm/chord-ignatzek-names.scm][/home/erik/lily/lilypond/scm/chord-entry.scm][/home/erik/lily/lilypond/scm/chord-generic-names.scm][/home/erik/lily/lilypond/scm/stencil.scm][/home/erik/lily/lilypond/scm/new-markup.scm][/home/erik/lily/lilypond/scm/bass-figure.scm][/home/erik/lily/lilypond/scm/music-functions.scm][/home/erik/lily/lilypond/scm/part-combiner.scm][/home/erik/lily/lilypond/scm/define-music-properties.scm][/home/erik/lily/lilypond/scm/auto-beam.scm][/home/erik/lily/lilypond/scm/chord-name.scm][/home/erik/lily/lilypond/scm/ly-from-scheme.scm][/home/erik/lily/lilypond/scm/define-context-properties.scm][/home/erik/lily/lilypond/scm/translation-functions.scm][/home/erik/lily/lilypond/scm/script.scm][/home/erik/lily/lilypond/scm/midi.scm][/home/erik/lily/lilypond/scm/beam.scm][/home/erik/lily/lilypond/scm/clef.scm][/home/erik/lily/lilypond/scm/slur.scm][/home/erik/lily/lilypond/scm/font.scm][/home/erik/lily/lilypond/scm/encoding.scm][/home/erik/lily/lilypond/scm/fret-diagrams.scm][/home/erik/lily/lilypond/scm/define-markup-commands.scm][/home/erik/lily/lilypond/scm/define-grob-properties.scm][/home/erik/lily/lilypond/scm/define-grobs.scm][/home/erik/lily/lilypond/scm/define-grob-interfaces.scm][/home/erik/lily/lilypond/scm/page-layout.scm][/home/erik/lily/lilypond/scm/titling.scm][/home/erik/lily/lilypond/scm/paper.scm][/home/erik/lily/lilypond/scm/backend-library.scm][/home/erik/lily/lilypond/scm/safe-lily.scm]Processing `accidentals-below-notes.ly'

Parsing...

[/home/erik/lily/lilypond/ly/init.ly[/home/erik/lily/lilypond/ly/declarations-init.ly[/home/erik/lily/lilypond/ly/music-functions-init.ly][/home/erik/lily/lilypond/ly/nederlands.ly][/home/erik/lily/lilypond/ly/drumpitch-init.ly][/home/erik/lily/lilypond/ly/chord-modifiers-init.ly][/home/erik/lily/lilypond/ly/script-init.ly][/home/erik/lily/lilypond/ly/scale-definitions-init.ly][/home/erik/lily/lilypond/ly/grace-init.ly][/home/erik/lily/lilypond/ly/midi-init.ly[/home/erik/lily/lilypond/ly/performer-init.ly]][/home/erik/lily/lilypond/ly/paper-defaults.ly[/home/erik/lily/lilypond/ly/titling-init.ly]][/home/erik/lily/lilypond/ly/engraver-init.ly][/home/erik/lily/lilypond/ly/dynamic-scripts-init.ly][/home/erik/lily/lilypond/ly/spanners-init.ly][/home/erik/lily/lilypond/ly/property-init.ly]][accidentals-below-notes.ly]Interpreting music... [/home/erik/lily/lilypond/mf/out/emmentaler20.otf][2]elapsed time: 0.26 seconds

Element count 428 (spanners 20) Preprocessing graphical objects... Grob count 476[/home/erik/lily/lilypond/mf/out/emmentaler11.otf][/home/erik/lily/lilypond/mf/out/emmentaler13.otf][/home/erik/lily/lilypond/mf/out/emmentaler14.otf][/home/erik/lily/lilypond/mf/out/emmentaler16.otf][/home/erik/lily/lilypond/mf/out/emmentaler18.otf][/home/erik/lily/lilypond/mf/out/emmentaler23.otf]

Calculating line breaks... Global shortest duration is 1/32

Optimal demerits: 1.694545

Element count 124.[0][century_schoolbook_l__4.216796875]Layout output to `accidentals-below-notes.ps'...

[/home/erik/lily/lilypond/ps/music-drawing-routines.ps][/home/erik/lily/lilypond/ps/lilyponddefs.ps][/home/erik/lily/lilypond/mf/out/emmentaler20.cff.ps]Invoking `ps2png --resolution=90--verbose accidentals-below-notes.ps'...

Traceback (most recent call last):

File "/home/erik/lily/lilypond/scripts/out/ps2png", line 64, in ?

preview_resolution = string.atoi (a)

File "/usr/lib/python2.3/string.py", line 220, in atoi

return _int(s, base)

ValueError: invalid literal for int(): 90--verbose

Error invoking `ps2png --resolution=90--verbose accidentals-below-notes.ps'. Return value 256

Converting to `accidentals-below-notes.pdf'...Invoking `ps2pdf -sPAPERSIZE="a4" accidentals-below-notes.ps'...

Backtrace:

In unknown file:

?: 0* [lilypond-main ("accidentals-below-notes.ly")]

In /home/erik/lily/lilypond/scm/lily.scm:

279: 1* (let* ((failed #) (handler #)) (for-each (lambda # # ...) files) ...)

281: 2* [for-each #<procedure #f (f)> ("accidentals-below-notes.ly")]

In /usr/share/guile/1.6/srfi/srfi-1.scm:

663: 3 (if (null? rest) (letrec ((lp #)) (lp list1)) ...)

...

667: 4 (begin (f (car l)) (lp (cdr l)))

668: 5* [#<procedure #f (f)> "accidentals-below-notes.ly"]

In /home/erik/lily/lilypond/scm/lily.scm:

283: 6* [catch ly-file-failed #<procedure #f ()> #<procedure #f (key arg)>]

In unknown file:

?: 7* [#<procedure #f ()>]

In /home/erik/lily/lilypond/scm/lily.scm:

283: 8* [ly:parse-file "accidentals-below-notes.ly"]

In /home/erik/lily/lilypond/ly/init.ly:

8: 9* (if (pair? toplevel-scores) (ly:parser-print-book parser #))

9: 10 [ly:parser-print-book #<my_lily_parser > #<Book>]

In unknown file:

?: 11* [output-preview-framework "accidentals-below-notes" #<Paper_book > ...]

In /home/erik/lily/lilypond/scm/framework-ps.scm:

310: 12* (let* (# # # # ...) (dump-stencil-as-EPS paper dump-me basename ...))

310: 13* [ly:make-paper-outputter ...


reply via email to

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