lilypond-devel
[Top][All Lists]
Advanced

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

Re: Persistent error on 'make': [Python] ordinal not in range(128)


From: Graham Percival
Subject: Re: Persistent error on 'make': [Python] ordinal not in range(128)
Date: Thu, 17 Mar 2011 12:50:54 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Mar 16, 2011 at 09:34:24AM +0200, Dmytro O. Redchuk wrote:
> On Wed 16 Mar 2011, 08:23 Francisco Vila wrote:
> > diff --git a/python/lilylib.py b/python/lilylib.py
> > index 3bf77f6..4be48e7 100644
> > --- a/python/lilylib.py
> > +++ b/python/lilylib.py
> > @@ -48,7 +48,7 @@ underscore = _
> >  # Maybe guess encoding from LANG/LC_ALL/LC_CTYPE?
> > 
> >  def encoded_write(f, s):
> > -    f.write (s.encode (f.encoding or 'utf_8'))
> > +    f.write (s.encode ('utf_8'))

Note that this patch breaks compiling.

> This is related to at least 1054 and 1073, by the way.

Yes.  Fixing 1073 would take a skilled python programmer about 2
minutes.  For a competent (but not skilled) python programmer like
me, it would be about 5 minutes.

If somebody doesn't have any experience with python whatsoever,
I'll admit that it'd probably be 2-5 hours.

Cheers,
- Graham



reply via email to

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