From: Plone U. T. <plo...@ep...> - 2007-03-19 04:25:10
|
Plone Unit Tests : FAILED (failures=1, errors=20) 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.496s) Installing CMFCalendar ... done (0.085s) Installing CMFTopic ... done (0.048s) Installing DCWorkflow ... done (0.146s) Installing CMFActionIcons ... done (0.038s) Installing CMFQuickInstallerTool ... done (0.469s) Installing CMFFormController ... done (0.616s) Installing GroupUserFolder ... done (0.752s) Installing ZCTextIndex ... done (0.161s) 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.389s) Installing Archetypes ... done (0.185s) Installing ATContentTypes ... done (0.055s) Installing ATReferenceBrowserWidget ... done (0.019s) Installing CMFDynamicViewFTI ... done (0.019s) Installing ExternalEditor ... done (0.042s) Installing ExtendedPathIndex ... done (0.033s) Installing ResourceRegistries ... done (0.018s) Installing SecureMailHost ... done (0.019s) Installing CMFPlacefulWorkflow ... done (0.053s) Installing PasswordResetTool ... done (0.031s) Installing PluggableAuthService ... done (0.032s) Installing PluginRegistry ... done (0.024s) Installing PlonePAS ... done (0.031s) Installing kupu ... done (0.594s) Installing CMFEditions ... done (0.033s) 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.347 seconds. Running Products.PloneTestCase.layer.ZCML tests: Set up Products.PloneTestCase.layer.ZCML in 10.412 seconds. Ran 12 tests with 0 failures and 0 errors in 0.055 seconds. Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.PloneSite in 13.544 seconds. 2007-03-19 05:00:59 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-19 05:00:59 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 Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByEmailAndLoginBeforeSpecifiedTime (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 568, in testSearchByEmailAndLoginBeforeSpecifiedTime before_specified_time=True)), 0) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByEmailAndRoles (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 556, in testSearchByEmailAndRoles self.assertEqual(len(search(email='fred', roles=['Reviewer'])), 1) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByLastLoginTime (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 517, in testSearchByLastLoginTime self.assertEqual(len(search(last_login_time=DateTime('2002-01-01'))), 3) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error 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 546, in testSearchByNameAndLoginBeforeSpecifiedTime before_specified_time=True)), 0) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByNameAndRoles (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 534, in testSearchByNameAndRoles self.assertEqual(len(search(name='fred', roles=['Reviewer'])), 1) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByRoles (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 512, in testSearchByRoles self.assertEqual(len(search(roles=['Member'])), 3) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByRolesAndLastLoginTime (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 575, in testSearchByRolesAndLastLoginTime self.assertEqual(len(search(roles=['Member'], last_login_time=DateTime('2002-01-01'))), 3) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchByRolesAndLoginBeforeSpecifiedTime (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 583, in testSearchByRolesAndLoginBeforeSpecifiedTime before_specified_time=True)), 0) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) Error in test testSearchLoginBeforeSpecifiedTime (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 523, in testSearchLoginBeforeSpecifiedTime before_specified_time=True)), 2) File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/deprecation/deprecation.py", line 152, in deprecated_method return method(self, *args, **kw) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/PlonePAS/tools/membership.py", line 175, in searchForMembers u = member.getUser() # XXX wtf? TypeError: getUser() takes exactly 2 arguments (1 given) 2007-03-19 05:08:08 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-19 05:08:08 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-19 05:08:08 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-19 05:08:08 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-19 05:08:08 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:09:35 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-19 05:10: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-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 151, in filter.txt Failed example: '<p>Testing that works.</p>' in 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 2007-03-19 05:13:58 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: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATFolder at /plone/Members/test_user_1_>, 'default': <object object at 0xb7cc1560>, 'here': <ATFolder at /plone/Members/test_user_1_>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3bf794c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3bf74ec>, '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-19 05:13:58 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 141, in _initializeData self._data['isLocked'] = context_state.is_locked() 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 160, in is_locked return lock_info.is_locked_for_current_user() File "/home/stefan/autotest/temp/python24-zope211-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-zope211-cmf21-plone30/lib/python/plone/locking/lockable.py", line 63, in can_safely_unlock info = self.lock_info() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/locking/lockable.py", line 108, in lock_info info.append({ TypeError: unsubscriptable object 2007-03-19 05:13:58 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: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATDocument at /plone/Members/test_user_1_/document1>, 'default': <object object at 0xb7cc1560>, 'here': <ATDocument at /plone/Members/test_user_1_/document1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3cd59ec>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3bf412c>, '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-19 05:13:58 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 141, in _initializeData self._data['isLocked'] = context_state.is_locked() 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 160, in is_locked return lock_info.is_locked_for_current_user() File "/home/stefan/autotest/temp/python24-zope211-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-zope211-cmf21-plone30/lib/python/plone/locking/lockable.py", line 63, in can_safely_unlock info = self.lock_info() File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/lib/python/plone/locking/lockable.py", line 108, in lock_info info.append({ TypeError: unsubscriptable object 2007-03-19 05:13:58 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: <PythonExpr here.at_isEditable(fields)> - Names: {'container': <PloneSite at /plone>, 'context': <ATEvent at /plone/Members/test_user_1_/event1>, 'default': <object object at 0xb7cc1560>, 'here': <ATEvent at /plone/Members/test_user_1_/event1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3cc6d4c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3d0edac>, '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.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_/event1> - Line 5 Unauthorized: You are not allowed to access '<ATEvent at event1>' in this context 2007-03-19 05:13:59 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/python... [truncated message content] |