Lilypond-Book (under winXP)-Help on Env. Variables

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

Lilypond-Book (under winXP)-Help on Env. Variables

Mehmet Okonsar-3
Hi to all!

while running lilypond-book.py

=====================================
C:\Program Files\MUSIC\LilyPond\usr\bin>lilypond-book.py --psfonts D:\Lilypond-Scores\Lilybook\deneme.lytex
=====================================

I got the following error:
******************
Reading D:\Lilypond-Scores\Lilybook\deneme.lytex...
!!!!!!!!!!!!!!!!
Running latex...The system cannot find the path specified.
!!!!!!!!!!!!!!!!------ this is probably the main error..
lilypond-book.py: error: `latex' failed (signal 1)
lilypond-book.py: error: The error log is as follows:
Traceback (most recent call last):
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1675, in ?
    main ()
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1641, in main
    chunks = do_file (file)
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1503, in do_file
    set_default_options (source)
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 680, in set_default_option
    textwidth = get_latex_textwidth (source)
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1322, in get_latex_textwid
    ly.system ('latex %s' % tmpfile)
  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilylib.py", line 296, in system
    sys.stderr.write (open (error_log_file).read ())
IOError: [Errno 2] No such file or directory: 'tmpb6ycn-latex.errorlog'
**********************
however my environment variables and file locations are as follows:
Path (user) : C:\texmf\miktex\bin;
        %SystemRoot%\system32;
        %SystemRoot%;
        %SystemRoot%\system32\WBEM;
        ...[irrevelant entries removed]...
        LYEDITOR=C:\Program Files\Editors\WinEdit\WinEdt.exe;->this one doesn't seem to work either
        C:\Python24;
        latex=C:\texmf\miktex\bin\latex.exe
       
Path (System) : C:\texmf\miktex\bin;
        %SystemRoot%\system32;%SystemRoot%;
        %SystemRoot%\system32\WBEM;
        C:\Program Files\Utilities\Diskeeper\;
        C:\Python24;
        LYEDITOR=C:\Program Files\Editors\WinEdit\WinEdt.exe;
        latex=C:\texmf\miktex\bin\latex.exe

I messed with them to some extend..
Thanks for any help
-------------
Best regards,
Mehmet Okonşar, pianist-composer
www.okonsar.com
[hidden email]



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

Re: Lilypond-Book (under winXP)-Help on Env. Variables

Mats Bengtsson-6
I'm working on this problem! By the way, please always tell exactly
what LilyPond package you use.

   /Mats

Mehmet Okonsar wrote:

>Hi to all!
>
>while running lilypond-book.py
>
>=====================================
>C:\Program Files\MUSIC\LilyPond\usr\bin>lilypond-book.py --psfonts D:\Lilypond-Scores\Lilybook\deneme.lytex
>=====================================
>
>I got the following error:
>******************
>Reading D:\Lilypond-Scores\Lilybook\deneme.lytex...
>!!!!!!!!!!!!!!!!
>Running latex...The system cannot find the path specified.
>!!!!!!!!!!!!!!!!------ this is probably the main error..
>lilypond-book.py: error: `latex' failed (signal 1)
>lilypond-book.py: error: The error log is as follows:
>Traceback (most recent call last):
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1675, in ?
>    main ()
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1641, in main
>    chunks = do_file (file)
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1503, in do_file
>    set_default_options (source)
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 680, in set_default_option
>    textwidth = get_latex_textwidth (source)
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilypond-book.py", line 1322, in get_latex_textwid
>    ly.system ('latex %s' % tmpfile)
>  File "C:\Program Files\MUSIC\LilyPond\usr\bin\lilylib.py", line 296, in system
>    sys.stderr.write (open (error_log_file).read ())
>IOError: [Errno 2] No such file or directory: 'tmpb6ycn-latex.errorlog'
>**********************
>however my environment variables and file locations are as follows:
>Path (user) : C:\texmf\miktex\bin;
>        %SystemRoot%\system32;
>        %SystemRoot%;
>        %SystemRoot%\system32\WBEM;
>        ...[irrevelant entries removed]...
>        LYEDITOR=C:\Program Files\Editors\WinEdit\WinEdt.exe;->this one doesn't seem to work either
>        C:\Python24;
>        latex=C:\texmf\miktex\bin\latex.exe
>        
>Path (System) : C:\texmf\miktex\bin;
>        %SystemRoot%\system32;%SystemRoot%;
>        %SystemRoot%\system32\WBEM;
>        C:\Program Files\Utilities\Diskeeper\;
>        C:\Python24;
>        LYEDITOR=C:\Program Files\Editors\WinEdit\WinEdt.exe;
>        latex=C:\texmf\miktex\bin\latex.exe
>
>I messed with them to some extend..
>Thanks for any help
>-------------
>Best regards,
>Mehmet Okonşar, pianist-composer
>www.okonsar.com
>[hidden email]
>
>
>
>_______________________________________________
>lilypond-user mailing list
>[hidden email]
>http://lists.gnu.org/mailman/listinfo/lilypond-user
>  
>

--
=============================================
        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
=============================================



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