From: Plone U. T. <plo...@ep...> - 2007-03-23 04:18:53
|
Plone Unit Tests : FAILED (failures=25, errors=7) Plone-trunk Zope-2.10 Python-2.4.4 Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --package Products.CMFPlone --package plone Installing CMFCore ... done (0.017s) Installing CMFDefault ... done (0.486s) Installing CMFCalendar ... done (0.080s) Installing CMFTopic ... done (0.074s) Installing DCWorkflow ... done (0.134s) Installing CMFActionIcons ... done (0.038s) Installing CMFQuickInstallerTool ... done (0.795s) Installing CMFFormController ... done (0.642s) Installing GroupUserFolder ... done (0.734s) Installing ZCTextIndex ... done (0.192s) Installing CMFPlone ... /home/stefan/autotest/temp/python24-zope210-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-zope210-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 (6.769s) Installing Archetypes ... done (0.180s) Installing ATContentTypes ... done (0.069s) Installing ATReferenceBrowserWidget ... done (0.019s) Installing CMFDynamicViewFTI ... done (0.018s) Installing ExternalEditor ... done (0.028s) Installing ExtendedPathIndex ... done (0.034s) Installing ResourceRegistries ... done (0.022s) Installing SecureMailHost ... done (0.019s) Installing CMFPlacefulWorkflow ... done (0.052s) Installing PasswordResetTool ... done (0.031s) Installing PluggableAuthService ... done (0.031s) Installing PluginRegistry ... done (0.025s) Installing PlonePAS ... done (0.029s) Installing kupu ... done (0.433s) Installing CMFEditions ... done (0.034s) Installing CMFDiffTool ... done (0.029s) Installing PloneLanguageTool ... done (0.028s) Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone30/etc/zope.conf Running unit tests: Ran 342 tests with 0 failures and 0 errors in 7.410 seconds. Running Products.PloneTestCase.layer.ZCML tests: Set up Products.PloneTestCase.layer.ZCML in 5.529 seconds. Ran 12 tests with 0 failures and 0 errors in 0.056 seconds. Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.PloneSite in 12.706 seconds. Failure in test testViewAllowedOnContentInAcquisitionBlockedFolderWithCustomWorkflow (Products.CMFPlone.tests.testContentSecurity.TestContentSecurity) Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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-23 04:35:48 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-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-zope210-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 164, in listFilteredActionsFor actions.extend( provider.listActionInfos(object=object) ) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/ActionProviderBase.py", line 91, in listActionInfos ec = self._getExprContext(object) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 150, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 129, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope210/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-23 04:35:48 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-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-zope210-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 164, in listFilteredActionsFor actions.extend( provider.listActionInfos(object=object) ) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/ActionProviderBase.py", line 91, in listActionInfos ec = self._getExprContext(object) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 150, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 129, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope210/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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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-23 04:41: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-23 04:41: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-23 04:41: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-23 04:41: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-23 04:41: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. Error in test testSubsequentProfileImportSucceeds (Products.CMFPlone.tests.testPortalCreation.TestPortalBugs) Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFPlone/tests/testPortalCreation.py", line 825, in testSubsequentProfileImportSucceeds setup_tool.runAllImportSteps(purge_old=True) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 252, in runAllImportSteps return self._runImportStepsFromContext(context, purge_old=purge_old) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 766, in _runImportStepsFromContext message = self._doRunImportStep(step, context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/GenericSetup/tool.py", line 732, in _doRunImportStep return handler(context) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/Archetypes/exportimport/archetypetool.py", line 71, in importArchetypeTool tool = getUtility(IArchetypeTool) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/component/_api.py", line 207, in getUtility raise ComponentLookupError(interface, name) ComponentLookupError: (<InterfaceClass Products.Archetypes.interfaces._archetypetool.IArchetypeTool>, '') 2007-03-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:42:48 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-23 04:43:12 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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/calendar.txt Failed doctest test for calendar.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/calendar.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt Failed doctest test for filter.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/filter.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/mail.txt Failed doctest test for mail.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/mail.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/search.txt Failed doctest test for search.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/search.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/site.txt Failed doctest test for site.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/site.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/skins.txt Failed doctest test for skins.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/skins.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/markup.txt Failed doctest test for markup.txt File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/controlpanel/tests/markup.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/openid/tests/test_view.py", line 25, in testOnlyOpenIdInstalled view=self.view File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope210/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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-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-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope210/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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-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-zope210/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse return self.unrestrictedTraverse(path, default, restricted=True) File "/home/stefan/autotest/temp/python24-zope210/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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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 "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__ testMethod() File "/home/stefan/autotest/temp/python24-zope210-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-23 04:47:12 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-zope210-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATFolder at /plone/Members/test_user_1_>, 'default': <object object at 0xb7d7d560>, 'here': <ATFolder at /plone/Members/test_user_1_>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3db07ec>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3db02cc>, '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 Products.PageTemplates.ZRPythonExpr, line 49, in __call__ - __traceback_info__: here.at_isEditable(fields) Module PythonExpr, line 1, in <expression> Module Products.CMFCore.FSPythonScript, line 145, in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 201, in _exec Module None, line 5, in at_isEditable - <FSPythonScript at /plone/at_isEditable used for /plone/Members/test_user_1_> - Line 5 Unauthorized: You are not allowed to access '<ATFolder at test_user_1_>' in this context 2007-03-23 04:47:12 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 141, in _initializeData self._data['isLocked'] = context_state.is_locked() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/layout/globals/context.py", line 160, in is_locked return lock_info.is_locked_for_current_user() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/browser/locking.py", line 54, in is_locked_for_current_user return not lockable.can_safely_unlock() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/lockable.py", line 63, in can_safely_unlock info = self.lock_info() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/lockable.py", line 108, in lock_info info.append({ TypeError: unsubscriptable object 2007-03-23 04:47:12 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-zope210-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATDocument at /plone/Members/test_user_1_/document1>, 'default': <object object at 0xb7d7d560>, 'here': <ATDocument at /plone/Members/test_user_1_/document1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3dd2d6c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3d92cac>, '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 Products.PageTemplates.ZRPythonExpr, line 49, in __call__ - __traceback_info__: here.at_isEditable(fields) Module PythonExpr, line 1, in <expression> Module Products.CMFCore.FSPythonScript, line 145, in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 201, in _exec Module None, line 5, in at_isEditable - <FSPythonScript at /plone/at_isEditable used for /plone/Members/test_user_1_/document1> - Line 5 Unauthorized: You are not allowed to access '<ATDocument at document1>' in this context 2007-03-23 04:47:12 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/SimpleItem.py", line 227, in raise_standardErrorMessage v = s(**kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPythonScript.py", line 145, in __call__ return Script.__call__(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-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-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__ return self._bindAndExec(args, kw, None) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec return self._exec(bound_data, args, kw) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 220, in _exec result = self.pt_render(extra_context=bound_names) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/Products/CMFCore/FSPageTemplate.py", line 159, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/stefan/autotest/temp/python24-zope210/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-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 139, in _eval return render(ob, econtext.vars) File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 103, in render ob = ob() File "/home/stefan/autotest/temp/python24-zope210-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-zope210-cmf21-plone30/Products/CMFPlone/browser/ploneview.py", line 141, in _initializeData self._data['isLocked'] = context_state.is_locked() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/memoize/view.py", line 49, in memogetter value = cache[key] = func(*args, **kwargs) File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/app/layout/globals/context.py", line 160, in is_locked return lock_info.is_locked_for_current_user() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/browser/locking.py", line 54, in is_locked_for_current_user return not lockable.can_safely_unlock() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/lockable.py", line 63, in can_safely_unlock info = self.lock_info() File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone30/lib/python/plone/locking/lockable.py", line 108, in lock_info info.append({ TypeError: unsubscriptable object 2007-03-23 04:47:12 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-zope210-cmf21-plone30/Products/Archetypes/skins/archetypes/base_edit.cpt - Line 1, Column 0 - Expression: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATEvent at /plone/Members/test_user_1_/event1>, 'default': <object object at 0xb7d7d560>, 'here': <ATEvent at /plone/Members/test_user_1_/event1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3db05cc>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb44110ec>, '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 Products.PageTemplates.ZRPythonExpr, line 49, in __call__ - __traceback_info__: here.at_isEditable(fields) Module PythonExpr, line 1, in <expression> Module Products.CMFCore.FSPythonScript, line 145, in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products... [truncated message content] |