[Zope-tests] FAILED (failures=6, errors=9) : Zope-trunk Python-2.6.6 : Linux
Zope2 Tests
zope-tests at epy.co.at
Tue Aug 23 01:21:30 EDT 2011
Zope2 Tests : FAILED (failures=6, errors=9)
Zope-trunk Python-2.6.6 : Linux (x86_64)
Running ./bin/test --all
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.094 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.040 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.000 seconds.
Set up OFS.tests.testCopySupportHooks.HookLayer in 0.093 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.042 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportHooks.HookLayer in 0.000 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Failure in test test_zpt_i18n (Products.Five.browser.tests.test_i18n)
Failed doctest test for Products.Five.browser.tests.test_i18n.test_zpt_i18n
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/test_i18n.py", line 17, in test_zpt_i18n
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/test_i18n.py", line 55, in Products.Five.browser.tests.test_i18n.test_zpt_i18n
Failed example:
print http(r'''
GET /test_folder_1_/testoid/@@i18n.html HTTP/1.1
Accept-Language: de
''')
Expected:
HTTP/1.1 200 OK
...
<html>
<body>
<p>Dies ist eine Nachricht</p>
<p>Dies ist eine explizite Nachricht</p>
<p>Dies sind 4 Nachrichten</p>
<p>Dies sind 4 explizite Nachrichten</p>
<table summary="Dies ist ein Attribut">
</table>
<table summary="Explizite Zusammenfassung"
title="Expliziter Titel">
</table>
<p>Dies ist eine Nachricht</p>
<p>Dies ist eine Nachricht</p>
</body>
</html>
...
Got:
HTTP/1.1 200 OK
Content-Length: 363
Content-Type: text/html; charset=utf-8
<BLANKLINE>
<html>
<body>
<p>Dies ist eine Nachricht</p>
<p>Dies ist eine explizite Nachricht</p>
<p>Dies sind 4 Nachrichten</p>
<p>Dies sind 4 explizite Nachrichten</p>
<table summary="Dies ist ein Attribut">
</table>
<table summary="Explizite Zusammenfassung" title="Expliziter Titel">
</table>
<p>Dies ist eine Nachricht</p>
<p>Dies ist eine Nachricht</p>
</body>
</html>
<BLANKLINE>
Failure in test /home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages.txt
Failed doctest test for pages.txt
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages.txt", line 119, in pages.txt
Failed example:
print view()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest pages.txt[38]>", line 1, in <module>
print view()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Failure in test /home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages_ftest.txt
Failed doctest test for pages_ftest.txt
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages_ftest.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages_ftest.txt", line 110, in pages_ftest.txt
Failed example:
for view_name in protected_view_names:
response = self.publish('/test_folder_1_/testoid/%s' % view_name,
basic='viewer:secret')
status = response.getStatus()
self.assertTrue(status == 200, (status, 200, view_name))
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest pages_ftest.txt[25]>", line 5, in <module>
self.assertTrue(status == 200, (status, 200, view_name))
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 325, in failUnless
if not expr: raise self.failureException, msg
AssertionError: (500, 200, 'condor.html')
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/pages_ftest.txt", line 119, in pages_ftest.txt
Failed example:
for view_name in protected_view_names:
response = self.publish('/test_folder_1_/testoid/%s' % view_name,
basic='manager:r00t')
self.assertEqual(response.getStatus(), 200)
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest pages_ftest.txt[26]>", line 4, in <module>
self.assertEqual(response.getStatus(), 200)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test /home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt
Failed doctest test for provider.txt
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt", line 80, in provider.txt
Failed example:
print http(r'''
GET /test_folder_1_/content_obj/main.html HTTP/1.1
''')
Differences (ndiff with -expected +actual):
- HTTP/1.1 200 OK
- ...
+ HTTP/1.1 500 Internal Server Error
+ Content-Length: 1967
+ Content-Type: text/html; charset=utf-8
+ <BLANKLINE>
<html>
- <body>
- <h1>My Web Page</h1>
- <div class="left-column">
- <div class="box">My Message</div>
- </div>
- <div class="main">
- Content here
- </div>
- </body>
- </html>
+ <head><title>Site Error</title></head>
+ <body bgcolor="#FFFFFF">
+ <h2>Site Error</h2>
+ <p>An error was encountered while publishing this resource.
+ </p>
+ <p><strong><type 'exceptions.AttributeError'></strong></p>
+ <BLANKLINE>
+ Sorry, a site error occurred.<p><p>Traceback (innermost last):</p>
+ <ul>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 136, in publish</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.mapply, line 77, in mapply</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 53, in call_object</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.metaconfigure, line 476, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 125, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 59, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 131, in pt_render</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 240, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 266, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 526, in do_optTag_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 508, in no_tag</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 752, in do_insertStructure_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 776, in insertHTMLStructure</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 60, in __init__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talgenerator, line 39, in __init__</li>
+ <BLANKLINE>
+ </ul><p>AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
+ </p></p>
+ <hr noshade="noshade"/>
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>If the error persists please contact the site maintainer.
+ Thank you for your patience.
+ </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt", line 133, in provider.txt
Failed example:
print http(r'''
GET /test_folder_1_/content_obj/namespace.html HTTP/1.1
''')
Differences (ndiff with -expected +actual):
- HTTP/1.1 200 OK
- ...
+ HTTP/1.1 500 Internal Server Error
+ Content-Length: 1967
+ Content-Type: text/html; charset=utf-8
+ <BLANKLINE>
<html>
- <body>
- <h1>My Web Page</h1>
- <div class="left-column">
- <div class="box">Hello World!</div>
- <div class="box">Hello World again!</div>
- </div>
- <div class="main">
- Content here
- </div>
- </body>
- </html>
+ <head><title>Site Error</title></head>
+ <body bgcolor="#FFFFFF">
+ <h2>Site Error</h2>
+ <p>An error was encountered while publishing this resource.
+ </p>
+ <p><strong><type 'exceptions.AttributeError'></strong></p>
+ <BLANKLINE>
+ Sorry, a site error occurred.<p><p>Traceback (innermost last):</p>
+ <ul>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 136, in publish</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.mapply, line 77, in mapply</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 53, in call_object</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.metaconfigure, line 476, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 125, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 59, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 131, in pt_render</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 240, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 266, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 526, in do_optTag_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 508, in no_tag</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 752, in do_insertStructure_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 776, in insertHTMLStructure</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 60, in __init__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talgenerator, line 39, in __init__</li>
+ <BLANKLINE>
+ </ul><p>AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
+ </p></p>
+ <hr noshade="noshade"/>
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>If the error persists please contact the site maintainer.
+ Thank you for your patience.
+ </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt", line 173, in provider.txt
Failed example:
print http(r'''
GET /test_folder_1_/content_obj/namespace2.html HTTP/1.1
''')
Differences (ndiff with -expected +actual):
- HTTP/1.1 200 OK
- ...
+ HTTP/1.1 500 Internal Server Error
+ Content-Length: 1967
+ Content-Type: text/html; charset=utf-8
+ <BLANKLINE>
<html>
- <body>
- <h1>My Web Page</h1>
- <div class="left-column">
- <div class="box,error">Hello World!</div>
- <div class="box,warning">Hello World again!</div>
- </div>
- <div class="main">
- Content here
- </div>
- </body>
- </html>
+ <head><title>Site Error</title></head>
+ <body bgcolor="#FFFFFF">
+ <h2>Site Error</h2>
+ <p>An error was encountered while publishing this resource.
+ </p>
+ <p><strong><type 'exceptions.AttributeError'></strong></p>
+ <BLANKLINE>
+ Sorry, a site error occurred.<p><p>Traceback (innermost last):</p>
+ <ul>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 136, in publish</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.mapply, line 77, in mapply</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 53, in call_object</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.metaconfigure, line 476, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 125, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 59, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 131, in pt_render</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 240, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 266, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 526, in do_optTag_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 508, in no_tag</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 752, in do_insertStructure_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 776, in insertHTMLStructure</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 60, in __init__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talgenerator, line 39, in __init__</li>
+ <BLANKLINE>
+ </ul><p>AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
+ </p></p>
+ <hr noshade="noshade"/>
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>If the error persists please contact the site maintainer.
+ Thank you for your patience.
+ </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/tests/provider.txt", line 217, in provider.txt
Failed example:
print http(r'''
GET /test_folder_1_/content_obj/template_based.html HTTP/1.1
''')
Differences (ndiff with -expected +actual):
- HTTP/1.1 200 OK
- ...
- A simple template: A string for you
+ HTTP/1.1 500 Internal Server Error
+ Content-Length: 1349
+ Content-Type: text/html; charset=utf-8
+ <BLANKLINE>
+ Sorry, a site error occurred.<p><p>Traceback (innermost last):</p>
+ <ul>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 136, in publish</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.mapply, line 77, in mapply</li>
+ <BLANKLINE>
+ <li> Module ZPublisher.Publish, line 53, in call_object</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.metaconfigure, line 476, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 125, in __call__</li>
+ <BLANKLINE>
+ <li> Module Products.Five.browser.pagetemplatefile, line 59, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 131, in pt_render</li>
+ <BLANKLINE>
+ <li> Module zope.pagetemplate.pagetemplate, line 240, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 266, in __call__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 526, in do_optTag_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 508, in no_tag</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 338, in interpret</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 752, in do_insertStructure_tal</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 776, in insertHTMLStructure</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talinterpreter, line 60, in __init__</li>
+ <BLANKLINE>
+ <li> Module zope.tal.talgenerator, line 39, in __init__</li>
+ <BLANKLINE>
+ </ul><p>AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
+ </p></p>
Failure in test /home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt
Failed doctest test for README.txt
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 163, in README.txt
Failed example:
print leftColumn.render().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[41]>", line 1, in <module>
print leftColumn.render().strip()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.viewlet-3.7.2-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 223, in README.txt
Failed example:
print leftColumn.render().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[51]>", line 1, in <module>
print leftColumn.render().strip()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.viewlet-3.7.2-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 236, in README.txt
Failed example:
print leftColumn.render().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[54]>", line 1, in <module>
print leftColumn.render().strip()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.viewlet-3.7.2-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 246, in README.txt
Failed example:
print leftColumn.render().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[57]>", line 1, in <module>
print leftColumn.render().strip()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.viewlet-3.7.2-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 552, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[126]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 598, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[129]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 619, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[131]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /tmp/tmpdptcfH/contents.pt
- Line 5, Column 4
- Expression: <StringExpr u'contents'>
- Names:
{'args': (),
'container': <Container at /test_folder_1_/>,
'context': <Container at /test_folder_1_/>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Container at /test_folder_1_/>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x52b6cb0>,
'request': <zope.publisher.browser.TestRequest instance URL=http://127.0.0.1>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c818d0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from /tmp/tmpdptcfH/contents.pt object at 0x3ded750>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x4d4b950>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.contentprovider-3.7.2-py2.6.egg/zope/contentprovider/tales.py", line 80, in __call__
return provider.render()
File "<doctest README.txt[119]>", line 22, in render
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 672, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[135]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /tmp/tmpdptcfH/contents.pt
- Line 5, Column 4
- Expression: <StringExpr u'contents'>
- Names:
{'args': (),
'container': <Container at /test_folder_1_/>,
'context': <Container at /test_folder_1_/>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Container at /test_folder_1_/>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5413ec0>,
'request': <zope.publisher.browser.TestRequest instance URL=http://127.0.0.1>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c818d0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from /tmp/tmpdptcfH/contents.pt object at 0x3ded750>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x3dedd10>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.contentprovider-3.7.2-py2.6.egg/zope/contentprovider/tales.py", line 80, in __call__
return provider.render()
File "<doctest README.txt[119]>", line 22, in render
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 713, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[137]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /tmp/tmpdptcfH/contents.pt
- Line 5, Column 4
- Expression: <StringExpr u'contents'>
- Names:
{'args': (),
'container': <Container at /test_folder_1_/>,
'context': <Container at /test_folder_1_/>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Container at /test_folder_1_/>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x52b6c00>,
'request': <zope.publisher.browser.TestRequest instance URL=http://127.0.0.1>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c818d0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from /tmp/tmpdptcfH/contents.pt object at 0x3ded750>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x4e44f90>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.contentprovider-3.7.2-py2.6.egg/zope/contentprovider/tales.py", line 80, in __call__
return provider.render()
File "<doctest README.txt[119]>", line 22, in render
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 836, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[149]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /tmp/tmpdptcfH/contents.pt
- Line 5, Column 4
- Expression: <StringExpr u'contents'>
- Names:
{'args': (),
'container': <Container at /test_folder_1_/>,
'context': <Container at /test_folder_1_/>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Container at /test_folder_1_/>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x52b6c00>,
'request': <zope.publisher.browser.TestRequest instance URL=http://127.0.0.1>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c818d0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from /tmp/tmpdptcfH/contents.pt object at 0x3ded750>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x53e5dd0>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.contentprovider-3.7.2-py2.6.egg/zope/contentprovider/tales.py", line 80, in __call__
return provider.render()
File "<doctest README.txt[144]>", line 29, in render
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/README.txt", line 875, in README.txt
Failed example:
print contents().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[151]>", line 1, in <module>
print contents().strip()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /tmp/tmpdptcfH/contents.pt
- Line 5, Column 4
- Expression: <StringExpr u'contents'>
- Names:
{'args': (),
'container': <Container at /test_folder_1_/>,
'context': <Container at /test_folder_1_/>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Container at /test_folder_1_/>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x52b6c00>,
'request': <zope.publisher.browser.TestRequest instance URL=http://127.0.0.1>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c818d0>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>,
'view': <Products.Five.metaclass.SimpleViewClass from /tmp/tmpdptcfH/contents.pt object at 0x3ded750>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x51d4910>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.contentprovider-3.7.2-py2.6.egg/zope/contentprovider/tales.py", line 80, in __call__
return provider.render()
File "<doctest README.txt[144]>", line 29, in render
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Failure in test /home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt
Failed doctest test for directives.txt
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt", line 225, in directives.txt
Failed example:
print manager.render().strip()
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest directives.txt[54]>", line 1, in <module>
print manager.render().strip()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.viewlet-3.7.2-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 816, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt", line 458, in directives.txt
Failed example:
print http(r"""
GET /test_folder_1_/ftf/@@securitytest_view HTTP/1.1
Authorization: Basic manager:r00t
""", handle_errors=False)
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest directives.txt[83]>", line 4, in <module>
""", handle_errors=False)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 453, in publish_module
environ, debug, request, response)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 247, in publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 136, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 53, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt", line 473, in directives.txt
Failed example:
print http(r"""
GET /test_folder_1_/ftf/@@securitytest_view HTTP/1.1
""", handle_errors=False)
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest directives.txt[84]>", line 3, in <module>
""", handle_errors=False)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 453, in publish_module
environ, debug, request, response)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 247, in publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 136, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 53, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/viewlet/directives.txt", line 511, in directives.txt
Failed example:
print http(r"""
GET /test_folder_1_/ftf/@@securitytest_view HTTP/1.1
""", handle_errors=False)
Exception raised:
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest directives.txt[88]>", line 3, in <module>
""", handle_errors=False)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 453, in publish_module
environ, debug, request, response)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 247, in publish_module_standard
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 136, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python26-zope214/src/ZPublisher/Publish.py", line 53, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
return self.index(*args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Error in test testBug151020 (Products.PageTemplates.tests.testZopePageTemplate.ZPTUnicodeEncodingConflictResolution)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testZopePageTemplate.py", line 190, in testBug151020
result = zpt.pt_render()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Error in test testStructureWithAccentedChars (Products.PageTemplates.tests.testZopePageTemplate.ZPTUnicodeEncodingConflictResolution)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testZopePageTemplate.py", line 176, in testStructureWithAccentedChars
result = zpt.pt_render()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Ran 214 tests with 6 failures and 2 errors in 3.688 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.001 seconds.
Ran 18 tests with 6 failures and 0 errors in 0.024 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.001 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.000 seconds.
Ran 2 tests with 6 failures and 0 errors in 0.004 seconds.
Running zope.testrunner.layer.UnitTests tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.001 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
Error in test check_on_error_in_slot_default (Products.PageTemplates.tests.testDTMLTests.DTMLTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testDTMLTests.py", line 186, in check_on_error_in_slot_default
self.t.__of__(aa)()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 95, in __call__
return self.pt_render(extra_context={'options': kwargs})
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zope.location.interfaces.LocationError'>: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- Line 9, Column 12
- Expression: <PathExpr standard:'template/macros/foo'>
- Names:
{'container': <Products.PageTemplates.tests.util.argv object at 0x4566410>,
'context': <Products.PageTemplates.tests.util.argv object at 0x4566410>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Products.PageTemplates.tests.util.argv object at 0x4566410>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5912050>,
'request': None,
'root': <Products.PageTemplates.tests.util.argv object at 0x4566410>,
'template': <Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 77, in boboAwareZopeTraverse
request=request)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 136, in traversePathElement
return traversable.traverse(nm, further_path)
- __traceback_info__: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 50, in traverse
raise LocationError(subject, name)
- __traceback_info__: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros', ['foo'])
LocationError: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
Error in test check_on_error_in_slot_filler (Products.PageTemplates.tests.testDTMLTests.DTMLTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testDTMLTests.py", line 167, in check_on_error_in_slot_filler
self.t.__of__(aa)()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 95, in __call__
return self.pt_render(extra_context={'options': kwargs})
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zope.location.interfaces.LocationError'>: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- Line 8, Column 12
- Expression: <PathExpr standard:'template/macros/foo'>
- Names:
{'container': <Products.PageTemplates.tests.util.argv object at 0x437aa90>,
'context': <Products.PageTemplates.tests.util.argv object at 0x437aa90>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Products.PageTemplates.tests.util.argv object at 0x437aa90>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x59399f0>,
'request': None,
'root': <Products.PageTemplates.tests.util.argv object at 0x437aa90>,
'template': <Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 77, in boboAwareZopeTraverse
request=request)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 136, in traversePathElement
return traversable.traverse(nm, further_path)
- __traceback_info__: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 50, in traverse
raise LocationError(subject, name)
- __traceback_info__: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros', ['foo'])
LocationError: (<Products.PageTemplates.tests.testDTMLTests.AqPageTemplate object at 0x41ebad0>, 'macros')
Error in test check2 (Products.PageTemplates.tests.testHTMLTests.HTMLTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 109, in check2
getProducts=self.getProducts)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 79, in assert_expected
out = t(*args, **kwargs)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 95, in __call__
return self.pt_render(extra_context={'options': kwargs})
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zope.location.interfaces.LocationError'>: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x563fb10>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- Line 1, Column 0
- Expression: <PathExpr standard:'container/laf/macros/page'>
- Names:
{'container': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x586e590>,
'context': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x586e590>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x586e590>,
'loop': {},
'nothing': None,
'options': {'args': (),
'getProducts': <bound method HTMLTests.getProducts of <Products.PageTemplates.tests.testHTMLTests.HTMLTests testMethod=check2>>},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5715a48>,
'request': None,
'root': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x586e590>,
'template': <Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x563f390>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 77, in boboAwareZopeTraverse
request=request)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 136, in traversePathElement
return traversable.traverse(nm, further_path)
- __traceback_info__: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x563fb10>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 50, in traverse
raise LocationError(subject, name)
- __traceback_info__: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x563fb10>, 'macros', ['page'])
LocationError: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x563fb10>, 'macros')
Error in test check3 (Products.PageTemplates.tests.testHTMLTests.HTMLTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 115, in check3
getProducts=self.getProducts)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 79, in assert_expected
out = t(*args, **kwargs)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 95, in __call__
return self.pt_render(extra_context={'options': kwargs})
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zope.location.interfaces.LocationError'>: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x437ae10>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- Line 1, Column 0
- Expression: <PathExpr standard:'container/laf/macros/page'>
- Names:
{'container': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x563f390>,
'context': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x563f390>,
'default': <object object at 0x2ac24aad77b0>,
'here': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x563f390>,
'loop': {},
'nothing': None,
'options': {'args': (),
'getProducts': <bound method HTMLTests.getProducts of <Products.PageTemplates.tests.testHTMLTests.HTMLTests testMethod=check3>>},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x3dec680>,
'request': None,
'root': <Products.PageTemplates.tests.testHTMLTests.Folder object at 0x563f390>,
'template': <Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x437a750>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 77, in boboAwareZopeTraverse
request=request)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 136, in traversePathElement
return traversable.traverse(nm, further_path)
- __traceback_info__: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x437ae10>, 'macros')
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.traversing-3.14.0-py2.6.egg/zope/traversing/adapters.py", line 50, in traverse
raise LocationError(subject, name)
- __traceback_info__: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x437ae10>, 'macros', ['page'])
LocationError: (<Products.PageTemplates.tests.testHTMLTests.AqPageTemplate object at 0x437ae10>, 'macros')
Error in test checkStringExpressions (Products.PageTemplates.tests.testHTMLTests.HTMLTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 127, in checkStringExpressions
self.assert_expected(self.folder.t, 'StringExpression.html')
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testHTMLTests.py", line 79, in assert_expected
out = t(*args, **kwargs)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 95, in __call__
return self.pt_render(extra_context={'options': kwargs})
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
self.insertHTMLStructure(text, repldict)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
gen = AltTALGenerator(repldict, self.engine, 0)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
TALGenerator.__init__(self, expressionCompiler, xml)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'
Error in test testMacroExpansion (Products.PageTemplates.tests.testZopePageTemplate.ZPTMacros)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testZopePageTemplate.py", line 472, in testMacroExpansion
self.assertEqual(pt(), self.result)
File "/home/stefan/autotest/temp/python26-zope214/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python26-zope214/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/ZopePageTemplate.py", line 330, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zExceptions.NotFound'>: macros
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- pt1
- Line 1, Column 0
- Expression: <PathExpr standard:u'template/macros/themacro'>
- Names:
{'container': <Application at >,
'context': <Application at >,
'default': <object object at 0x2ac24aad77b0>,
'here': <Application at >,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x46df100>,
'request': <HTTPRequest, URL=http://foo>,
'root': <Application at >,
'template': <ZopePageTemplate at /pt1>,
'traverse_subpath': [],
'user': <SpecialUser 'Anonymous User'>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/home/stefan/autotest/temp/python26-zope214/src/OFS/Traversable.py", line 340, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope214/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
raise e
- __traceback_info__: ([], 'macros')
NotFound: macros
Error in test testPtErrors (Products.PageTemplates.tests.testZopePageTemplate.ZPTMacros)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/tests/testZopePageTemplate.py", line 478, in testPtErrors
pt.pt_render(source=True)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
result = PageTemplate.pt_render(self, source, extra_context)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
sourceAnnotations=sourceAnnotations
- Warning: Macro expansion failed
- Warning: <class 'zExceptions.NotFound'>: macros
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- pt1
- Line 1, Column 0
- Expression: <PathExpr standard:u'template/macros/themacro'>
- Names:
{'container': <Application at >,
'context': <Application at >,
'default': <object object at 0x2ac24aad77b0>,
'here': <Application at >,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x46e5788>,
'request': <HTTPRequest, URL=http://foo>,
'root': <Application at >,
'template': <ZopePageTemplate at /pt1>}
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python26-zope214/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python26-zope214/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/home/stefan/autotest/temp/python26-zope214/src/OFS/Traversable.py", line 340, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope214/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
raise e
- __traceback_info__: ([], 'macros')
NotFound: macros
Ran 1094 tests with 6 failures and 7 errors in 26.818 seconds.
Tearing down left over layers:
Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1356 tests, 6 failures, 9 errors in 31.400 seconds.
FAILED (failures=6, errors=9)
More information about the Zope-tests
mailing list