Re: convert-ly error

2021-01-13 Thread Knute Snortum
On Tue, Jan 12, 2021 at 4:27 PM keith Luke  wrote:
>
>  Have any Windows 10 LP2.22.0 successfully run convert-ly?
>
> I uninstalled LP2.22.0 and reinstalled it in c:\Program Files (x86)\LilyPond
> Here is my Path variable:
>
> PATH=C:\Program Files 
> (x86)\LilyPond;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\sysinternals;C:\Program
>  Files (x86)\LilyPond\usr\bin;C:\Program Files\Dell\Dell Wireless WLAN 
> Card;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\ATI 
> Technologies\ATI.ACE\Core-Static;C:\Program 
> Files\Git\cmd;C:\Ruby26-x64\bin;C:\Users\K2L2\AppData\Local\Microsoft\WindowsApps
>
> lilypond.exe is recognized as a program
>
> lilypond-book and convert-ly do not have “.exe” extension and are only 
> recognized as files.
>
> Directory of C:\Program Files (x86)\LilyPond\usr\bin
>
>
> 01/10/2021 04:40 AM 27,690 lilypond-book
>
> 01/10/2021 04:50 AM 9,106,393 lilypond.exe
>
> 01/10/2021 04:40 AM 14,196 convert-ly
>
> Typing lilypond invokes the lilypond program:
>
> c:\Program Files (x86)\LilyPond\usr\bin>lilypond
>
> GNU LilyPond 2.22.0
>
> Usage: lilypond [OPTION]... FILE...
>
> Typeset music and/or produce MIDI from FILE.
>
> LilyPond produces beautiful music notation.
>
> For more information, see https://lilypond.org
>
> Typing convert-ly fails:
>
> c:\Program Files (x86)\LilyPond\usr\bin>convert-ly
>
> 'convert-ly' is not recognized as an internal or external command,
>
> operable program or batch file.
>
> Note the ">" is my prompt character.
>
>
> On Tue, Jan 12, 2021 at 12:39 PM Michael Hendry  
> wrote:
>>
>> > On 12 Jan 2021, at 20:12, keith Luke  wrote:
>> >
>> > I just installed lilypond 2.20.0 and tried running convert-ly to update 
>> > old versions of scores.
>> >
>> > I get the following error messages:
>> >
>> > C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
>> > 'convert-ly' is not recognized as an internal or external command,
>> > operable program or batch file.
>> >
>> > How do I get convert-ly to run?
>> >
>> > Thanks,
>> >
>> > Keith Luke
>>
>> Could the problem be the “>” sign in the path reported in the error message?
>>
>> > C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
>>
>> "C:\LilyPond220\usr\bin\convert-ly -e alice2.ly” looks more promising.
>>
>> Regards,
>>
>> Michael Hendry

I believe there's a problem in the Windows distribution where certain
utilities did not get the extensions they needed.  In particular,
"convert-ly" should be "convert-ly.py".  Simply renaming the file
should do the trick.

--
Knute Snortum



Re: convert-ly error

2021-01-13 Thread Werner LEMBERG


> `convert-ly` is a python script.  For Windows, rename the file
>
>   c:\Program Files (x86)\usr\bin\convert-ly
>
> to
>
>   convert-ly.py
> 
> Then Windows will know to run the python interpreter on this file.
> 
> NOTE: This script works as is on Linux because the first line of the
> script says to run python on the file.  But that's for Linux.
> Windows doesn't know about
>
>   #!/usr/bin/python3

I consider this a distribution bug that should be fixed for the
Windows tarball; I'm thus sending this e-mail to 'bug-lilypond'.


Werner



Re: convert-ly error

2021-01-12 Thread keith Luke
 Thanks, Dan.  Renaming convert-ly to convert-ly.py worked.

On Tue, Jan 12, 2021 at 5:07 PM Daniel Connors  wrote:

> convert-ly is a python script.  For Windows, rename *the file c:\Program
> Files (x86)\usr\bin\convert-ly to convert-ly.py*
>
> *Then Windows will know to run the python interpreter on this file.*
>
> *NOTE:  This script works as is on Linux because the first line of the
> script says to run python on the file.  But that's for Linux.  Windows
> doesn't know about #!/usr/bin/python3.*
>
> *Dan Connors*
>


