bug-lilypond
[Top][All Lists]
Advanced

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

Re: midi2ly crashed with UnicodeDecodeError in convert_midi()


From: Jan Nieuwenhuizen
Subject: Re: midi2ly crashed with UnicodeDecodeError in convert_midi()
Date: Fri, 18 Mar 2011 23:58:07 +0100

Francisco Vila schreef op vr 18-03-2011 om 23:50 [+0100]:
> 2011/3/18 Jan Nieuwenhuizen <address@hidden>:
> > Francisco Vila schreef op vr 18-03-2011 om 18:57 [+0100]:
> >> 2011/3/18 Jan Nieuwenhuizen <address@hidden>:

> > Eek, why not PATH=$(pwd)/out/bin:$PATH midi2ly ?
> 
> This way both commands work perfectly.  Does this imply that make
> install is not doing its work?

No, it just means that you're most probably not running the
midi2ly (or importing the lilylib.py) that you think you're
running (or importing).

> The good news is that reverting the patch both commands become broken again.

Good, I think we should apply it, then.

> in my case it's /usr/local/share/lilypond/...

Sure

> No, I've put that mark but it is not shown.  We are not using that
> very function.  Why on Earth?

We are using it, but you're running a different file.

    def display_encode (s):
        print 'Yes we are here'
        return s.encode (sys.stderr.encoding or 'utf-8', 'replace')

    23:57:19 address@hidden:~/vc/lilypond
    $ LANG=C PATH=~/vc/lilypond/out/bin:$PATH midi2ly minué
    Yes we are here
    LY output to `minu?-midi.ly'...

Jan.


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  




reply via email to

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