java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.set(ArrayList.java:337) at org.python.core.AstList.pyset(AstList.java:588) at org.python.core.AstList.setslicePySequence(AstList.java:486) at org.python.core.AstList.setslice(AstList.java:463) at org.python.core.AstList.astlist_extend(AstList.java:364) at org.python.core.AstList.extend(AstList.java:368) at org.python.core.AstList.astlist___add__(AstList.java:234) at org.python.core.AstList.__add__(AstList.java:224) at org.python.core.PyObject._basic_add(PyObject.java:2009) at org.python.core.PyObject._add(PyObject.java:1995) at chameleon.compiler$py.visit_MacroProgram$30(/home/mborch/co/redux/src/chameleon/compiler.py:426) at chameleon.compiler$py.call_function(/home/mborch/co/redux/src/chameleon/compiler.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at chameleon.compiler$py.visit$27(/home/mborch/co/redux/src/chameleon/compiler.py:376) at chameleon.compiler$py.call_function(/home/mborch/co/redux/src/chameleon/compiler.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at chameleon.compiler$py.__init__$26(/home/mborch/co/redux/src/chameleon/compiler.py:368) at chameleon.compiler$py.call_function(/home/mborch/co/redux/src/chameleon/compiler.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057) at org.python.core.PyType.type___call__(PyType.java:1565) at org.python.core.PyType.__call__(PyType.java:1548) at org.python.core.PyObject.__call__(PyObject.java:404) at org.python.core.PyObject.__call__(PyObject.java:408) at chameleon.template$py._compile$15(/home/mborch/co/redux/src/chameleon/template.py:171) at chameleon.template$py.call_function(/home/mborch/co/redux/src/chameleon/template.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at chameleon.template$py._cook$13(/home/mborch/co/redux/src/chameleon/template.py:160) at chameleon.template$py.call_function(/home/mborch/co/redux/src/chameleon/template.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:166) at org.python.core.PyFunction.__call__(PyFunction.java:338) at org.python.core.PyMethod.__call__(PyMethod.java:139) at chameleon.template$py.cook$8(/home/mborch/co/redux/src/chameleon/template.py:126) at chameleon.template$py.call_function(/home/mborch/co/redux/src/chameleon/template.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at chameleon.template$py.__init__$4(/home/mborch/co/redux/src/chameleon/template.py:103) at chameleon.template$py.call_function(/home/mborch/co/redux/src/chameleon/template.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at chameleon.zpt.template$py.__init__$2(/home/mborch/co/redux/src/chameleon/zpt/template.py:57) at chameleon.zpt.template$py.call_function(/home/mborch/co/redux/src/chameleon/zpt/template.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057) at org.python.core.PyType.type___call__(PyType.java:1565) at org.python.core.PyType.__call__(PyType.java:1548) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at chameleon.tests.test_templates$py.wrapper$16(/home/mborch/co/redux/src/chameleon/tests/test_templates.py:125) at chameleon.tests.test_templates$py.call_function(/home/mborch/co/redux/src/chameleon/tests/test_templates.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:317) at org.python.core.PyMethod.__call__(PyMethod.java:109) at unittest2.case$py.run$40(/home/mborch/co/redux/unittest2-0.5.1-py2.5.egg/unittest2/case.py:381) at unittest2.case$py.call_function(/home/mborch/co/redux/unittest2-0.5.1-py2.5.egg/unittest2/case.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at unittest2.case$py.__call__$42(/home/mborch/co/redux/unittest2-0.5.1-py2.5.egg/unittest2/case.py:398) at unittest2.case$py.call_function(/home/mborch/co/redux/unittest2-0.5.1-py2.5.egg/unittest2/case.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObjectDerived.__call__(PyObjectDerived.java:975) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at unittest$py.run$45(/opt/jython/Lib/unittest.py:434) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at unittest$py.__call__$46(/opt/jython/Lib/unittest.py:437) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObjectDerived.__call__(PyObjectDerived.java:975) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at unittest$py.run$45(/opt/jython/Lib/unittest.py:434) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at unittest$py.__call__$46(/opt/jython/Lib/unittest.py:437) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObjectDerived.__call__(PyObjectDerived.java:975) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at unittest$py.run$45(/opt/jython/Lib/unittest.py:434) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at unittest$py.__call__$46(/opt/jython/Lib/unittest.py:437) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObjectDerived.__call__(PyObjectDerived.java:975) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at unittest$py.run$45(/opt/jython/Lib/unittest.py:434) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObject._callextra(PyObject.java:527) at unittest$py.__call__$46(/opt/jython/Lib/unittest.py:437) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.PyObjectDerived.__call__(PyObjectDerived.java:975) at org.python.core.PyObject.__call__(PyObject.java:387) at org.python.core.PyObject.__call__(PyObject.java:391) at unittest$py.run$84(/opt/jython/Lib/unittest.py:725) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at unittest$py.runTests$90(/opt/jython/Lib/unittest.py:806) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:317) at org.python.core.PyMethod.__call__(PyMethod.java:109) at unittest$py.__init__$86(/opt/jython/Lib/unittest.py:768) at unittest$py.call_function(/opt/jython/Lib/unittest.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyBaseCode.call(PyBaseCode.java:194) at org.python.core.PyFunction.__call__(PyFunction.java:387) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) at org.python.core.PyMethod.__call__(PyMethod.java:211) at org.python.core.PyMethod.__call__(PyMethod.java:206) at org.python.core.Deriveds.dispatch__init__(Deriveds.java:19) at org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1057) at org.python.core.PyType.type___call__(PyType.java:1565) at org.python.core.PyType.__call__(PyType.java:1548) at org.python.core.PyObject.__call__(PyObject.java:320) at setuptools.command.test$py.run_tests$9(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py:144) at setuptools.command.test$py.call_function(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:317) at org.python.core.PyMethod.__call__(PyMethod.java:109) at setuptools.command.test$py.with_project_on_sys_path$6(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py:122) at setuptools.command.test$py.call_function(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at setuptools.command.test$py.run$8(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py:137) at setuptools.command.test$py.call_function(/opt/jython/Lib/site-packages/distribute-0.6.14-py2.5.egg/setuptools/command/test.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:317) at org.python.core.PyMethod.__call__(PyMethod.java:109) at distutils.dist$py.run_command$24(/opt/jython/Lib/distutils/dist.py:995) at distutils.dist$py.call_function(/opt/jython/Lib/distutils/dist.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:149) at org.python.core.PyFunction.__call__(PyFunction.java:327) at org.python.core.PyMethod.__call__(PyMethod.java:124) at distutils.dist$py.run_commands$23(/opt/jython/Lib/distutils/dist.py:973) at distutils.dist$py.call_function(/opt/jython/Lib/distutils/dist.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:317) at org.python.core.PyMethod.__call__(PyMethod.java:109) at distutils.core$py.setup$2(/opt/jython/Lib/distutils/core.py:170) at distutils.core$py.call_function(/opt/jython/Lib/distutils/core.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyBaseCode.call(PyBaseCode.java:301) at org.python.core.PyFunction.function___call__(PyFunction.java:376) at org.python.core.PyFunction.__call__(PyFunction.java:371) at org.python.pycode._pyx2.f$0(setup.py:52) at org.python.pycode._pyx2.call_function(setup.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1261) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:235) at org.python.util.jython.run(jython.java:247) at org.python.util.jython.main(jython.java:129)