Re: convert-ly error

2021-01-12 Thread Daniel Connors
 convert-ly is a python script.  For Windows, rename *the file c:\Program
Files (x86)\usr\bin\convert-ly to convert-ly.py*

*Then Windows will know to run the python interpreter on this file.*

*NOTE:  This script works as is on Linux because the first line of the
script says to run python on the file.  But that's for Linux.  Windows
doesn't know about #!/usr/bin/python3.*

*Dan Connors*


Re: convert-ly error

2021-01-12 Thread keith Luke
 Have any Windows 10 LP2.22.0 successfully run convert-ly?

I uninstalled LP2.22.0 and reinstalled it in *c:\Program Files
(x86)\LilyPond*
Here is my Path variable:

PATH=C:\Program Files
(x86)\LilyPond;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\sysinternals;*C:\Program
Files (x86)\LilyPond\usr\bin**;*C:\Program Files\Dell\Dell Wireless WLAN
Card;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\ATI
Technologies\ATI.ACE\Core-Static;C:\Program
Files\Git\cmd;C:\Ruby26-x64\bin;C:\Users\K2L2\AppData\Local\Microsoft\WindowsApps

lilypond.exe is recognized as a program

lilypond-book and convert-ly do not have “.exe” extension and are only
recognized as files.

Directory of C:\Program Files (x86)\LilyPond\usr\bin


01/10/2021 04:40 AM 27,690 lilypond-book

01/10/2021 04:50 AM 9,106,393 lilypond.exe

01/10/2021 04:40 AM 14,196 convert-ly

Typing lilypond invokes the lilypond program:

c:\Program Files (x86)\LilyPond\usr\bin>lilypond

GNU LilyPond 2.22.0

Usage: lilypond [OPTION]... FILE...

Typeset music and/or produce MIDI from FILE.

LilyPond produces beautiful music notation.

For more information, see https://lilypond.org

Typing convert-ly fails:

c:\Program Files (x86)\LilyPond\usr\bin>convert-ly

'convert-ly' is not recognized as an internal or external command,

operable program or batch file.

Note the ">" is my prompt character.


On Tue, Jan 12, 2021 at 12:39 PM Michael Hendry 
wrote:

> > On 12 Jan 2021, at 20:12, keith Luke  wrote:
> >
> > I just installed lilypond 2.20.0 and tried running convert-ly to update
> old versions of scores.
> >
> > I get the following error messages:
> >
> > C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
> > 'convert-ly' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > How do I get convert-ly to run?
> >
> > Thanks,
> >
> > Keith Luke
>
> Could the problem be the “>” sign in the path reported in the error
> message?
>
> > C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
>
> "C:\LilyPond220\usr\bin\convert-ly -e alice2.ly” looks more promising.
>
> Regards,
>
> Michael Hendry


Re: convert-ly error

2021-01-12 Thread Federico Bruni
On Tue, Jan 12 2021 at 10:39:40 PM +, Michael Hendry 
 wrote:
Could the problem be the “>” sign in the path reported in the 
error message?



 C:\LilyPond220\usr\bin>convert-ly -e alice2.ly


I think it's the command line prompt symbol. In other words, he entered 
that directory and launched the command in that directory as it was in 
the PATH instead of calling that file. I don't know Windows, but in 
Linux you would have used ./convert-ly in that directory.


Anyway, the best suggestion is adding the binary path to the system 
PATH.







Re: convert-ly error

2021-01-12 Thread Michael Hendry
> On 12 Jan 2021, at 20:12, keith Luke  wrote:
> 
> I just installed lilypond 2.20.0 and tried running convert-ly to update old 
> versions of scores.
> 
> I get the following error messages:
> 
> C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
> 'convert-ly' is not recognized as an internal or external command,
> operable program or batch file.
> 
> How do I get convert-ly to run?
> 
> Thanks,
> 
> Keith Luke

Could the problem be the “>” sign in the path reported in the error message?

> C:\LilyPond220\usr\bin>convert-ly -e alice2.ly

"C:\LilyPond220\usr\bin\convert-ly -e alice2.ly” looks more promising.

Regards,

Michael Hendry


Re: convert-ly error

2021-01-12 Thread Federico Bruni




On Tue, Jan 12 2021 at 10:12:04 AM -1000, keith Luke 
 wrote:
