lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.5.28 & png generation


From: andrea valle
Subject: Re: 2.5.28 & png generation
Date: Thu, 9 Jun 2005 01:42:40 +0200

On my macosx 10.3.8 lilyApp 2.5.28 had png conversion broken. But in 2.5.29 works perfectly, both from app and from command line. Also resolution setting is ok.

The only thing that doesn't work as I was expecting is that, while using lilypond.sh from command line, the conversions from .ps put resulting files always in my user and not in the folder of the ly file.

Example:

I give the command line to eat:
apples-Computer:~ apple$ lilypond.sh --png --define-default=resolution=300 --output=/Users/apple/Desktop/testScriptor/testScriptor1 /Users/apple/Desktop/testScriptor/testScriptor1.ly

Lily replies:
Layout output to `/Users/apple/Desktop/testScriptor/testScriptor1.ps'...
Converting to `testScriptor1.pdf'...
Converting to PNG...
Traceback (most recent call last):
File "/Applications/LilyPond.app/Contents/Resources/script", line 167, in ?
    os.unlink (a + '.ps')
OSError: [Errno 2] No such file or directory: 'testScriptor1.ps'

In LilyApp the output pdf is in the same folder of the input ly file. But it seems that conversion from lilypond.sh doesn't recognize the path. Ps file is under /Users/apple/Desktop/testScriptor/ and pdfs/pngs are under /Users/Apple (and so it fails to remove ps). Should I set something or is it a bug?

Thanks a lot

-a-
On 9 Jun 2005, at 00:30, Roman V. Isaev wrote:


Ugh.. tried to use this. Doesn't work. If I run lilypond --png
it says Converting to PNG... into logfile and then does nothing.
I know nothing about scheme... but when I insert
(ly:message "\nTEST\n") it prints this test... so I inserted
it after "Converting to PNG message":

    (ly:message (_ "Converting to ~a...") "PNG")
    (ly:message "\nTEST\n")

in backend-library.scm and got TEST in the log.

Then I went into ps2png.scm and placed the same test here:

(define-public (make-ps-images ps-name . rest)
  (ly:message "\nTEST\n")
  (let-optional
   rest ((resolution 90)
         (paper-size "a4")
         (rename-page-1? #f)
         (verbose? #f))

No "TEST". It looks like

    (make-ps-images name resolution paper-size rename-page-1? verbose?)

is the place where everyhing stops.

Sorry, I don't know how to debug scheme...

--
Roman V. Isaev http://www.soprano-recorder.ru Moscow, Russia



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


Andrea Valle
Laboratorio multimediale "G. Quazza"
Facoltà di Scienze della Formazione
Università degli Studi di Torino
address@hidden





reply via email to

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