All pastes #139463 Raw Edit

Someone

public text v1 · immutable
#139463 ·published 2006-08-19 23:55 UTC
rendered paste body
2006-08-19 16:52:37 ERROR Zope.SiteErrorLog http://localhost:8080/2.5/prefs_install_products_form
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CacheSetup.patch_cmf, line 18, in FSPT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.CacheSetup.patch_cmf, line 56, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <FSPageTemplate at /2.5/prefs_install_products_form>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 457, in do_optTag_tal
  Module TAL.TALInterpreter, line 442, in do_optTag
  Module TAL.TALInterpreter, line 437, in no_tag
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 511, in do_setGlobal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CMFPlone/skins/plone_templates/global_defines.pt
   - Line 3, Column 0
   - Expression: standard:'context/@@plone'
   - Names:
      {'container': <PloneSite at /2.5>,
       'context': <PloneSite at /2.5>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x2032f80>,
       'here': <PloneSite at /2.5>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x5ecbee0>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2027170>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x5ecbee0>,
       'request': <HTTPRequest, URL=http://localhost:8080/2.5/prefs_install_products_form>,
       'root': <Application at >,
       'template': <FSPageTemplate at /2.5/prefs_install_products_form>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'limi'>}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 173, in _eval
  Module Products.PageTemplates.Expressions, line 127, in _eval
   - __traceback_info__: context
  Module Products.PageTemplates.Expressions, line 286, in restrictedTraverse
   - __traceback_info__: {'path': ['@@plone'], 'TraversalRequestNameStack': []}
  Module Products.Five.traversable, line 115, in __bobo_traverse__
AttributeError: @@plone
2006-08-19 16:52:37 ERROR root Exception while rendering an error message
Traceback (most recent call last):
  File "/Users/limi/Projects/Zope/2.9/lib/python/OFS/SimpleItem.py", line 223, in raise_standardErrorMessage
    v = s(**kwargs)
  File "/Users/limi/Projects/Plone/2.5/Products/CMFCore/FSPythonScript.py", line 108, in __call__
    return Script.__call__(self, *args, **kw)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/Users/limi/Projects/Plone/2.5/Products/CMFCore/FSPythonScript.py", line 164, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in standard_error_message
  File "/Users/limi/Projects/Zope/2.9/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/Users/limi/Projects/Plone/2.5/Products/CMFCore/FSPageTemplate.py", line 195, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/Users/limi/Projects/Plone/2.5/Products/CacheSetup/patch_cmf.py", line 18, in FSPT_pt_render
    return call_pattern(self, 'pt_render', '__CacheSetup_FSPageTemplate_%s__', source, extra_context)
  File "/Users/limi/Projects/Plone/2.5/Products/CacheSetup/patch_utils.py", line 9, in call_pattern
    return getattr(self, pattern % __name__)(*args, **kw)
  File "/Users/limi/Projects/Plone/2.5/Products/CMFCore/FSPageTemplate.py", line 134, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/Users/limi/Projects/Plone/2.5/Products/CacheSetup/patch_cmf.py", line 56, in PT_pt_render
    return call_pattern(self, 'pt_render', '__CacheSetup_PageTemplate_%s__', source, extra_context)
  File "/Users/limi/Projects/Plone/2.5/Products/CacheSetup/patch_utils.py", line 9, in call_pattern
    return getattr(self, pattern % __name__)(*args, **kw)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 238, in __call__
    self.interpret(self.program)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 281, in interpret
    handlers[opcode](self, args)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 749, in do_useMacro
    self.interpret(macro)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 281, in interpret
    handlers[opcode](self, args)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 457, in do_optTag_tal
    self.do_optTag(stuff)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 442, in do_optTag
    return self.no_tag(start, program)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 437, in no_tag
    self.interpret(program)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 281, in interpret
    handlers[opcode](self, args)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 749, in do_useMacro
    self.interpret(macro)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 281, in interpret
    handlers[opcode](self, args)
  File "/Users/limi/Projects/Zope/2.9/lib/python/TAL/TALInterpreter.py", line 511, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/Expressions.py", line 173, in _eval
    ob = self._subexprs[-1](econtext)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval
    ob = restrictedTraverse(ob, path, getSecurityManager())
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/PageTemplates/Expressions.py", line 286, in restrictedTraverse
    o=t(REQUEST, name)
  File "/Users/limi/Projects/Zope/2.9/lib/python/Products/Five/traversable.py", line 115, in __bobo_traverse__
    raise AttributeError(name)
AttributeError: @@plone