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

2011-03-18 Thread Graham Percival
On 3/17/11, Jan Nieuwenhuizen wrote: > Graham Percival schreef op do 17-03-2011 om 18:54 [+]: > >> Well, maybe somebody could spend 15 making this work, then we >> wouldn't need to discuss it any more? > > Please try the attached patch. Also consider I can build on the command-line. IIRC th

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

2011-03-18 Thread Francisco Vila
2011/3/18 Francisco Vila : > I have applied in my tree, removed python/*.pyc and 'make' still says > > /usr/bin/python ../scripts/lilypond-book.py (...) usage.tely > (...) > File "/home/fravd/source/lilypond/python/out/lilylib.py", line 57, in > encoded_write >    f.write (s.encode (f.encoding or '

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

2011-03-18 Thread Francisco Vila
2011/3/17 Jan Nieuwenhuizen : > Graham Percival schreef op do 17-03-2011 om 18:54 [+]: > >> Well, maybe somebody could spend 15 making this work, then we >> wouldn't need to discuss it any more? > > Please try the attached patch. I have applied in my tree, removed python/*.pyc and 'make' still

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

2011-03-17 Thread Jan Nieuwenhuizen
Graham Percival schreef op do 17-03-2011 om 18:54 [+]: > Well, maybe somebody could spend 15 making this work, then we > wouldn't need to discuss it any more? Please try the attached patch. Also consider http://lists.gnu.org/archive/html/bug-lilypond/2011-03/msg00219.html Jan. -- Jan Ni

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

2011-03-17 Thread Graham Percival
On Thu, Mar 17, 2011 at 02:27:20PM +0100, Francisco Vila wrote: > 2011/3/17 Graham Percival : > > 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..4

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

2011-03-17 Thread Francisco Vila
2011/3/17 Graham Percival : > 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 >>

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

2011-03-17 Thread Graham Percival
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 = _

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

2011-03-17 Thread Dmytro O. Redchuk
On Wed 16 Mar 2011, 15:52 Francisco Vila wrote: > >>  def encoded_write(f, s): > >> -    f.write (s.encode (f.encoding or 'utf_8')) > >> +    f.write (s.encode ('utf_8')) > >> > >>  # ugh, Python 2.5 optparse requires Unicode strings in some argument > >>  # functions, and refuse them in some other

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

2011-03-16 Thread Francisco Vila
2011/3/16 Dmytro O. Redchuk : > On Wed 16 Mar 2011, 08:23 Francisco Vila wrote: >> Well, I don't understand why it works, but I have completed 'make' and >> 'make doc' only after this change: >> >> diff --git a/python/lilylib.py b/python/lilylib.py >> index 3bf77f6..4be48e7 100644 >> --- a/python/l

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

2011-03-16 Thread Dmytro O. Redchuk
On Wed 16 Mar 2011, 08:23 Francisco Vila wrote: > Well, I don't understand why it works, but I have completed 'make' and > 'make doc' only after this change: > > diff --git a/python/lilylib.py b/python/lilylib.py > index 3bf77f6..4be48e7 100644 > --- a/python/lilylib.py > +++ b/python/lilylib.py >

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

2011-03-16 Thread Francisco Vila
2011/3/15 Francisco Vila : > Hello. This happens on _fresh_ repositories in one of my systems. > Clues suggest that my python installation is misconfigured. > > make[1]: Entering directory `/home/fravd/source/lilypond/Documentation' > LILYPOND_VERSION=2.13.54 /usr/bin/python ../scripts/lilypond-boo

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

2011-03-15 Thread Francisco Vila
Hello. This happens on _fresh_ repositories in one of my systems. Clues suggest that my python installation is misconfigured. make[1]: Entering directory `/home/fravd/source/lilypond/Documentation' LILYPOND_VERSION=2.13.54 /usr/bin/python ../scripts/lilypond-book.py -I ./ (...) usage.tely ... Uni