[Zope-Coders] Win32 Tests - Zope HEAD - Too many errors :-(

zope-tests@squishdot.org zope-tests@squishdot.org
Fri, 11 Oct 2002 12:30:20 +0100


==============================================================================
==============================================================================
Python Version:2.1.3 (#35, Apr  8 2002, 17:47:50) [MSC 32 bit (Intel)]

Modules included:
Zope (HEAD)

Module testIterator.py failed to load
exceptions.SyntaxError: invalid syntax (testIterator.py, line 30)
  File "utilities/testrunner.py", line 60, in getSuiteFromFile


======================================================================
ERROR: DTML test 1: if, in, and var:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testDTMLTests.py", line 84, in check1
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 186, in __call__
    self.interpret(self.program)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 655, in do_condition
    self.interpret(block)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 620, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 205, in setRepeat
    it = self._compiler.Iterator(name, expr, self)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 64, in __init__
    ZTUtils.Iterator.__init__(self, seq)
  File "D:\ZopeTests\sandbox\Zope\lib\python\ZTUtils\Iterator.py", line 36, in __init__
    raise TypeError, "Iterator does not support %s" % `seq`
TypeError: Iterator does not support [<arg instance at 0092CDC0>, <arg instance at 00E05518>, <arg instance at 00E51D88>, <arg instance at 02342FF0>, <arg instance at 018222B0>, <arg instance at 018498F8>]
======================================================================
ERROR: DTML test 3: batches and formatting:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testDTMLTests.py", line 133, in check3
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 186, in __call__
    self.interpret(self.program)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 655, in do_condition
    self.interpret(block)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 620, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 205, in setRepeat
    it = self._compiler.Iterator(name, expr, self)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 64, in __init__
    ZTUtils.Iterator.__init__(self, seq)
  File "D:\ZopeTests\sandbox\Zope\lib\python\ZTUtils\Iterator.py", line 36, in __init__
    raise TypeError, "Iterator does not support %s" % `seq`
TypeError: Iterator does not support <batch instance at 01768800>
======================================================================
ERROR: check3 (testHTMLTests.HTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testHTMLTests.py", line 110, in check3
  File "testHTMLTests.py", line 74, in assert_expected
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 186, in __call__
    self.interpret(self.program)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 689, in do_useMacro
    self.interpret(macro)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 712, in do_defineSlot
    self.interpret(slot)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 620, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 205, in setRepeat
    it = self._compiler.Iterator(name, expr, self)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 64, in __init__
    ZTUtils.Iterator.__init__(self, seq)
  File "D:\ZopeTests\sandbox\Zope\lib\python\ZTUtils\Iterator.py", line 36, in __init__
    raise TypeError, "Iterator does not support %s" % `seq`
TypeError: Iterator does not support [{'price': 12.99, 'description': 'This is the tee for those who LOVE Zope. Show your heart on your tee.', 'image': 'smlatee.jpg'}, {'price': 11.99, 'description': "This is the tee for Jim Fulton. He's the Zope Pope!", 'image': 'smpztee.jpg'}]
======================================================================
ERROR: checkBatchIteration (testHTMLTests.HTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testHTMLTests.py", line 140, in checkBatchIteration
  File "testHTMLTests.py", line 74, in assert_expected
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 186, in __call__
    self.interpret(self.program)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 620, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 205, in setRepeat
    it = self._compiler.Iterator(name, expr, self)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 64, in __init__
    ZTUtils.Iterator.__init__(self, seq)
  File "D:\ZopeTests\sandbox\Zope\lib\python\ZTUtils\Iterator.py", line 36, in __init__
    raise TypeError, "Iterator does not support %s" % `seq`
TypeError: Iterator does not support <Batch instance at 008A2F90>
======================================================================
ERROR: checkFancyLoop (testHTMLTests.HTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testHTMLTests.py", line 116, in checkFancyLoop
  File "testHTMLTests.py", line 74, in assert_expected
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 186, in __call__
    self.interpret(self.program)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 230, in interpret
    handlers[opcode](self, args)
  File "D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALInterpreter.py", line 620, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 205, in setRepeat
    it = self._compiler.Iterator(name, expr, self)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\TALES.py", line 64, in __init__
    ZTUtils.Iterator.__init__(self, seq)
  File "D:\ZopeTests\sandbox\Zope\lib\python\ZTUtils\Iterator.py", line 36, in __init__
    raise TypeError, "Iterator does not support %s" % `seq`
TypeError: Iterator does not support [{'legs': 2, 'name': 'fred'}, {'legs': 2, 'name': 'wilma'}, {'legs': 4, 'name': 'dino'}]
======================================================================
ERROR: checkSimpleLoop (testHTMLTests.HTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "testHTMLTests.py", line 113, in checkSimpleLoop
  File "testHTMLTests.py", line 74, in assert_expected
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 101, in __call__
    return self.pt_render(extra_context={'options': kwargs})
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\PageTemplat
<truncated>