Hi all.
I just checked out the latest CVS version of Quixote and
installed it in on a system running Python2.1.
During the install:
/usr/local/lib/python2.1/site-packages/quixote/_py_htmltext.py:81:
SyntaxWarning: local name 'self' in '__mod__'
shadows use of 'self' as global in nested scope 'wraparg'
def __mod__(self, args):
Verifying the installation:
>>> import quixote
>>> quixote.enable_ptl()
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python2.1/site-packages/quixote/__init__.py",
line 32, in enable_ptl
from quixote import ptl_import
File "/usr/local/lib/python2.1/site-packages/quixote/ptl_import.py",
line 23, in ?
from ptl_compile import compile_template, PTL_EXT, PTLC_EXT,
PTLC_MAGIC
File "/usr/local/lib/python2.1/site-packages/quixote/ptl_compile.py",
line 300, in ?
def compile_dir(dir, maxlevels=10, force=False):
NameError: name 'False' is not defined
>>>
I changed False to 0 in the source and the initial demo
appears to work okay. Can somebody please change this
in cvs? Thanks.
Jeff Bauer
Rubicon Research