lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attempt to run 2.23.9 convert-ly fails


From: Kenneth Wolcott
Subject: Re: Attempt to run 2.23.9 convert-ly fails
Date: Wed, 25 May 2022 10:01:32 -0700

Hi David;

  I see my mistake now.  I downloaded the documentation after I
downloaded the package and then I merged them incorrectly.

  Sorry for the noise.

Thanks,
Ken

On Wed, May 25, 2022 at 9:06 AM David Wright <lilylis@lionunicorn.co.uk> wrote:
>
> On Tue 24 May 2022 at 23:10:36 (-0700), Kenneth Wolcott wrote:
> > On Tue, May 24, 2022 at 10:35 PM Kenneth Wolcott
> > <kennethwolcott@gmail.com> wrote:
> > >
> > > ~/Downloads/lilypond-2.23.9/bin/convert-ly
> > > ../../lp_2.22.2/source/Twelve_Days_of_Christmas_arranged_for_Brass_Quintet.ly
> > > > ./Twelve_Days_of_Christmas_arranged_for_Brass_Quintet.ly
> > > Traceback (most recent call last):
> > >   File 
> > > "/Users/kwolcott/Downloads/lilypond-2.23.9/bin/../libexec/convert-ly",
> > > line 82, in <module>
> > >     import convertrules
> > > ModuleNotFoundError: No module named 'convertrules'
> >
> >   I also tried to run convert-ly from its "installed" location and the
> > same error message is the result.
>
> I can't replicate this on Debian bullseye:
>
>   $ ~/lilypond-2.23.9-linux-x86_64/bin/convert-ly ./hp-ksba.ly
>   convert-ly (GNU LilyPond) 2.23.9
>
>   convert-ly: Processing `./hp-ksba.ly'...
>   Applying conversion: 2.19.2, 2.19.7, 2.19.11, 2.19.16, 2.19.22, 2.19.24, 
> 2.19.28, 2.19.29, 2.19.32, 2.19.39, 2.19.40, 2.19.46, 2.19.49, 2.20.0, 
> 2.21.0, 2.21.2, 2.23.1, 2.23.2, 2.23.3, 2.23.4, 2.23.5, 2.23.6, 2.23.7, 
> 2.23.8, 2.23.9
>
>
>   \version "2.23.9"
>   \language english
>   [ … ]
>
> Two suggestions (pick whichever's easiest) for you to
> see if the rules are missing (substitute your path):
>
> $ find lilypond-2.23.9-linux-x86_64/ -name convertrules\*
> lilypond-2.23.9-linux-x86_64/share/lilypond/2.23.9/python/__pycache__/convertrules.cpython-310.pyc
> lilypond-2.23.9-linux-x86_64/share/lilypond/2.23.9/python/convertrules.py
> $
>
> $ grep -r -e convertrules -e 'rule((2, 23, 9)' lilypond-2.23.9-linux-x86_64/
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:# converting rules are found 
> in python/convertrules.py
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:import convertrules
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:    return 
> convertrules.conversions[-1][0]
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:    for x in 
> convertrules.conversions:
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:    conv_list = [conv for 
> conv in convertrules.conversions if from_version < conv[0] <= to_version]
> lilypond-2.23.9-linux-x86_64/libexec/convert-ly:    except 
> convertrules.FatalConversionError:
> grep: 
> lilypond-2.23.9-linux-x86_64/share/lilypond/2.23.9/python/__pycache__/convertrules.cpython-310.pyc:
>  binary file matches
> lilypond-2.23.9-linux-x86_64/share/lilypond/2.23.9/python/convertrules.py:@rule((2,
>  23, 9), r"""
> lilypond-2.23.9-linux-x86_64/share/lilypond/2.23.9/python/book_base.py:# 
> Taken from `convertrules.py`.
> $
>
> Cheers,
> David.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]