I just installed lilypond 2.20.0 and tried running convert-ly to 
update old versions of scores.


I get the following error messages:

C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
'convert-ly' is not recognized as an internal or external command,
operable program or batch file.

How do I get convert-ly to run?




I guess you did not add that path - C:\LilyPond220\usr\bin - to the 
PATH variable, as described here:

http://lilypond.org/doc/v2.22/Documentation/web/windows






convert-ly error

2021-01-12 Thread keith Luke
I just installed lilypond 2.20.0 and tried running convert-ly to update old
versions of scores.

I get the following error messages:

C:\LilyPond220\usr\bin>convert-ly -e alice2.ly
'convert-ly' is not recognized as an internal or external command,
operable program or batch file.

How do I get convert-ly to run?

Thanks,

Keith Luke


convert-ly error

2020-04-09 Thread Thomas Scharkowski

% convert-ly
ImportError: Bad magic number in 
/Applications/Frescobaldi.app/Contents/Resources/site.pyc


LilyPond 2.20.0
LilyPond 2.19.84

macOS 10.15.4


When I use the command from Frecobaldi (3.1.1) I get the following:

arch: posix_spawnp: 
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7: 
Bad CPU type in executable


Thank you,
Thomas



convert-ly error / Frescobaldi

2019-11-10 Thread Thomas Scharkowski
Convert-ly does not work if started from Frescobaldi, generating this 
message:


--
arch: posix_spawnp: 
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7: 
Bad CPU type in executable



The document has not been changed.
--

Convert-ly works normally when started from Terminal.


macOS 10.15.1
LilyPond 2.19.83 (MacPorts)
Frescobaldi 2.20





convert-ly error

2008-11-17 Thread Nick Payne
I've seen this error several times when running convert-ly. I think it must
be a timing problem of some sort because when I run the identical command
again it always succeeds on the 2nd execution:

Running 2.11.63 on XP.

=
convert-ly.py --edit "C:\nick\Lilypond\Adagio\notes.ly"
convert-ly.py (GNU LilyPond) 2.11.63
Processing `C:\nick\Lilypond\Adagio\notes.ly'... 
Applying conversion: 2.11.2, 2.11.5, 2.11.6, 2.11.10, 2.11.11, 2.11.13,
2.11.15, 2.11.23, 2.11.35, 2.11.38, 2.11.46, 2.11.48, 2.11.50, 2.11.51,
2.11.52, 2.11.53, 2.11.55, 2.11.57, 2.11.60, 2.11.61, 2.11.62 Traceback
(most recent call last):
  File "c:\Program Files\LilyPond\usr\bin\convert-ly.py", line 318, in ?
main ()
  File "c:\Program Files\LilyPond\usr\bin\convert-ly.py", line 312, in main
do_one_file (f)
  File "c:\Program Files\LilyPond\usr\bin\convert-ly.py", line 263, in
do_one_file
os.rename (infile_name, infile_name + '~')
OSError: [Errno 13] Permission denied
Processing time: 0 seconds

convert-ly.py --edit "C:\nick\Lilypond\Adagio\notes.ly"
convert-ly.py (GNU LilyPond) 2.11.63
Processing `C:\nick\Lilypond\Adagio\notes.ly'... 
Applying conversion: 2.11.2, 2.11.5, 2.11.6, 2.11.10, 2.11.11, 2.11.13,
2.11.15, 2.11.23, 2.11.35, 2.11.38, 2.11.46, 2.11.48, 2.11.50, 2.11.51,
2.11.52, 2.11.53, 2.11.55, 2.11.57, 2.11.60, 2.11.61, 2.11.62 Processing
time: 0 seconds

=

Nick




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


Re: convert-ly error?

2006-08-03 Thread David Griffel

Your workaround did the trick,

thanks very much,
David

on 03/08/2006 12:00 Mats Bengtsson wrote:
It's a bug, see 
http://lists.gnu.org/archive/html/bug-lilypond/2006-07/msg00089.html

One workaround is to remove the files lilylib.py and convertrules.py in
C:\Program Files\LilyPond\usr\share\lilypond\current\python\

  /Mats

David Griffel wrote:


I just installed 2.9.13 on WinXP after uninstalling 2.8.5

