From: Plone U. T. <plo...@ep...> - 2007-03-24 04:36:53
|
Plone Unit Tests : FAILED (failures=27, errors=7) Plone-trunk Zope-trunk Python-2.4.4 Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --package Products.CMFPlone --package plone Installing CMFCore ... done (0.017s) Installing CMFDefault ... done (0.697s) Installing CMFCalendar ... done (0.086s) Installing CMFTopic ... done (0.050s) Installing DCWorkflow ... done (0.142s) Installing CMFActionIcons ... done (0.040s) Installing CMFQuickInstallerTool ... done (0.466s) Installing CMFFormController ... done (0.641s) Installing GroupUserFolder ... done (0.739s) Installing ZCTextIndex ... done (0.192s) Installing CMFPlone ... /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/Marshall/config.py:29: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers warnings.warn('libxml2 not available. Unable to register libxml2 based ' \ /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/__init__.py:61: DeprecationWarning: PloneTool: Please use the standard CMFPlone PloneTool. PlonePAS.tools.plonetool will be removed in Plone(PAS) 3.5 from tools.plonetool import PloneTool done (5.349s) Installing Archetypes ... done (0.164s) Installing ATContentTypes ... done (0.068s) Installing ATReferenceBrowserWidget ... done (0.019s) Installing CMFDynamicViewFTI ... done (0.018s) Installing ExternalEditor ... done (0.029s) Installing ExtendedPathIndex ... done (0.034s) Installing ResourceRegistries ... done (0.018s) Installing SecureMailHost ... done (0.030s) Installing CMFPlacefulWorkflow ... done (0.056s) Installing PasswordResetTool ... done (0.031s) Installing PluggableAuthService ... done (0.032s) Installing PluginRegistry ... done (0.025s) Installing PlonePAS ... done (0.031s) Installing kupu ... done (0.505s) Installing CMFEditions ... done (0.274s) Installing CMFDiffTool ... done (0.029s) Installing PloneLanguageTool ... done (0.029s) Parsing /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/etc/zope.conf Running unit tests: Ran 342 tests with 0 failures and 0 errors in 7.466 seconds. Running Products.PloneTestCase.layer.ZCML tests: Set up Products.PloneTestCase.layer.ZCML in 5.199 seconds. Ran 12 tests with 0 failures and 0 errors in 0.053 seconds. Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.PloneSite in 16.727 seconds. Failure in test testViewAllowedOnContentInAcquisitionBlockedFolderWithCustomWorkflow (Products.CMFPlone.tests.testContentSecurity.TestContentSecurity) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testContentSecurity.py", line 156, in testViewAllowedOnContentInAcquisitionBlockedFolderWithCustomWorkflow self.fail("Could not access base_view on 'new'") File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail raise self.failureException, msg AssertionError: Could not access base_view on 'new' 2007-03-24 05:07:49 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 201, in _exec result = f(*args, **kw) File "Script (Python)", line 25, in standard_error_message File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render return super(PageTemplate, self).pt_render(c, source=source) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal self.engine.setLocal(name, self.engine.evaluateValue(expr)) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 71, in globalize self._initializeData(options=options, view=view, template=template) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 117, in _initializeData self._data['actions'] = actions = (options.get('actions', None) or context_state.actions()) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/layout/globals/context.py", line 169, in actions return tool.listFilteredActionsFor(aq_inner(self.context)) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 164, in listFilteredActionsFor actions.extend( provider.listActionInfos(object=object) ) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionProviderBase.py", line 91, in listActionInfos ec = self._getExprContext(object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 150, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 129, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 81, in createExprContext plone_portal_state = view_obj.restrictedTraverse('@@plone_portal_state') File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 196, in unrestrictedTraverse if restricted and not validate( Unauthorized: You are not allowed to access '@@plone_portal_state' in this context 2007-03-24 05:07:49 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 201, in _exec result = f(*args, **kw) File "Script (Python)", line 25, in standard_error_message File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render return super(PageTemplate, self).pt_render(c, source=source) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal self.engine.setLocal(name, self.engine.evaluateValue(expr)) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 71, in globalize self._initializeData(options=options, view=view, template=template) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 117, in _initializeData self._data['actions'] = actions = (options.get('actions', None) or context_state.actions()) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/layout/globals/context.py", line 169, in actions return tool.listFilteredActionsFor(aq_inner(self.context)) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 164, in listFilteredActionsFor actions.extend( provider.listActionInfos(object=object) ) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionProviderBase.py", line 91, in listActionInfos ec = self._getExprContext(object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 150, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 129, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 81, in createExprContext plone_portal_state = view_obj.restrictedTraverse('@@plone_portal_state') File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 196, in unrestrictedTraverse if restricted and not validate( Unauthorized: You are not allowed to access '@@plone_portal_state' in this context Failure in test testSearchByEmail (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 507, in testSearchByEmail self.assertEqual(len(search(email='bedrock')), 2) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 2 Failure in test testSearchByEmailAndLastLoginTime (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 561, in testSearchByEmailAndLastLoginTime self.assertEqual(len(search(email='bedrock', last_login_time=DateTime('2002-01-01'))), 2) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 2 Failure in test testSearchById (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 495, in testSearchById self.assertEqual(len(search(name='brubble')), 1) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 1 Failure in test testSearchByName (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 502, in testSearchByName self.assertEqual(len(search(name='rubble')), 2) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 2 Failure in test testSearchByNameAndEmail (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 529, in testSearchByNameAndEmail self.assertEqual(len(search(name='rubble', email='bedrock')), 1) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 1 Failure in test testSearchByNameAndLastLoginTime (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 539, in testSearchByNameAndLastLoginTime self.assertEqual(len(search(name='rubble', last_login_time=DateTime('2002-01-01'))), 2) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 3 != 2 Failure in test testSearchByNameAndLoginBeforeSpecifiedTime (Products.CMFPlone.tests.testMembershipTool.TestSearchForMembers) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testMembershipTool.py", line 549, in testSearchByNameAndLoginBeforeSpecifiedTime before_specified_time=True)), 1) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 2 != 1 2007-03-24 05:17:30 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:17:31 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:17:31 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:17:31 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:17:31 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. Error in test testSubsequentProfileImportSucceeds (Products.CMFPlone.tests.testPortalCreation.TestPortalBugs) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/testPortalCreation.py", line 825, in testSubsequentProfileImportSucceeds setup_tool.runAllImportSteps(purge_old=True) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/GenericSetup/tool.py", line 252, in runAllImportSteps return self._runImportStepsFromContext(context, purge_old=purge_old) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/GenericSetup/tool.py", line 766, in _runImportStepsFromContext message = self._doRunImportStep(step, context) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/GenericSetup/tool.py", line 732, in _doRunImportStep return handler(context) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/Archetypes/exportimport/archetypetool.py", line 71, in importArchetypeTool tool = getUtility(IArchetypeTool) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 207, in getUtility raise ComponentLookupError(interface, name) ComponentLookupError: (<InterfaceClass Products.Archetypes.interfaces._archetypetool.IArchetypeTool>, '') 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:09 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. 2007-03-24 05:19:34 WARNING Plone Deprecation Warning The relaxed mode of normalizeString is deprecated and will be removed in Plone 3.5. Please use either the url or file name normalizer from the plone.i18n package instead. Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt Failed doctest test for AddMoveAndDeleteDocument.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 114, in AddMoveAndDeleteDocument.txt Failed example: browser.getLink('Add new').click() Exception raised: Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1256, in __run compileflags, 1) in test.globs File "<doctest AddMoveAndDeleteDocument.txt[34]>", line 1, in ? browser.getLink('Add new').click() File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 297, in getLink return Link(self.mech_browser.find_link(**args), self) File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 499, in find_link raise LinkNotFoundError() LinkNotFoundError Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/calendar.txt Failed doctest test for calendar.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/calendar.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/calendar.txt", line 37, in calendar.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt Failed doctest test for filter.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 42, in filter.txt Failed example: 'Changes canceled.' in browser.contents Expected: True Got: False ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 151, in filter.txt Failed example: '<p>Testing that works.</p>' in browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/mail.txt Failed doctest test for mail.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/mail.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/mail.txt", line 28, in mail.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/search.txt Failed doctest test for search.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/search.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/search.txt", line 38, in search.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/site.txt Failed doctest test for site.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/site.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/site.txt", line 29, in site.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/skins.txt Failed doctest test for skins.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/skins.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/skins.txt", line 39, in skins.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/markup.txt Failed doctest test for markup.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/markup.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/controlpanel/tests/markup.txt", line 38, in markup.txt Failed example: 'Changes canceled.' in self.browser.contents Expected: True Got: False Error in test testOnlyOpenIdInstalled (plone.app.openid.tests.test_view.TestOpenIdView) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/test_view.py", line 25, in testOnlyOpenIdInstalled view=self.view File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/base.py", line 11, in view return self.pas.restrictedTraverse("@@openid") File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 284, in unrestrictedTraverse raise e AttributeError: @@openid Error in test test_DefaultConfig (plone.app.openid.tests.test_view.TestOpenIdView) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/test_view.py", line 8, in test_DefaultConfig view=self.view File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/base.py", line 11, in view return self.pas.restrictedTraverse("@@openid") File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 284, in unrestrictedTraverse raise e AttributeError: @@openid Error in test test_OpenIdInstalled (plone.app.openid.tests.test_view.TestOpenIdView) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/test_view.py", line 14, in test_OpenIdInstalled view=self.view File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/openid/tests/base.py", line 11, in view return self.pas.restrictedTraverse("@@openid") File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 284, in unrestrictedTraverse raise e AttributeError: @@openid Failure in test testBottomLevelStopsAtFolder (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 264, in testBottomLevelStopsAtFolder self.assertEqual(tree['children'][-1]['item'].getPath(), '/plone/folder2') File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '/plone/folder2/file21' != '/plone/folder2' Failure in test testCreateNavTreeCurrentItem (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 112, in testCreateNavTreeCurrentItem self.assertEqual(tree['children'][-1]['currentItem'], True) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: False != True Failure in test testCustomQuery (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 326, in testCustomQuery self.assertEqual(len(tree['children']), 1) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 0 != 1 Failure in test testNavTreeMarksParentMetaTypesNotToQuery (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 185, in testNavTreeMarksParentMetaTypesNotToQuery self.assertEqual(tree['children'][-1]['show_children'],True) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: False != True Failure in test testNoRootSet (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 271, in testNoRootSet self.assertEqual(tree['children'][-1]['item'].getPath(), '/plone/folder2') File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '/plone/folder2/file21' != '/plone/folder2' Error in test testNonStructuralFolderHidesChildren (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 210, in testNonStructuralFolderHidesChildren self.assertEqual(tree['children'][0]['children'][0]['children'][0]['item'].getPath(), IndexError: list index out of range Error in test testRootIsNotPortal (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 283, in testRootIsNotPortal self.assertEqual(tree['children'][0]['item'].getPath(), '/plone/folder2/doc21') IndexError: list index out of range Failure in test testRootIsPortal (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 277, in testRootIsPortal self.assertEqual(tree['children'][-1]['item'].getPath(), '/plone/folder2') File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '/plone/folder2/file21' != '/plone/folder2' Failure in test testShowAllParentsOverridesBottomLevel (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 256, in testShowAllParentsOverridesBottomLevel self.assertEqual(tree['children'][-1]['item'].getPath(), '/plone/folder2') File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '/plone/folder2/file21' != '/plone/folder2' Failure in test testShowAllParentsOverridesNavTreeExcludesItemsInIdsNotToList (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 168, in testShowAllParentsOverridesNavTreeExcludesItemsInIdsNotToList self.failUnless(found) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError Failure in test testShowAllParentsOverridesNavTreeExcludesItemsWithExcludeProperty (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 141, in testShowAllParentsOverridesNavTreeExcludesItemsWithExcludeProperty self.failUnless(found) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless if not expr: raise self.failureException, msg AssertionError Failure in test testStateFiltering (plone.app.portlets.tests.test_navigation_portlet.TestRenderer) Traceback (most recent call last): File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run testMethod() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/portlets/tests/test_navigation_portlet.py", line 346, in testStateFiltering self.assertEqual(len(tree['children']), 1) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: 0 != 1 2007-03-24 05:24:43 ERROR Zope.SiteErrorLog http://nohost/plone/Members/test_user_1_/atct_edit Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 34, in _call Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 220, in _exec Module Products.CMFCore.FSPageTemplate, line 159, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render - Warning: Macro expansion failed - Warning: exceptions.KeyError: 'macro' Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 586, in do_setLocal_tal Module zope.tales.tales, line 696, in evaluate - URL: file:/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PathExpr standard:u'context/@@at_base_edit_view'> - Names: {'container': <PloneSite at /plone>, 'context': <ATFolder at /plone/Members/test_user_1_>, 'default': <object object at 0xb7ca5560>, 'here': <ATFolder at /plone/Members/test_user_1_>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3e1562c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3d60d4c>, 'request': <HTTPRequest, URL=http://nohost/plone/Members/test_user_1_/atct_edit>, 'root': <Application at >, 'template': <FSControllerPageTemplate at /plone/atct_edit used for /plone/Members/test_user_1_>, 'traverse_subpath': [], 'user': <SpecialUser 'Anonymous User'>} Module zope.tales.expressions, line 217, in __call__ Module Products.PageTemplates.Expressions, line 131, in _eval Module zope.tales.expressions, line 124, in _eval Module Products.PageTemplates.Expressions, line 80, in boboAwareZopeTraverse Module OFS.Traversable, line 301, in restrictedTraverse Module OFS.Traversable, line 196, in unrestrictedTraverse - __traceback_info__: ([], '@@at_base_edit_view') Unauthorized: You are not allowed to access '@@at_base_edit_view' in this context 2007-03-24 05:24:43 ERROR Zope.SiteErrorLog http://nohost/plone/Members/test_user_1_/document1/atct_edit Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 34, in _call Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 220, in _exec Module Products.CMFCore.FSPageTemplate, line 159, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render - Warning: Macro expansion failed - Warning: exceptions.KeyError: 'macro' Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 586, in do_setLocal_tal Module zope.tales.tales, line 696, in evaluate - URL: file:/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PathExpr standard:u'context/@@at_base_edit_view'> - Names: {'container': <PloneSite at /plone>, 'context': <ATDocument at /plone/Members/test_user_1_/document1>, 'default': <object object at 0xb7ca5560>, 'here': <ATDocument at /plone/Members/test_user_1_/document1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3e7e72c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb40015cc>, 'request': <HTTPRequest, URL=http://nohost/plone/Members/test_user_1_/document1/atct_edit>, 'root': <Application at >, 'template': <FSControllerPageTemplate at /plone/atct_edit used for /plone/Members/test_user_1_/document1>, 'traverse_subpath': [], 'user': <SpecialUser 'Anonymous User'>} Module zope.tales.expressions, line 217, in __call__ Module Products.PageTemplates.Expressions, line 131, in _eval Module zope.tales.expressions, line 124, in _eval Module Products.PageTemplates.Expressions, line 80, in boboAwareZopeTraverse Module OFS.Traversable, line 301, in restrictedTraverse Module OFS.Traversable, line 196, in unrestrictedTraverse - __traceback_info__: ([], '@@at_base_edit_view') Unauthorized: You are not allowed to access '@@at_base_edit_view' in this context 2007-03-24 05:24:43 ERROR Zope.SiteErrorLog http://nohost/plone/Members/test_user_1_/event1/atct_edit Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 34, in _call Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 220, in _exec Module Products.CMFCore.FSPageTemplate, line 159, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render - Warning: Macro expansion failed - Warning: exceptions.KeyError: 'macro' Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 586, in do_setLocal_tal Module zope.tales.tales, line 696, in evaluate - URL: file:/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PathExpr standard:u'context/@@at_base_edit_view'> - Names: {'container': <PloneSite at /plone>, 'context': <ATEvent at /plone/Members/test_user_1_/event1>, 'default': <object object at 0xb7ca5560>, 'here': <ATEvent at /plone/Members/test_user_1_/event1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb46c3bcc>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb50b9d0c>, 'request': <HTTPRequest, URL=http://nohost/plone/Members/test_user_1_/event1/atct_edit>, 'root': <Application at >, 'template': <FSControllerPageTemplate at /plone/atct_edit used for /plone/Members/test_user_1_/event1>, 'traverse_subpath': [], 'user': <SpecialUser 'Anonymous User'>} Module zope.tales.expressions, line 217, in __call__ Module Products.PageTemplates.Expressions, line 131, in _eval Module zope.tales.expressions, line 124, in _eval Module Products.PageTemplates.Expressions, line 80, in boboAwareZopeTraverse Module OFS.Traversable, line 301, in restrictedTraverse Module OFS.Traversable, line 196, in unrestrictedTraverse - __traceback_info__: ([], '@@at_base_edit_view') Unauthorized: You are not allowed to access '@@at_base_edit_view' in this context Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt Failed doctest test for onestateworkflow.txt File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/workflow/tests/onestateworkflow.txt", line 82, in onestateworkflow.txt Failed example: browser.open('%s/edit' % self.folder.absolute_url()) Expected: Traceback (most recent call last): ... Unauthorized: You are not allowed to access...ATFolder... Got: Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1256, in __run compileflags, 1) in test.globs File "<doctest onestateworkflow.txt[22]>", line 1, in ? browser.open('%s/edit' % self.folder.absolute_url()) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 224, in open self.mech_browser.open(url, data) File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open return self._mech_open(url, data) File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 202, in _mech_open response = UserAgent.open(self, self.request, data) File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_opener.py", line 234, in open response = urlopen(self, req, data) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 376, in _open '_open', req) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain result = func(*args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 79, in http_open return self.do_open(PublisherConnection, req) File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 993, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/testing.py", line 80, in request self.response = self.caller(request_string, handle_errors) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func return func(*args, **kw) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http debug=not handle_errors, File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Test.py", line 199, in publish_module response = publish(request, module_name, after_list, debug=debug) File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 150, in publish sys.exc_info()[2], File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/app/linkintegrity/monkey.py", line 21, in zpublisher_exception_hook_wrapper zpublisher_exception_hook(published, REQUEST, t, v, traceback) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/App/startup.py", line 221, in zpublisher_exception_hook f(client, REQUEST, t, v, traceback, error_log_url=error_log_url) File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 119, in publish request, bind=1) File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/home/stefan/autotest/temp/python24-zope211/lib/python/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/python24-zope211-cmf21-plone30/Products/CMFFormController/FSControllerPageTemplate.py", line 90, in __call__ return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFFormController/BaseControllerPageTemplate.py", line 34, in _call return inherited_call(self, *args, **kwargs) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render return super(PageTemplate, self).pt_render(c, source=source) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal self.engine.setLocal(name, self.engine.evaluateValue(expr)) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 131, in _eval ob = self._subexprs[-1](econtext) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 124, in _eval ob = self._traverser(ob, element, econtext) File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 80, in boboAwareZopeTraverse object = object.restrictedTraverse(name) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 196, in unrestrictedTraverse if restricted and not validate( Unauthorized: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <BLANKLINE> <BLANKLINE> <BLANKLINE> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <head> <BLANKLINE> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <BLANKLINE> <BLANKLINE> <base href="http://nohost/plone/Members/test_user_1_/" /><!--[if lt IE 7]></base><![endif]--> <BLANKLINE> <BLANKLINE> <meta name="generator" content="Plone - http://plone.org" /> <BLANKLINE> <link rel="kss-base-url" href="http://nohost/plone/Members/test_user_1_" /> <BLANKLINE> <BLANKLINE> <BLANKLINE> <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Plone%20Default/event-registration-cachekey7156.js"> </script> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <style type="text/css"><!-- @import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey0444.css); --></style> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <link rel="alternate stylesheet" type="text/css" media="screen" href="http://nohost/plone/portal_css/Plone%20Default/textSmall-cachekey2213.css" title="Small Text" /> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <link rel="alternate stylesheet" type="text/css" media="screen" href="http://nohost/plone/portal_css/Plone%20Default/textLarge-cachekey1294.css" title="Large Text" /> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <style type="text/css"><!-- @import url(http://nohost/plone/portal_css/Plone%20Default/navtree-cachekey2668.css); --></style> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_css/Plone%20Default/at-cachekey0339.kss" /> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_css/Plone%20Default/plone-cachekey1217.kss" /> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <style type="text/css" media="all"><!-- @import url(http://nohost/plone/portal_css/Plone%20Default/ploneCustom-cachekey3510.css); --></style> <BLANKLINE> <BLANKLINE> <BLANKLINE> <BLANKLINE> <title>test_user_1_ — Plone site</title> <BLANKLINE> <BLANKLINE> <!-- Internet Explorer CSS Fixes --> <!--[if IE]> <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style> <![endif]--> <BLANKLINE> <BLANKLINE> <link rel="author" href="http://nohost/plone/author/portal_owner" title="Author information" /> <BLANKLINE> <BLANKLINE> <link rel="shortcut icon" type="image/x-icon" hr... [truncated message content] |