First of all, I hope you are aware of the big security risks
of running LilyPond on a server in this way. There are flags
to run in safe mode, check the documentation and the mailing
list archives.
Regarding your problems, the first thing I would try would be
to add the flag --verbose to get more information on what fails.
/Mats
Quoting Ed Stauff <[EMAIL PROTECTED]>:
I'm developing a web app using LilyPond, and version 2.10.10 is
behaving differently on my production server than it does on my
development server. It seems to work fine on my development server,
but on my production server I get errors like this:
<snip>
LilyPond --png C:\WebSites\HymnScores\Temp\LilyPond_32u02isqspz.ly
GNU LilyPond 2.10.20
Processing `C:/WebSites/HymnScores/Temp/LilyPond_32u02isqspz.ly'
Parsing...
Interpreting music... [8][16][17]
Preprocessing graphical objects...
*** ERROR: LilyPond return code = 128
<snip>
or this:
<snip>
LilyPond --png C:\WebSites\HymnScores\Temp\LilyPond_32u02itk6fh.ly
GNU LilyPond 2.10.20
Processing `C:/WebSites/HymnScores/Temp/LilyPond_32u02itk6fh.ly'
Parsing...
Interpreting music...
C:/WebSites/HymnScores/Temp/LilyPond_32u02itk6fh.ly:32:32: warning:
barcheck failed at: -5/8
e'4 f'4~ f'8 f'8 f'4 e'4 f'2.~
|
C:/WebSites/HymnScores/Temp/LilyPond_32u02itk6fh.ly:42:31: warning:
barcheck failed at: -5/8
bes4 a4~ a8 d'8 c'4 bes4 a2.~
|
C:/WebSites/HymnScores/Temp/LilyPond_32u02itk6fh.ly:50:28: warning:
barcheck failed at: -5/8
c4 d4~ d8 bes,8 c4 c4 f2.~
|
[5]
Preprocessing graphical objects...
Layout output to `LilyPond_32u02itk6fh.ps'...
error: exception caught: St9exception
*** ERROR: LilyPond return code = 1
<snip>
or this:
<snip>
lilypond --png LilyPond_32u02isqspz.ly
GNU LilyPond 2.10.20
Processing `LilyPond_32u02isqspz.ly'
Parsing...
Interpreting music... [8][16][17]
Preprocessing graphical objects...
error: exception caught: St9exception
<snip>
In the last example, when I when I tried it again without the
"--png", it ran without errors.
My development server (where it works) is running Windows 2000.
My production server (where it doesn't work) is running Windows
Server 2003. (And please don't tell me to change my OS.)
Anybody have any idea what's going on? I double-checked that both
servers are running LilyPond 2.10.20. I didn't have this problem
with the previous version I was using, 2.8.8.
Are there prerequisites or dependencies I should check?
What does a LilyPond return code of 128 mean? Shouldn't the return
codes be documented somewhere? I couldn't find them.
Does anyone know what an St9exception is? I've searched the web in vain.
Thanks,
-- Ed
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user