durusmail: quixote-users: Quixote, Zope, Python2.1
Quixote, Zope, Python2.1
2003-02-08
2003-02-09
2003-02-09
2003-02-11
ANN: Generating REST-ful Quixote applications
2003-02-12
2003-02-13
2003-02-23
2003-02-24
2003-02-26
2003-03-05
Quixote, Zope, Python2.1
Jeff Bauer
2003-02-23
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

reply