[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ModuleNotFoundError while doing musicxml2ly
From: |
Thomas Morley |
Subject: |
Re: ModuleNotFoundError while doing musicxml2ly |
Date: |
Thu, 30 Jul 2020 23:08:42 +0200 |
Am Do., 30. Juli 2020 um 22:28 Uhr schrieb Thomas Morley
<thomasmorley65@gmail.com>:
>
> Am Do., 30. Juli 2020 um 22:26 Uhr schrieb Thomas Morley
> <thomasmorley65@gmail.com>:
> >
> > Am Do., 30. Juli 2020 um 08:29 Uhr schrieb Jonas Hahnfeld
> > <hahnjo@hahnjo.de>:
> > >
> > > Am Mittwoch, den 29.07.2020, 23:04 +0200 schrieb Thomas Morley:
> > > > Hi,
> > > >
> > > > testing a new patch locally a .xml-file popped up.
> > > >
> > > > While having a closer look I tried to convert it to a ly-file with
> > > > ~$ lilypond-git/build/out/bin/musicxml2ly
> > > > lilypond-git/input/regression/musicxml/71d-ChordsFrets-Multistaff.xml
> > > >
> > > > -->
> > > >
> > > > Traceback (most recent call last):
> > > > File "lilypond-git/build/out/bin/musicxml2ly", line 38, in <module>
> > > > import musicexp
> > > > ModuleNotFoundError: No module named 'musicexp'
> > > >
> > > > Any insights whats going on?
> > >
> > > Should be fixed by
> > > https://gitlab.com/lilypond/lilypond/-/merge_requests/282.
> > >
> > > Cheers
> > > Jonas
> >
> > Hi Jonas,
> >
> > I tried to download and switch to your branch.
> >
> > Doing
> > $ git log --oneline
> > returns
> > 598d3a9b93 (HEAD -> hahnjo/lilypond-scripts-relocate) Unify dynamic
> > relocation for Python scripts
> > 6ea7b23ba3 Drop all variants of libdir and lib-prefix
> > 4cb4e2747d Fix relocation for Python scripts
> > 4ac82e5e7f Add .setsafe for Ghostscript command
> > ...
> >
> > Looks ok, imho.
> >
> > Then:
> > hermann@kasten ~/lilypond-git/build
> > (hahnjo/lilypond-scripts-relocate)$ out/bin/musicxml2ly --version
> >
> > -->
> >
> > Traceback (most recent call last):
> > File "out/bin/musicxml2ly", line 38, in <module>
> > import musicexp
> > ModuleNotFoundError: No module named 'musicexp'
> >
> > :(
> >
> > Cheers,
> > Harm
>
> Uh, I forgot those are not simple scm-files. Need to recompile...
>
> Sorry for the noise,
> Harm
Works now and helped me to detect a flaw in my recent patch.
Thanks,
Harm