error generating png files

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error generating png files

Vincent-35
When running one of the following commands using lilypond windows native  
(2.6.0 or 2.7.6):

> lilypond.exe -f png test.ly
> lilypond.exe --png test.ly

I get the following log:

> Processing `C:/music/tst.ly'
> Parsing...
> Interpreting music... [8][10]
> Preprocessing graphical objects...Calculating line breaks...  
> [3][6][9][10]
> Calculating page breaks...
> Layout output to `tst.ps'...
> Converting to PNG...
> throw from within critical section.
> This application has requested the Runtime to terminate it in an unusual  
> way.
> Please contact the application's support team for more information.

and the png file is not generated, no matter which ly input file I use.

Perhaps am I doing something wrong?

Thanks,

Vincent


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: error generating png files

Mats Bengtsson-6
Please run
lilypond --verbose --png test.ly
to get a more informative error message and send it to the mailing list.

    /Mats

VSD wrote:

> When running one of the following commands using lilypond windows
> native  (2.6.0 or 2.7.6):
>
>> lilypond.exe -f png test.ly
>> lilypond.exe --png test.ly
>
>
> I get the following log:
>
>> Processing `C:/music/tst.ly'
>> Parsing...
>> Interpreting music... [8][10]
>> Preprocessing graphical objects...Calculating line breaks...  
>> [3][6][9][10]
>> Calculating page breaks...
>> Layout output to `tst.ps'...
>> Converting to PNG...
>> throw from within critical section.
>> This application has requested the Runtime to terminate it in an
>> unusual  way.
>> Please contact the application's support team for more information.
>
>
> and the png file is not generated, no matter which ly input file I use.
>
> Perhaps am I doing something wrong?
>
> Thanks,
>
> Vincent
>
>
> _______________________________________________
> bug-lilypond mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463
         Fax:   (+46) 8 790 7260
        Email: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: error generating png files

Vincent-35
On Tue, 23 Aug 2005 21:31:18 +0200, Mats Bengtsson  
<[hidden email]> wrote:

> Please run
> lilypond --verbose --png test.ly
> to get a more informative error message and send it to the mailing list.

ouch! I should have done this before asking. Sorry.

The problem seems to be that I have the Century Schoolbook fonts in the  
Windows\fonts directory. Then the runtime error occurs no matter if the  
fonts are too in usr\share\gs\fonts or not.

Removing those fonts from Windows\fonts solves the problem, but it doesn't  
allows me to use them in other applications :-\

perhaps am I doing something wrong?

TIA,

Vincent

The output for lilypond --verbose --png test.ly (whatever test.ly) is:


LILYPOND_DATADIR="/usr/share/lilypond/2.7.7"
LOCALEDIR="/usr/share/locale"
Effective prefix: "C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7"
FONTCONFIG_FILE="C:/Archivos de programa/LilyPond/usr/etc/fonts/fonts.conf"
GS_FONTPATH="C:/Archivos de  
programa/LilyPond/usr/share/gs/fonts;C:\WINDOWS/fonts"
GS_LIB="C:/Archivos de programa/LilyPond/usr/share/gs/lib"
GUILE_LOAD_PATH="C:/Archivos de programa/LilyPond/usr/share/guile/1.7"
PANGO_RC_FILE="C:/Archivos de programa/LilyPond/usr/etc/pango/pangorc"
PATH="C:/Archivos de  
programa/LilyPond/usr/bin;C:\WINDOWS\system32;C:\WINDOWS"
Initializing FontConfig...
adding font directory: C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/
adding font directory: C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/type1/
adding font directory: C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/svg/
Processing `C:/music/tst.ly'
Parsing...[C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/init.ly[C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/declarations-init.ly[C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/music-functions-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/nederlands.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/drumpitch-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/chord-modifiers-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/script-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/scale-definitions-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/grace-init.ly][C:/Archivos  
de programa/LilyPond/usr/share/lilypond/2.7.7/ly/midi-init.ly[C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/performer-init.ly]][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/paper-defaults.ly[C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/titling-init.ly]][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/engraver-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/dynamic-scripts-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/spanners-init.ly][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ly/property-init.ly]][C:/music/tst.ly]
Interpreting music... [C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-20.otf][2]
elapsed time: 0.03 seconds
Element count 57 (spanners 8)
Preprocessing graphical objects...
Grob count 99[C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-11.otf][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-13.otf][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-14.otf][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-16.otf][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-18.otf][C:/Archivos  
de programa/LilyPond/usr/share/lilypond/2.7.7/fonts/otf/emmentaler-23.otf]
Calculating line breaks...
Global shortest duration is 3/16
[2]
Optimal demerits: 22.400709
Element count 61.[0]
Calculating page breaks...[century_schoolbook_l__3.865234375]
Layout output to `tst.ps'...[C:/WINDOWS/fonts/c059013l.otf][C:/Archivos de  
programa/LilyPond/usr/share/lilypond/2.7.7/fonts/type1/PFAemmentaler-20.pfa][C:/Archivos  
de  
programa/LilyPond/usr/share/lilypond/2.7.7/ps/music-drawing-routines.ps][C:/Archivos  
de programa/LilyPond/usr/share/lilypond/2.7.7/ps/lilyponddefs.ps]
Converting to `tst.pdf'...
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is useful  
for generating ToUnicode CMap.
Invoking `gs    -dCompatibilityLevel#1.4  -sPAPERSIZE#"a4" -dNOPAUSE  
-dBATCH -r1200  -sDEVICE#pdfwrite -sOutputFile#"tst.pdf" -c .setpdfwrite  
-f "tst.ps"'...
Converting to PNG...[tst.ps][tst.ps]
This application has requested the Runtime to terminate it in an unusual  
way.
Please contact the application's support team for more information.
throw from within critical section.


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond