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: Francisco Vila
Subject: Re: Persistent error on 'make': [Python] ordinal not in range(128)
Date: Thu, 17 Mar 2011 14:27:20 +0100

2011/3/17 Graham Percival <address@hidden>:
> 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.

In my case, it _allowed_ compiling to finish.

>
>> 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.

The error is erratic and has vanished in my side.  I don't know what
caused it or how to reproduce it.  I suspect that trying to build the
'online' target did trigger this, but I am not sure.

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



reply via email to

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