[Testbot] FAILED (failures=27, errors=2) : ATCT-trunk Plone-trunk Zope-trunk Python-2.5.4
ATContentTypes Tests
plone-tests at epy.co.at
Wed Mar 4 06:24:36 UTC 2009
ATContentTypes Tests : FAILED (failures=27, errors=2)
ATCT-trunk Plone-trunk Zope-trunk Python-2.5.4
Running /usr/local/python2.5/bin/python ./bin/test --package Products.ATContentTypes
Running Products.PloneTestCase.layer.PloneSite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 2.866 seconds.
Set up Products.PloneTestCase.layer.ZCML in 14.431 seconds.
Set up Products.PloneTestCase.layer.PloneSite in 8.213 seconds.
Failure in test test_createObject (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_id_change_on_initial_edit (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_atdocument.py", line 287, in test_id_change_on_initial_edit
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atevent.TestATEventFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atevent.TestATEventFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atfile.TestATFileFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfile.TestATFileFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atfolder.TestATFolderFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfolder.TestATFolderFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atfolder.TestATBTreeFolderFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfolder.TestATBTreeFolderFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atimage.TestATImageFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atimage.TestATImageFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atlink.TestATLinkFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atlink.TestATLinkFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_createObject (Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 73, in test_createObject
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Failure in test test_edit_view (Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 87, in test_edit_view
self.failUnlessEqual(response.getStatus(), 200) # OK
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Error in test test_setLayoutUnsetsDefaultPage (Products.ATContentTypes.tests.test_browserdefaultmixin.TestBrowserDefaultMixin)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_browserdefaultmixin.py", line 114, in test_setLayoutUnsetsDefaultPage
resolved = self.af.unrestrictedTraverse(layout)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 531, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
self.interpret(slot)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 852, in do_condition
self.interpret(block)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 867, in do_useMacro
macro = self.engine.evaluateMacro(macroExpr)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 123, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 75, in boboAwareZopeTraverse
request=request)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.traversing-3.5.2-py2.5.egg/zope/traversing/adapters.py", line 139, in traversePathElement
return traversable.traverse(nm, further_path)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.traversing-3.5.2-py2.5.egg/zope/traversing/adapters.py", line 53, in traverse
raise LocationError(subject, name)
LocationError: (<Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/browser/folder_listing.pt object at 0x4322decc>, 'macros')
Error in test test_reference_vocab (Products.ATContentTypes.tests.test_criteria.TestATReferenceCriterion)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_criteria.py", line 438, in test_reference_vocab
vocab = self.dummy.getCurrentValues()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/criteria/reference.py", line 35, in getCurrentValues
display.append(title_or_id.lower(), b.UID, title_or_id)
TypeError: append() takes exactly one argument (3 given)
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt
Failed doctest test for events.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 67, in events.txt
Failed example:
ignore = d.PUT(request, request.RESPONSE)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[16]>", line 1, in <module>
ignore = d.PUT(request, request.RESPONSE)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/WebDAVSupport.py", line 133, in PUT
event.notify(WebDAVObjectEditedEvent(self))
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.event-3.4.0-py2.5.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.5.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.5.egg/zope/component/_api.py", line 131, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.5.egg/zope/component/registry.py", line 300, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.interface-3.5.0-py2.5-linux-i686.egg/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 47, in webdavObjectEdited
return webdavObjectEventHandler(event, comment='Edited (WebDAV)')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 33, in webdavObjectEventHandler
changed = isObjectChanged(obj)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/utilities.py", line 91, in isObjectChanged
pr = getToolByName(obj, 'portal_repository')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/utils.py", line 125, in getToolByName
raise AttributeError, name
AttributeError: portal_repository
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt
Failed doctest test for editing.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 15, in editing.txt
Failed example:
browser.getControl('Login Name').value = 'test_user_1_'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[4]>", line 1, in <module>
browser.getControl('Login Name').value = 'test_user_1_'
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 16, in editing.txt
Failed example:
browser.getControl('Password').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[5]>", line 1, in <module>
browser.getControl('Password').value = 'secret'
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 17, in editing.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[6]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 35, in editing.txt
Failed example:
browser.open(url+'/edit')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[12]>", line 1, in <module>
browser.open(url+'/edit')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
response = UserAgentBase.open(self, request, data)
File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
response = urlopen(self, req, data)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/Five/testbrowser.py", line 85, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
return inherited_call(self, *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 123, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
File "PythonExpr", line 1, in <expression>
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
return Script.__call__(self, *args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in at_isEditable
Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 36, in editing.txt
Failed example:
browser.getControl('Title').value = ''
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[13]>", line 1, in <module>
browser.getControl('Title').value = ''
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 37, in editing.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[14]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 54, in editing.txt
Failed example:
browser.open(url+'/edit')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[20]>", line 1, in <module>
browser.open(url+'/edit')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
response = UserAgentBase.open(self, request, data)
File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
response = urlopen(self, req, data)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/Five/testbrowser.py", line 85, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
return inherited_call(self, *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 123, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
File "PythonExpr", line 1, in <expression>
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
return Script.__call__(self, *args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in at_isEditable
Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 55, in editing.txt
Failed example:
browser.getControl('Title').value = ''
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[21]>", line 1, in <module>
browser.getControl('Title').value = ''
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 56, in editing.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[22]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 68, in editing.txt
Failed example:
browser.open(url+'/edit')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[25]>", line 1, in <module>
browser.open(url+'/edit')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
response = UserAgentBase.open(self, request, data)
File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
response = urlopen(self, req, data)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/Five/testbrowser.py", line 85, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
return inherited_call(self, *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 123, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
File "PythonExpr", line 1, in <expression>
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
return Script.__call__(self, *args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in at_isEditable
Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 69, in editing.txt
Failed example:
browser.getControl('Save').name
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[26]>", line 1, in <module>
browser.getControl('Save').name
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 72, in editing.txt
Failed example:
browser.getControl('Cancel').name
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[27]>", line 1, in <module>
browser.getControl('Cancel').name
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 93, in editing.txt
Failed example:
browser.open(url+'/edit')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[37]>", line 1, in <module>
browser.open(url+'/edit')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 236, in _mech_open
response = UserAgentBase.open(self, request, data)
File "build/bdist.linux-i686/egg/mechanize/_opener.py", line 191, in open
response = urlopen(self, req, data)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 399, in _open
'_open', req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/Five/testbrowser.py", line 85, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.5/lib/python2.5/urllib2.py", line 1079, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/testing.py", line 82, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Test.py", line 202, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
return inherited_call(self, *args, **kwargs)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 219, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.4.1-py2.5.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.5.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.5.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/Expressions.py", line 123, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
File "PythonExpr", line 1, in <expression>
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 139, in __call__
return Script.__call__(self, *args, **kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 196, in _exec
result = f(*args, **kw)
File "Script (Python)", line 5, in at_isEditable
Unauthorized: <unprintable Unauthorized object>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 94, in editing.txt
Failed example:
browser.getControl('Next').name
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[38]>", line 1, in <module>
browser.getControl('Next').name
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 97, in editing.txt
Failed example:
browser.getLink('someschemata').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[39]>", line 1, in <module>
browser.getLink('someschemata').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 624, in find_link
return self._filter_links(self._factory.links(), **kwds).next()
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 645, in _filter_links
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 98, in editing.txt
Failed example:
browser.getControl('Previous').name
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest editing.txt[40]>", line 1, in <module>
browser.getControl('Previous').name
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 365, in getControl
label, name, self.mech_browser.forms(), include_subcontrols=True)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 424, in forms
if not self.viewing_html():
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 449, in viewing_html
raise BrowserStateError("not viewing any document")
BrowserStateError: not viewing any document
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt
Failed doctest test for portaltype_criterion.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 11, in portaltype_criterion.txt
Failed example:
browser.getControl('Login Name').value = portal_owner
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[4]>", line 1, in <module>
browser.getControl('Login Name').value = portal_owner
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 12, in portaltype_criterion.txt
Failed example:
browser.getControl('Password').value = default_password
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[5]>", line 1, in <module>
browser.getControl('Password').value = default_password
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 13, in portaltype_criterion.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[6]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 27, in portaltype_criterion.txt
Failed example:
browser.getLink('Add new').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[8]>", line 1, in <module>
browser.getLink('Add new').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 28, in portaltype_criterion.txt
Failed example:
'Add new item' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 30, in portaltype_criterion.txt
Failed example:
browser.getControl('Collection').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[10]>", line 1, in <module>
browser.getControl('Collection').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Collection'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 31, in portaltype_criterion.txt
Failed example:
browser.getControl('Add').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[11]>", line 1, in <module>
browser.getControl('Add').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 33, in portaltype_criterion.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/portal_factory/Topic/topic.../edit'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 39, in portaltype_criterion.txt
Failed example:
browser.getControl(name = 'title').value = 'My Collection'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[13]>", line 1, in <module>
browser.getControl(name = 'title').value = 'My Collection'
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 40, in portaltype_criterion.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[14]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 41, in portaltype_criterion.txt
Failed example:
'Changes saved.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 43, in portaltype_criterion.txt
Failed example:
'My Collection' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 48, in portaltype_criterion.txt
Failed example:
browser.getLink('Criteria').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[17]>", line 1, in <module>
browser.getLink('Criteria').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 49, in portaltype_criterion.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/my-collection/criterion_edit_form'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 53, in portaltype_criterion.txt
Failed example:
'Add New Search Criteria' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 58, in portaltype_criterion.txt
Failed example:
browser.getControl(name='field', index=0).value = ['Type']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[20]>", line 1, in <module>
browser.getControl(name='field', index=0).value = ['Type']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'field'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 59, in portaltype_criterion.txt
Failed example:
browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[21]>", line 1, in <module>
browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'criterion_type'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 60, in portaltype_criterion.txt
Failed example:
browser.getControl(name='form.button.AddCriterion').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[22]>", line 1, in <module>
browser.getControl(name='form.button.AddCriterion').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'form.button.AddCriterion'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 61, in portaltype_criterion.txt
Failed example:
'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 66, in portaltype_criterion.txt
Failed example:
browser.getControl('Page')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[24]>", line 1, in <module>
browser.getControl('Page')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 71, in portaltype_criterion.txt
Failed example:
browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[25]>", line 1, in <module>
browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'crit__Type_ATPortalTypeCriterion_value:list'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 72, in portaltype_criterion.txt
Failed example:
browser.getControl('Save', index=0).click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[26]>", line 1, in <module>
browser.getControl('Save', index=0).click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 73, in portaltype_criterion.txt
Failed example:
'Changes saved.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 95, in portaltype_criterion.txt
Failed example:
browser.getLink('View').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[33]>", line 1, in <module>
browser.getLink('View').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 96, in portaltype_criterion.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/my-collection/'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 101, in portaltype_criterion.txt
Failed example:
'Test Document' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 111, in portaltype_criterion.txt
Failed example:
browser.getLink('Site Setup').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[37]>", line 1, in <module>
browser.getLink('Site Setup').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 112, in portaltype_criterion.txt
Failed example:
browser.getLink('Language').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[38]>", line 1, in <module>
browser.getLink('Language').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 113, in portaltype_criterion.txt
Failed example:
browser.getControl('Site language').value = ['de']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[39]>", line 1, in <module>
browser.getControl('Site language').value = ['de']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Site language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 114, in portaltype_criterion.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[40]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 121, in portaltype_criterion.txt
Failed example:
browser.open('http://nohost/plone/my-collection/criterion_edit_form')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest portaltype_criterion.txt[41]>", line 1, in <module>
browser.open('http://nohost/plone/my-collection/criterion_edit_form')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 209, in open
return self._mech_open(url, data, timeout=timeout)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 261, in _mech_open
raise response
HTTPError: HTTP Error 404: Not Found
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt
Failed doctest test for webdav.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 48, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/html; charset="utf-8"
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:17 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 57, in webdav.txt
Failed example:
document = self.folder['test-document']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[15]>", line 1, in <module>
document = self.folder['test-document']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 60, in webdav.txt
Failed example:
print document.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[17]>", line 1, in <module>
print document.getPortalTypeName()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 63, in webdav.txt
Failed example:
print document.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[18]>", line 1, in <module>
print document.Title()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 66, in webdav.txt
Failed example:
print document.getText()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[19]>", line 1, in <module>
print document.getText()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 70, in webdav.txt
Failed example:
print document.Description()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[20]>", line 1, in <module>
print document.Description()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 73, in webdav.txt
Failed example:
print document.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[21]>", line 1, in <module>
print document.getContentType()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 76, in webdav.txt
Failed example:
print document.Subject()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[22]>", line 1, in <module>
print document.Subject()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 79, in webdav.txt
Failed example:
print document.Contributors()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[23]>", line 1, in <module>
print document.Contributors()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 82, in webdav.txt
Failed example:
print document.Creators()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[24]>", line 1, in <module>
print document.Creators()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 85, in webdav.txt
Failed example:
print document.EffectiveDate(zone='UTC')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[25]>", line 1, in <module>
print document.EffectiveDate(zone='UTC')
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 88, in webdav.txt
Failed example:
print document.ExpirationDate(zone='UTC')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[26]>", line 1, in <module>
print document.ExpirationDate(zone='UTC')
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 91, in webdav.txt
Failed example:
print document.Language()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[27]>", line 1, in <module>
print document.Language()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 94, in webdav.txt
Failed example:
print document.Rights()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[28]>", line 1, in <module>
print document.Rights()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 97, in webdav.txt
Failed example:
print document.getLayout()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[29]>", line 1, in <module>
print document.getLayout()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 100, in webdav.txt
Failed example:
del document
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[30]>", line 1, in <module>
del document
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 104, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-document2.txt HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, "a test"))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:17 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 112, in webdav.txt
Failed example:
document = self.folder['test-document2.txt']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[32]>", line 1, in <module>
document = self.folder['test-document2.txt']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-document2.txt'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 115, in webdav.txt
Failed example:
print document.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[34]>", line 1, in <module>
print document.getPortalTypeName()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 118, in webdav.txt
Failed example:
print document.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[35]>", line 1, in <module>
print document.Title()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 121, in webdav.txt
Failed example:
print document.getText()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[36]>", line 1, in <module>
print document.getText()
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 124, in webdav.txt
Failed example:
del document
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[37]>", line 1, in <module>
del document
NameError: name 'document' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 135, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-event.event HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:17 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 145, in webdav.txt
Failed example:
event = self.folder['test-event.event']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[42]>", line 1, in <module>
event = self.folder['test-event.event']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-event.event'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 147, in webdav.txt
Failed example:
print event.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[43]>", line 1, in <module>
print event.getPortalTypeName()
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 150, in webdav.txt
Failed example:
print event.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[44]>", line 1, in <module>
print event.Title()
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 153, in webdav.txt
Failed example:
del event
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[45]>", line 1, in <module>
del event
NameError: name 'event' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 162, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-file HTTP/1.1
Authorization: Basic %s:%s
Content-Type: application/zip
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:18 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 171, in webdav.txt
Failed example:
file = self.folder['test-file']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[50]>", line 1, in <module>
file = self.folder['test-file']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-file'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 173, in webdav.txt
Failed example:
print file.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[51]>", line 1, in <module>
print file.getPortalTypeName()
AttributeError: type object 'file' has no attribute 'getPortalTypeName'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 178, in webdav.txt
Failed example:
print file.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[52]>", line 1, in <module>
print file.Title()
AttributeError: type object 'file' has no attribute 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 182, in webdav.txt
Failed example:
len(str(file.getFile())), len(input.read())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[54]>", line 1, in <module>
len(str(file.getFile())), len(input.read())
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 185, in webdav.txt
Failed example:
file.getFile().data == input.read()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[56]>", line 1, in <module>
file.getFile().data == input.read()
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 188, in webdav.txt
Failed example:
print file.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[57]>", line 1, in <module>
print file.getContentType()
AttributeError: type object 'file' has no attribute 'getContentType'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 191, in webdav.txt
Failed example:
del file
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[58]>", line 1, in <module>
del file
NameError: name 'file' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 197, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-file.zip HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:18 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 205, in webdav.txt
Failed example:
file = self.folder['test-file.zip']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[61]>", line 1, in <module>
file = self.folder['test-file.zip']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-file.zip'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 207, in webdav.txt
Failed example:
print file.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[62]>", line 1, in <module>
print file.getPortalTypeName()
AttributeError: type object 'file' has no attribute 'getPortalTypeName'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 210, in webdav.txt
Failed example:
print file.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[63]>", line 1, in <module>
print file.Title()
AttributeError: type object 'file' has no attribute 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 213, in webdav.txt
Failed example:
print file.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[64]>", line 1, in <module>
print file.getContentType()
AttributeError: type object 'file' has no attribute 'getContentType'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 216, in webdav.txt
Failed example:
del file
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[65]>", line 1, in <module>
del file
NameError: name 'file' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 225, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-file1.sxw HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:18 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 233, in webdav.txt
Failed example:
file = self.folder['test-file1.sxw']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[70]>", line 1, in <module>
file = self.folder['test-file1.sxw']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-file1.sxw'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 235, in webdav.txt
Failed example:
print file.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[71]>", line 1, in <module>
print file.getPortalTypeName()
AttributeError: type object 'file' has no attribute 'getPortalTypeName'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 240, in webdav.txt
Failed example:
print file.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[72]>", line 1, in <module>
print file.Title()
AttributeError: type object 'file' has no attribute 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 244, in webdav.txt
Failed example:
len(str(file.getFile())), len(input.read())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[74]>", line 1, in <module>
len(str(file.getFile())), len(input.read())
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 248, in webdav.txt
Failed example:
file.getFile().data == input.read()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[76]>", line 1, in <module>
file.getFile().data == input.read()
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 251, in webdav.txt
Failed example:
print file.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[77]>", line 1, in <module>
print file.getContentType()
AttributeError: type object 'file' has no attribute 'getContentType'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 254, in webdav.txt
Failed example:
del file
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[78]>", line 1, in <module>
del file
NameError: name 'file' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 263, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-file2 HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:19 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 271, in webdav.txt
Failed example:
file = self.folder['test-file2']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[83]>", line 1, in <module>
file = self.folder['test-file2']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-file2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 273, in webdav.txt
Failed example:
print file.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[84]>", line 1, in <module>
print file.getPortalTypeName()
AttributeError: type object 'file' has no attribute 'getPortalTypeName'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 278, in webdav.txt
Failed example:
print file.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[85]>", line 1, in <module>
print file.Title()
AttributeError: type object 'file' has no attribute 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 282, in webdav.txt
Failed example:
len(str(file.getFile())), len(input.read())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[87]>", line 1, in <module>
len(str(file.getFile())), len(input.read())
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 286, in webdav.txt
Failed example:
file.getFile().data == input.read()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[89]>", line 1, in <module>
file.getFile().data == input.read()
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 294, in webdav.txt
Failed example:
del file
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[90]>", line 1, in <module>
del file
NameError: name 'file' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 303, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-file3 HTTP/1.1
Content-Type: application/vnd.sun.xml.writer
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:20 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 312, in webdav.txt
Failed example:
file = self.folder['test-file3']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[95]>", line 1, in <module>
file = self.folder['test-file3']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-file3'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 314, in webdav.txt
Failed example:
print file.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[96]>", line 1, in <module>
print file.getPortalTypeName()
AttributeError: type object 'file' has no attribute 'getPortalTypeName'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 319, in webdav.txt
Failed example:
print file.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[97]>", line 1, in <module>
print file.Title()
AttributeError: type object 'file' has no attribute 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 323, in webdav.txt
Failed example:
len(str(file.getFile())), len(input.read())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[99]>", line 1, in <module>
len(str(file.getFile())), len(input.read())
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 327, in webdav.txt
Failed example:
file.getFile().data == input.read()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[101]>", line 1, in <module>
file.getFile().data == input.read()
AttributeError: type object 'file' has no attribute 'getFile'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 330, in webdav.txt
Failed example:
print file.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[102]>", line 1, in <module>
print file.getContentType()
AttributeError: type object 'file' has no attribute 'getContentType'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 333, in webdav.txt
Failed example:
del file
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[103]>", line 1, in <module>
del file
NameError: name 'file' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 344, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-image HTTP/1.1
Authorization: Basic %s:%s
Content-Type: image/gif
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:20 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 353, in webdav.txt
Failed example:
image = self.folder['test-image']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[108]>", line 1, in <module>
image = self.folder['test-image']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-image'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 355, in webdav.txt
Failed example:
print image.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[109]>", line 1, in <module>
print image.getPortalTypeName()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 360, in webdav.txt
Failed example:
print image.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[110]>", line 1, in <module>
print image.Title()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 364, in webdav.txt
Failed example:
len(str(image.getImage().data)), len(input.read())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[112]>", line 1, in <module>
len(str(image.getImage().data)), len(input.read())
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 367, in webdav.txt
Failed example:
image.getImage().data == input.read()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[114]>", line 1, in <module>
image.getImage().data == input.read()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 370, in webdav.txt
Failed example:
print image.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[115]>", line 1, in <module>
print image.getContentType()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 373, in webdav.txt
Failed example:
del image
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[116]>", line 1, in <module>
del image
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 379, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-image.gif HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:20 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 387, in webdav.txt
Failed example:
image = self.folder['test-image.gif']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[119]>", line 1, in <module>
image = self.folder['test-image.gif']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-image.gif'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 389, in webdav.txt
Failed example:
print image.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[120]>", line 1, in <module>
print image.getPortalTypeName()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 392, in webdav.txt
Failed example:
print image.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[121]>", line 1, in <module>
print image.Title()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 395, in webdav.txt
Failed example:
print image.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[122]>", line 1, in <module>
print image.getContentType()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 398, in webdav.txt
Failed example:
del image
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[123]>", line 1, in <module>
del image
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 403, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test%%20my%%20image.gif HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:20 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 414, in webdav.txt
Failed example:
image = self.folder['test my image.gif']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[126]>", line 1, in <module>
image = self.folder['test my image.gif']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test my image.gif'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 416, in webdav.txt
Failed example:
print image.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[127]>", line 1, in <module>
print image.getPortalTypeName()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 419, in webdav.txt
Failed example:
print image.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[128]>", line 1, in <module>
print image.Title()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 422, in webdav.txt
Failed example:
print image.getContentType()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[129]>", line 1, in <module>
print image.getContentType()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 425, in webdav.txt
Failed example:
del image
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[130]>", line 1, in <module>
del image
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 434, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-link.link HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:21 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 444, in webdav.txt
Failed example:
link = self.folder['test-link.link']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[135]>", line 1, in <module>
link = self.folder['test-link.link']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-link.link'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 446, in webdav.txt
Failed example:
print link.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[136]>", line 1, in <module>
print link.getPortalTypeName()
NameError: name 'link' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 449, in webdav.txt
Failed example:
print link.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[137]>", line 1, in <module>
print link.Title()
NameError: name 'link' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 452, in webdav.txt
Failed example:
del link
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[138]>", line 1, in <module>
del link
NameError: name 'link' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 461, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-newsitem.news HTTP/1.1
Authorization: Basic %s:%s
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:21 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 471, in webdav.txt
Failed example:
news = self.folder['test-newsitem.news']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[143]>", line 1, in <module>
news = self.folder['test-newsitem.news']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-newsitem.news'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 473, in webdav.txt
Failed example:
print news.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[144]>", line 1, in <module>
print news.getPortalTypeName()
NameError: name 'news' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 476, in webdav.txt
Failed example:
print news.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[145]>", line 1, in <module>
print news.Title()
NameError: name 'news' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 479, in webdav.txt
Failed example:
del news
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[146]>", line 1, in <module>
del news
NameError: name 'news' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 488, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-html-title.html HTTP/1.1
Authorization: Basic %s:%s
Depth: 0
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:22 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 497, in webdav.txt
Failed example:
htdoc = self.folder['test-html-title.html']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[151]>", line 1, in <module>
htdoc = self.folder['test-html-title.html']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-html-title.html'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 498, in webdav.txt
Failed example:
print htdoc.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[152]>", line 1, in <module>
print htdoc.Title()
NameError: name 'htdoc' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 500, in webdav.txt
Failed example:
print htdoc.Format()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[153]>", line 1, in <module>
print htdoc.Format()
NameError: name 'htdoc' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 509, in webdav.txt
Failed example:
print http(r"""
PUT /%s/test-xhtml-title.html HTTP/1.1
Authorization: Basic %s:%s
Depth: 0
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:22 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 518, in webdav.txt
Failed example:
htdoc = self.folder['test-xhtml-title.html']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[157]>", line 1, in <module>
htdoc = self.folder['test-xhtml-title.html']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-xhtml-title.html'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 519, in webdav.txt
Failed example:
print htdoc.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[158]>", line 1, in <module>
print htdoc.Title()
NameError: name 'htdoc' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 521, in webdav.txt
Failed example:
print htdoc.Format()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[159]>", line 1, in <module>
print htdoc.Format()
NameError: name 'htdoc' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 524, in webdav.txt
Failed example:
print htdoc.CookedBody()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[160]>", line 1, in <module>
print htdoc.CookedBody()
NameError: name 'htdoc' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 539, in webdav.txt
Failed example:
print http(r"""
MKCOL /%s/test-folder-name HTTP/1.1
Authorization: Basic %s:%s
""" % (fpath, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1820
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:22 GMT
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 209, in MKCOL</li>
<BLANKLINE>
<li> Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 547, in webdav.txt
Failed example:
self.folder['test-folder-name'].Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[163]>", line 1, in <module>
self.folder['test-folder-name'].Title()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-folder-name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 561, in webdav.txt
Failed example:
print http(r"""
MKCOL /%s/test-btree/test-btreefolder-name HTTP/1.1
Authorization: Basic %s:%s
""" % (fpath, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1820
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:22 GMT
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 209, in MKCOL</li>
<BLANKLINE>
<li> Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 569, in webdav.txt
Failed example:
self.folder['test-btree']['test-btreefolder-name'].Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[169]>", line 1, in <module>
self.folder['test-btree']['test-btreefolder-name'].Title()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseBTreeFolder.py", line 78, in __getitem__
return CMFBTreeFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-btreefolder-name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 627, in webdav.txt
Failed example:
print http(r"""
PUT /%s/Foto%%20do%%20Parana.jpg HTTP/1.1
Authorization: Basic %s:%s
""" % (fpath, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:23 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 635, in webdav.txt
Failed example:
'Foto-do-Parana.jpg' in self.folder
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 638, in webdav.txt
Failed example:
image = self.folder['Foto-do-Parana.jpg']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[181]>", line 1, in <module>
image = self.folder['Foto-do-Parana.jpg']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'Foto-do-Parana.jpg'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 640, in webdav.txt
Failed example:
print image.getPortalTypeName()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[182]>", line 1, in <module>
print image.getPortalTypeName()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 643, in webdav.txt
Failed example:
print image.Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[183]>", line 1, in <module>
print image.Title()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 655, in webdav.txt
Failed example:
print http(r"""
MKCOL /%s/Fotos%%20de%%20Jurere HTTP/1.1
Authorization: Basic %s:%s
""" % (fpath, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1820
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:23 GMT
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 209, in MKCOL</li>
<BLANKLINE>
<li> Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 663, in webdav.txt
Failed example:
'fotos-de-jurere' in self.folder
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/webdav.txt", line 666, in webdav.txt
Failed example:
print self.folder['fotos-de-jurere'].Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest webdav.txt[188]>", line 1, in <module>
print self.folder['fotos-de-jurere'].Title()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'fotos-de-jurere'
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt
Failed doctest test for http_access.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 47, in http_access.txt
Failed example:
print http(r"""
PUT /%s/test-image HTTP/1.1
Authorization: Basic %s:%s
Content-Type: image/gif
Depth: 0
%s""" % (fpath, user_name, user_password, input.read()))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:24 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 58, in http_access.txt
Failed example:
image = folder['test-image']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[22]>", line 1, in <module>
image = folder['test-image']
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/BaseFolder.py", line 162, in __getitem__
return PortalFolder.__getitem__(self, key)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/Zope2-2.12.0.a1-py2.5-linux-i686.egg/OFS/ObjectManager.py", line 778, in __getitem__
raise KeyError, key
KeyError: 'test-image'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 59, in http_access.txt
Failed example:
imgpath = '/'.join(image.getPhysicalPath())
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[23]>", line 1, in <module>
imgpath = '/'.join(image.getPhysicalPath())
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 86, in http_access.txt
Failed example:
view_method = getattr(folder, view_id)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[27]>", line 1, in <module>
view_method = getattr(folder, view_id)
AttributeError: folder_listing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 87, in http_access.txt
Failed example:
view_method
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[28]>", line 1, in <module>
view_method
NameError: name 'view_method' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 89, in http_access.txt
Failed example:
view_method.HEAD
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[29]>", line 1, in <module>
view_method.HEAD
NameError: name 'view_method' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 94, in http_access.txt
Failed example:
print http(r"""
HEAD /%s HTTP/1.1
Authorization: Basic %s:%s
""" % (fpath, user_name, user_password))
Expected:
HTTP/1.1 200 OK
...
Got:
HTTP/1.1 404 Not Found
Content-Length: 1158
Content-Type: text/html; charset=iso-8859-15
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><strong><class 'zExceptions.NotFound'></strong></p>
<BLANKLINE>
Sorry, a site error occurred.<p><p>Traceback (innermost last):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module Products.ATContentTypes.content.base, line 479, in HEAD</li>
<BLANKLINE>
</ul>NotFound: View method folder_listing for requested resource is not available.
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 249, in http_access.txt
Failed example:
print http(r"""
HEAD /%s HTTP/1.1
Authorization: Basic %s:%s
""" % (imgpath, user_name, user_password))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[73]>", line 4, in <module>
""" % (imgpath, user_name, user_password))
NameError: name 'imgpath' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 276, in http_access.txt
Failed example:
print http(r"""
GET /%s HTTP/1.1
Authorization: Basic %s:%s
Range: bytes=0-4
""" % (imgpath, user_name, user_password))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[74]>", line 5, in <module>
""" % (imgpath, user_name, user_password))
NameError: name 'imgpath' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 294, in http_access.txt
Failed example:
print http(r"""
GET /%s HTTP/1.1
Authorization: Basic %s:%s
If-Range: %s
Range: bytes=0-4
""" % (imgpath, user_name, user_password, rfc1123_date(past)))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[75]>", line 6, in <module>
""" % (imgpath, user_name, user_password, rfc1123_date(past)))
NameError: name 'imgpath' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 312, in http_access.txt
Failed example:
etag = image.http__etag()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[76]>", line 1, in <module>
etag = image.http__etag()
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 313, in http_access.txt
Failed example:
image.update(title="new title")
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[77]>", line 1, in <module>
image.update(title="new title")
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 314, in http_access.txt
Failed example:
image.http__etag() != etag
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[78]>", line 1, in <module>
image.http__etag() != etag
NameError: name 'image' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 317, in http_access.txt
Failed example:
print http(r"""
GET /%s HTTP/1.1
Authorization: Basic %s:%s
If-Range: %s
Range: bytes=0-4
""" % (imgpath, user_name, user_password, etag))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[79]>", line 6, in <module>
""" % (imgpath, user_name, user_password, etag))
NameError: name 'imgpath' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 341, in http_access.txt
Failed example:
print http(r"""
GET /%s HTTP/1.1
Authorization: Basic %s:%s
If-Modified-Since: %s
""" % (imgpath, user_name, user_password, rfc1123_date(future)))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[80]>", line 5, in <module>
""" % (imgpath, user_name, user_password, rfc1123_date(future)))
NameError: name 'imgpath' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/http_access.txt", line 355, in http_access.txt
Failed example:
print http(r"""
GET /%s HTTP/1.1
Authorization: Basic %s:%s
If-Modified-Since: %s
""" % (imgpath, user_name, user_password, rfc1123_date(past)))
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest http_access.txt[81]>", line 5, in <module>
""" % (imgpath, user_name, user_password, rfc1123_date(past)))
NameError: name 'imgpath' is not defined
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt
Failed doctest test for uploading.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 14, in uploading.txt
Failed example:
browser.getControl('Login Name').value = portal_owner
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[5]>", line 1, in <module>
browser.getControl('Login Name').value = portal_owner
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 15, in uploading.txt
Failed example:
browser.getControl('Password').value = default_password
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[6]>", line 1, in <module>
browser.getControl('Password').value = default_password
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 16, in uploading.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[7]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 21, in uploading.txt
Failed example:
browser.getLink('Add new').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[9]>", line 1, in <module>
browser.getLink('Add new').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-i686/egg/mechanize/_mechanize.py", line 626, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 22, in uploading.txt
Failed example:
'Add new item' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 24, in uploading.txt
Failed example:
browser.getControl('Page').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[11]>", line 1, in <module>
browser.getControl('Page').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 25, in uploading.txt
Failed example:
browser.getControl('Add').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[12]>", line 1, in <module>
browser.getControl('Add').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 26, in uploading.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/portal_factory/Document/document.../edit'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 32, in uploading.txt
Failed example:
browser.getControl(name='title').value = 'test document'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[14]>", line 1, in <module>
browser.getControl(name='title').value = 'test document'
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 33, in uploading.txt
Failed example:
browser.getControl(name='text').value = 'This will be ignored.'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[15]>", line 1, in <module>
browser.getControl(name='text').value = 'This will be ignored.'
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'text'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 34, in uploading.txt
Failed example:
browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[16]>", line 1, in <module>
browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'text_file'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 35, in uploading.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.5.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest uploading.txt[17]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.5.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 36, in uploading.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/test-document'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 38, in uploading.txt
Failed example:
'file contents' in browser.contents
Expected:
True
Got:
False
Failure in test /home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt
Failed doctest test for traversal.txt
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 238, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_folder/test_document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
Simple Folder Document Content
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:28 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 253, in traversal.txt
Failed example:
print folder.test_document.title_or_id()
Expected:
test_document
Got:
Root Document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 256, in traversal.txt
Failed example:
print folder.test_document.getText()
Expected:
<p>Simple Folder Document Content</p>
<BLANKLINE>
Got:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 260, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_btree_folder/test_document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
BTree Folder Document Content
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:29 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 275, in traversal.txt
Failed example:
print folder.test_document.title_or_id()
Expected:
test_document
Got:
Root Document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 278, in traversal.txt
Failed example:
print folder.test_document.getText()
Expected:
<p>BTree Folder Document Content</p>
Got:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 291, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_folder/index_html HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
Simple Folder Index
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1811
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:29 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 175, in PUT</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 302, in traversal.txt
Failed example:
print folder.index_html.title_or_id()
Expected:
index_html
Got:
Root Index
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 305, in traversal.txt
Failed example:
print folder.index_html.getText()
Expected:
<p>Simple Folder Index</p>
Got:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 318, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_btree_folder/index_html HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
Simple BTree Folder Index
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 204 No Content
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1754
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:29 GMT
Set-Cookie: I18N_LANGUAGE="en"; Path=/
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 335, in traversal.txt
Failed example:
print folder.index_html.getText()
Expected:
<p>Simple BTree Folder Index</p>
Got:
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 345, in traversal.txt
Failed example:
print http(r"""
MKCOL /%s/simple_folder/simple_folder HTTP/1.1
Authorization: Basic %s:%s
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1820
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:29 GMT
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 209, in MKCOL</li>
<BLANKLINE>
<li> Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/traversal.txt", line 356, in traversal.txt
Failed example:
print http(r"""
MKCOL /%s/simple_btree_folder/simple_btree_folder HTTP/1.1
Authorization: Basic %s:%s
""" % (portal_name, default_user, default_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 1820
Content-Type: text/html; charset=iso-8859-15
Date: Wed, 04 Mar 2009 06:10:29 GMT
<BLANKLINE>
<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):
<ul>
<BLANKLINE>
<li> Module ZPublisher.Test, line 202, in publish_module</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 150, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 119, in publish</li>
<BLANKLINE>
<li> Module ZPublisher.mapply, line 77, in mapply</li>
<BLANKLINE>
<li> Module ZPublisher.Publish, line 42, in call_object</li>
<BLANKLINE>
<li> Module webdav.NullResource, line 209, in MKCOL</li>
<BLANKLINE>
<li> Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
<BLANKLINE>
<li> Module zope.event, line 23, in notify</li>
<BLANKLINE>
<li> Module zope.component.event, line 26, in dispatch</li>
<BLANKLINE>
<li> Module zope.component._api, line 131, in subscribers</li>
<BLANKLINE>
<li> Module zope.component.registry, line 300, in subscribers</li>
<BLANKLINE>
<li> Module zope.interface.adapter, line 535, in subscribers</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
<BLANKLINE>
<li> Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
<BLANKLINE>
<li> Module Products.CMFEditions.utilities, line 91, in isObjectChanged</li>
<BLANKLINE>
<li> Module Products.CMFCore.utils, line 125, in getToolByName</li>
<BLANKLINE>
</ul>AttributeError: portal_repository
</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>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
Failure in test test_installedAllTypes (Products.ATContentTypes.tests.test_installation.TestInstallation)
Traceback (most recent call last):
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python25-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_installation.py", line 42, in test_installedAllTypes
self.failUnless(tinfo.product == 'ATContentTypes', tinfo.product)
File "/usr/local/python2.5/lib/python2.5/unittest.py", line 309, in failUnless
if not expr: raise self.failureException, msg
AssertionError
Ran 695 tests with 27 failures and 2 errors in 3 minutes 2.477 seconds.
Tearing down left over layers:
Tear down Products.PloneTestCase.layer.PloneSite in 0.373 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.018 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
FAILED (failures=27, errors=2)
More information about the Testbot
mailing list