Message543
This error occurred during installation, with Solaris 2.7,
ActivePython 2.2.2.
Python complained during roundup-admin initialise, and
the culprit was TALPrefs.py
#near bottom
import cgi
def quote(s, escape=cgi.escape):
return '"%s"' % escape(s, 1)
del cgi
It complains that cgi.escape does not exist. I think this
is related to the new lexical scoping in Python 2.2.
Changing to this, it works:
#near top
from cgi import escape as __cgi_escape
#near bottom
def quote(s, escape=__cgi_escape):
return '"%s"' % escape(s, 1)
|
|
Date |
User |
Action |
Args |
2009-02-03 14:20:10 | admin | link | issue655492 messages |
2009-02-03 14:20:10 | admin | create | |
|