lilypond-devel
[Top][All Lists]
Advanced

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

weird python 2.2 report


From: George Orwell
Subject: weird python 2.2 report
Date: Wed, 15 May 2002 22:06:27 +0000

In case anyone else has trouble:

Trying to build 1.5.55 with python 2.2 installed resulted in an error from deep within the python interpreter (NoneType not callable, from lilypond-book.py working on mf/out/feta16list.ly).

I fixed this by replacing /usr/lib/python2.2/pre.py with a copy of /usr/lib/python2.2/sre.py.

Why? The python regular expressions library changed at v2.0, but for some reason it was still loading the old one. They just added a level of indirection- loading either the old (pre.py) or the new (sre.py) library from one file (re.py), but it wasn't working. The suggested fix (editing re.py) didn't work, as well.

Sorry for the spam, hope this helps someone.
Hans


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




reply via email to

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