Using lilypond-book on Win7 x64

2013-01-02 Thread Olivier Biot
Dear all,

I can't get lilypond-book.py to work.

I added the LilyPond bin directory to %PATH%:
C:\Program Files (x86)\LilyPond\usr\bin

The PATH also contains a working LaTeX (proTeXt):
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\

When enabling verbose mode in lilypond-book.py the following errors are
displayed at the end of lilypond-book.py, I can't get it to work:

Traceback (most recent call last):
  File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
766, in ?
main ()
  File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
689, in main
files = do_options ()
  File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
681, in do_options
exit (2)
  File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
114, in exit
raise Exception (_ ('Exiting (%d)...') % i)
Exception: Exiting (2)...

Best regards,

Olivier
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Hans Aikema

On 2-1-2013 23:03, Olivier Biot wrote:


I added the LilyPond bin directory to %PATH%:
C:\Program Files (x86)\LilyPond\usr\bin

The PATH also contains a working LaTeX (proTeXt):
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\


Olivier,

Don't know for sure, but this might very well be a 32/64-bit issue. 
Could you attempt running it using a 32-bit version of MiKTeX?


32-bit binaries can't execute a 64-bit binary within the same process 
and I would guess that Lilypond-book is attempting to run MiKTeX within 
the same (Windows) process rather than having Windows start a completely 
new 64-bit process to run MiKTeX and pick up the results of MiKTeX 
processing afterwards.


regards,
Hans

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Julien Rioux

On 02/01/2013 5:03 PM, Olivier Biot wrote:

Dear all,

I can't get lilypond-book.py to work.

I added the LilyPond bin directory to %PATH%:
C:\Program Files (x86)\LilyPond\usr\bin

The PATH also contains a working LaTeX (proTeXt):
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\

When enabling verbose mode in lilypond-book.py the following errors are
displayed at the end of lilypond-book.py, I can't get it to work:

Traceback (most recent call last):
   File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
766, in ?
 main ()
   File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
689, in main
 files = do_options ()
   File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
681, in do_options
 exit (2)
   File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line
114, in exit
 raise Exception (_ ('Exiting (%d)...') % i)
Exception: Exiting (2)...

Best regards,

Olivier




That looks like this bug:

http://code.google.com/p/lilypond/issues/detail?id=3052

You could see if you can get around it by undoing the changes to the 
registry that is described here:


http://code.google.com/p/lilypond/issues/detail?id=1455

Cheers,
Julien

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using lilypond-book on Win7 x64

2013-01-02 Thread Olivier Biot
On Wed, Jan 2, 2013 at 11:58 PM, Julien Rioux wrote:

> On 02/01/2013 5:03 PM, Olivier Biot wrote:
>
>> Dear all,
>>
>> I can't get lilypond-book.py to work.
>>
>> I added the LilyPond bin directory to %PATH%:
>> C:\Program Files (x86)\LilyPond\usr\bin
>>
>> The PATH also contains a working LaTeX (proTeXt):
>> C:\Program Files\MiKTeX 2.9\miktex\bin\x64\
>>
>>
> That looks like this bug:
>
> http://code.google.com/p/**lilypond/issues/detail?id=3052
>
> You could see if you can get around it by undoing the changes to the
> registry that is described here:
>
> http://code.google.com/p/**lilypond/issues/detail?id=1455
>
>
> Hi Julien,
>

It is possible, although all I can do for now is manually invoking
lilypond-book.py as follows:

1. Add the LilyPond bin directory to %PATH%:
C:\Program Files (x86)\LilyPond\usr\bin

2. Invoke lilypond-py via Python (doesn't work from command line):
python "\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py"
Kummer_Op_125.lytex

Best regards,

Olivier
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user