[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Import XML fails with python error [Macport LilyPond with Frescoblad
Re: Import XML fails with python error [Macport LilyPond with Frescobladi]
Tue, 12 Oct 2021 22:25:08 +0200
Am Dienstag, dem 12.10.2021 um 16:15 -0400 schrieb Jim Weisbin:
> > On Oct 12, 2021, at 4:13 PM, Jonas Hahnfeld <firstname.lastname@example.org>
> > wrote:
> > Am Dienstag, dem 12.10.2021 um 16:02 -0400 schrieb Jim Weisbin:
> > > I was under some pressure to get this working for a client, who
> > > was unfortunately on Mac OS Catalina. I tried importing xml files
> > > with many many different combinations of Lilypond and
> > > Frescobaldi. The only combination I could get to work was with
> > > Frescobaldi 3.1.2 and an "unofficial" build of Lilypond from this
> > > link https://gitlab.com/marnen/lilypond-mac-builder/-
> > > /releases/v2.20.0.build20200311175017
> > > (Fresocobaldi 3.1.3 also failed with errors).
> > >
> > > That combination "worked", but there were too many spurious
> > > details in the output, such as many "stems up" directives that
> > > should not have been there.
> > >
> > > In the end we were able to get things working on another computer
> > > running Mojave, with Frescobaldi 3.1.3 and an official build of
> > > Lilypond version 2.18. Later builds also failed to import
> > > musicxml files.
> > >
> > > In the end that combo seems to work, but completely fails to
> > > import lyrics, with no errors reported.
> > >
> > > I'm no Python expert, but I have done a bit of Python
> > > programming. I tried different versions of Python, but I can see
> > > that the Lilypond application has a Python executable built in.
> > > So does the system's Python ever come into play, and if so, why?
> > > Does Frescobaldi depend on it? Different versions of python on
> > > the system seemed to have no effect on the output errors.
> > Yes, official binaries come with a Python interpreter that should
> > also be used for the script. However, if you install LilyPond from
> > MacPorts, then it is probably going to use whatever Python is
> > installed next to it...
> > Jonas
> I tried the Macports version, but that produced errors as well.
Well yes, that was what the original message said, right? You should
try to locate which Python version LilyPond / Frescobaldi tries to use,
start the interpreter and do "import encodings". If that fails, please
report it to MacPorts so they can fix it on their side.
Description: This is a digitally signed message part