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 19:26:53 +0100

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 ?

> 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

to read

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

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]