I tried to convert a .ly file, with first line
\version "2.8.5"

It failed. Here's the ouput from the console window.


C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>convert-ly -e 
geheimni.ly

Traceback (most recent call last):
  File "C:\PROGRA~1\LilyPond\usr\bin\convert-ly.py", line 39, in ?
import lilylib as ly
SystemError: NULL result without error in PyObject_Call

C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>


My mistake, or a program bug?

David


___
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


Re: convert-ly error?

2006-08-03 Thread Mats Bengtsson
It's a bug, see 
http://lists.gnu.org/archive/html/bug-lilypond/2006-07/msg00089.html

One workaround is to remove the files lilylib.py and convertrules.py in
C:\Program Files\LilyPond\usr\share\lilypond\current\python\

  /Mats

David Griffel wrote:


I just installed 2.9.13 on WinXP after uninstalling 2.8.5

I tried to convert a .ly file, with first line
\version "2.8.5"

It failed. Here's the ouput from the console window.


C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>convert-ly -e 
geheimni.ly

Traceback (most recent call last):
  File "C:\PROGRA~1\LilyPond\usr\bin\convert-ly.py", line 39, in ?
import lilylib as ly
SystemError: NULL result without error in PyObject_Call

C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>


My mistake, or a program bug?

David


___
lilypond-user mailing list
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


convert-ly error?

2006-08-03 Thread David Griffel

I just installed 2.9.13 on WinXP after uninstalling 2.8.5

I tried to convert a .ly file, with first line
\version "2.8.5"

It failed. Here's the ouput from the console window.


C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>convert-ly -e 
geheimni.ly

Traceback (most recent call last):
  File "C:\PROGRA~1\LilyPond\usr\bin\convert-ly.py", line 39, in ?
import lilylib as ly
SystemError: NULL result without error in PyObject_Call

C:\DOCUME~1\ALLUSE~1\DOCUME~1\_DAVID~1\LILY\CLAV-S~1>


My mistake, or a program bug?

David


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


Re: convert-ly error (Was: avoid-slur not set)

2006-07-31 Thread Mats Bengtsson

It seems that Han-Wen fixed this bug as soon as he saw your email.
I have back-ported the fix also to appear in the next 2.8.x version.

  /Mats

Henrik Frisk wrote:


The subject on this message was wrong. Sorry about that. Dunno what
happend...

 





Subject:
avoid-slur not set
From:
Henrik Frisk <[EMAIL PROTECTED]>
Date:
Tue, 25 Jul 2006 00:23:08 +0200
To:
lilypond-user@gnu.org

To:
lilypond-user@gnu.org


Hello,

I've been away from the list for some time. Noticed
that convert-ly erroneously (?) changed my \epsfile markups in a file
version 2.7.15 to \\epsfile when updating it to 2.9.13. This is on the
OSX version.


\version "2.7.15"

\new Staff \relative c' {
   c4^\markup {\epsfile #"nss.eps"}
}



results in 



\version "2.9.11"

\new Staff \relative c' {
   c4^\markup {\\epsfile #X #10 #"nss.eps"}
}


/henrik
 




___
lilypond-user mailing list
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


convert-ly error (Was: avoid-slur not set)

2006-07-25 Thread Henrik Frisk
The subject on this message was wrong. Sorry about that. Dunno what
happend...

--- Begin Message ---
Hello,

I've been away from the list for some time. Noticed
that convert-ly erroneously (?) changed my \epsfile markups in a file
version 2.7.15 to \\epsfile when updating it to 2.9.13. This is on the
OSX version.


\version "2.7.15"

\new Staff \relative c' {
c4^\markup {\epsfile #"nss.eps"}
}



results in 


\version "2.9.11"

\new Staff \relative c' {
c4^\markup {\\epsfile #X #10 #"nss.eps"}
}


/henrik
--- End Message ---
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


version (convert-ly) error in Pedro's 2.3.22

2004-10-12 Thread Paul Scott
With Pedro's 2.3.22 Debian packages I get:
Now processing `pagetest.ly'
Parsing...
error: Incorrect lilypond version: 2.2.0 (2.3.22, 2.3.22)
error: Consider updating the input with the convert-ly script
Interpreting music... [5]

Converting to `pagetest.pdf'...
error: failed files: pagetest.ly
Paul Scott

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user