From: Plone U. T. <plo...@ep...> - 2007-03-07 04:55:03
|
Plone Unit Tests : FAILED (failures=1) 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.016s) Installing CMFDefault ... done (0.404s) Installing CMFCalendar ... done (0.320s) Installing CMFTopic ... done (0.050s) Installing DCWorkflow ... done (0.146s) Installing CMFActionIcons ... done (0.035s) Installing CMFQuickInstallerTool ... done (0.153s) Installing CMFFormController ... done (0.591s) Installing GroupUserFolder ... done (0.733s) Installing ZCTextIndex ... done (0.885s) 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 ' \ done (5.184s) Installing Archetypes ... done (0.166s) Installing ATContentTypes ... done (0.053s) Installing ATReferenceBrowserWidget ... done (0.018s) Installing CMFDynamicViewFTI ... done (0.017s) Installing ExternalEditor ... done (0.026s) Installing ExtendedPathIndex ... done (0.031s) Installing ResourceRegistries ... done (0.236s) Installing SecureMailHost ... done (0.018s) Installing CMFPlacefulWorkflow ... done (0.047s) Installing PasswordResetTool ... done (0.029s) Installing PluggableAuthService ... done (0.030s) Installing PluginRegistry ... done (0.024s) Installing PlonePAS ... done (0.028s) Installing kupu ... done (0.402s) Installing CMFEditions ... done (0.296s) Installing CMFDiffTool ... done (0.216s) Installing PloneLanguageTool ... done (0.070s) 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.165 seconds. Running Products.PloneTestCase.layer.ZCML tests: Set up Products.PloneTestCase.layer.ZCML in 4.707 seconds. Ran 12 tests with 0 failures and 0 errors in 0.034 seconds. Running Products.PloneTestCase.layer.PloneSite tests: Set up Products.PloneTestCase.layer.PloneSite in 8.056 seconds. 2007-03-07 05:27:32 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 72, 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 118, 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 165, in actions return tools.actions().listFilteredActionsFor(aq_inner(self.context)) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 163, 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 148, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 127, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 79, 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-07 05:27:33 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 72, 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 118, 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 165, in actions return tools.actions().listFilteredActionsFor(aq_inner(self.context)) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFCore/ActionsTool.py", line 163, 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 148, in _getExprContext return getExprContext(self, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 127, in getExprContext ec = createExprContext(folder, portal, object) File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone30/Products/CMFPlone/PloneBaseTool.py", line 79, 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-07 05:33:20 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-07 05:33:20 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-07 05:33:20 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-07 05:33:20 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-07 05:33:20 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:57 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-07 05:34:58 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-07 05:35:17 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 147, in filter.txt Failed example: '<p>Testing that works.</p>' in browser.contents Expected: True Got: False 2007-03-07 05:38:55 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 31, 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 0xb7ce2530>, 'here': <ATFolder at /plone/Members/test_user_1_>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3d4ba8c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3d4be8c>, '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-07 05:38:55 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 72, 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 142, 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 156, 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-07 05:38:56 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 31, 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 0xb7ce2530>, 'here': <ATDocument at /plone/Members/test_user_1_/document1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3cd51cc>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3cd5f2c>, '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-07 05:38:56 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 72, 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 142, 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 156, 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-07 05:38:56 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 31, 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 0xb7ce2530>, 'here': <ATEvent at /plone/Members/test_user_1_/event1>, 'loop': {}, 'nothing': None, 'options': {'args': (), 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xb3d4b78c>}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb3d4b10c>, '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-07 05:38:56 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 72, 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 142, 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 156, 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 Ran 1930 tests with 1 failures and 0 errors in 873.211 seconds. Running plone.app.linkintegrity.tests.layer.PloneLinkintegrity tests: Set up plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.000 seconds. Ran 61 tests with 0 failures and 0 errors in 84.112 seconds. Running plone.openid.tests.layer.PloneOpenId tests: Tear down plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.648 seconds. Tear down Products.PloneTestCase.layer.PloneSite in 0.000 seconds. Set up plone.openid.tests.layer.PloneOpenId in 3.562 seconds. Ran 24 tests with 0 failures and 0 errors in 0.066 seconds. Running plone.session.tests.layer.PloneSession tests: Tear down plone.openid.tests.layer.PloneOpenId in 0.011 seconds. Set up plone.session.tests.layer.PloneSession in 8.462 seconds. Ran 8 tests with 0 failures and 0 errors in 0.314 seconds. Tearing down left over layers: Tear down plone.session.tests.layer.PloneSession in 0.011 seconds. Tear down Products.PloneTestCase.layer.ZCML in 0.006 seconds. Total: 2377 tests, 1 failures, 0 errors FAILED (failures=1) |