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: Francisco Vila
Subject: Re: midi2ly crashed with UnicodeDecodeError in convert_midi()
Date: Fri, 18 Mar 2011 23:50:38 +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>:
>
>> i.e. your second patch is applied.  Then I do
>>
>> rm python/*.pyc
>> make -C python/
>> make
>> sudo make install
>
> 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?

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

>> midi2ly minué.midi
>> LANG= midi2ly minué.midi
>> LANG=C midi2ly minué.midi
>> LANG=c midi2ly minué.midi
>> convert-ly minué.ly
>> LANG= convert-ly minué.ly
>> LANG=C convert-ly minué.ly
>> LANG=c convert-ly minué.ly
>>
>> all fail with
>
> Weird.  It says: replace and that's what happens over
> here.  Can you please double-check that the function with
> 'replace' is being used?  Eg, edit
>
>   /usr/share/lilypond/2.13.55/python/lilylib.py

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

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

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

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com



reply via email to

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