<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <small><big>Ciao a tutti.<br>
        <br>
        Ho un problema su un Plone4 appena messo in esercizio.<br>
        Si tratta di una migrazione da Plone3. <br>
        Nell'area di test tutto ha funzionato perfettamente, messo in
        produzione il tema classic che usiamo come pannello di controllo
        genera eccezione (segue trace).<br>
        <br>
        Da quanto per ora ho visto, sembra che una viewlet in <b>plone.portaltop
        </b>produca un qualche errore, ma non riesco a risalire a quale,
        precisamente.<br>
        Mi potete essere di supporto?<br>
        <br>
        Grazie<br>
        <br>
        Diego<br>
        <b><br>
        </b></big><b><br>
      </b>2011-08-04T18:36:08 ERROR Zope.SiteErrorLog
      1312475768.950.146608702441
      <a class="moz-txt-link-freetext" href="http://admin.xxxx.com/front-page/document_view">http://admin.xxxx.com/front-page/document_view</a><br>
      Traceback (innermost last):<br>
        Module ZPublisher.Publish, line 127, in publish<br>
        Module ZPublisher.mapply, line 77, in mapply<br>
        Module ZPublisher.Publish, line 47, in call_object<br>
        Module Shared.DC.Scripts.Bindings, line 324, in __call__<br>
        Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec<br>
        Module Products.CMFCore.FSPageTemplate, line 240, in _exec<br>
        Module Products.CMFCore.FSPageTemplate, line 180, in pt_render<br>
        Module Products.PageTemplates.PageTemplate, line 80, in
      pt_render<br>
        Module zope.pagetemplate.pagetemplate, line 113, in pt_render<br>
        Module zope.tal.talinterpreter, line 271, in __call__<br>
        Module zope.tal.talinterpreter, line 343, in interpret<br>
        Module zope.tal.talinterpreter, line 888, in do_useMacro<br>
        Module zope.tal.talinterpreter, line 343, in interpret<br>
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal<br>
        Module zope.tal.talinterpreter, line 518, in do_optTag<br>
        Module zope.tal.talinterpreter, line 513, in no_tag<br>
        Module zope.tal.talinterpreter, line 343, in interpret<br>
        Module zope.tal.talinterpreter, line 852, in do_condition<br>
        Module zope.tal.talinterpreter, line 343, in interpret<br>
        Module zope.tal.talinterpreter, line 531, in do_optTag_tal<br>
        Module zope.tal.talinterpreter, line 513, in no_tag<br>
        Module zope.tal.talinterpreter, line 343, in interpret<br>
        Module zope.tal.talinterpreter, line 742, in
      do_insertStructure_tal<br>
        Module Products.PageTemplates.Expressions, line 220, in
      evaluateStructure<br>
        Module zope.tales.tales, line 696, in evaluate<br>
         - URL:
<a class="moz-txt-link-freetext" href="file:/opt/plone-4.0.5/buildout-cache/eggs/Plone-4.0.5-py2.6.egg/Products/CMFPlone/skins/plone_templates/main_template.pt">file:/opt/plone-4.0.5/buildout-cache/eggs/Plone-4.0.5-py2.6.egg/Products/CMFPlone/skins/plone_templates/main_template.pt</a><br>
         - Line 80, Column 8<br>
         - Expression: <StringExpr u'plone.portaltop'><br>
         - Names:<br>
            {'container': <PloneSite at /Plone>,<br>
             'context': <ATDocument at /Plone/front-page>,<br>
             'default': <object object at 0x2ae493a73ae0>,<br>
             'here': <ATDocument at /Plone/front-page>,<br>
             'loop': {},<br>
             'nothing': None,<br>
             'options': {'args': ()},<br>
             'repeat':
      <Products.PageTemplates.Expressions.SafeMapping object at
      0x1a551838>,<br>
             'request': <HTTPRequest,
      URL=<a class="moz-txt-link-freetext" href="http://admin.xxx.com/front-page/document_view">http://admin.xxx.com/front-page/document_view</a>>,<br>
             'root': <Application at >,<br>
             'template': <FSPageTemplate at /Plone/document_view used
      for /Plone/front-page>,<br>
             'traverse_subpath': [],<br>
             'user': <SpecialUser 'Anonymous User'>}<br>
        Module zope.contentprovider.tales, line 80, in __call__<br>
        Module plone.app.viewletmanager.manager, line 154, in render<br>
        Module plone.app.viewletmanager.manager, line 85, in render<br>
        Module zope.viewlet.viewlet, line 59, in render<br>
      AttributeError: render<br>
      ------<br>
      2011-08-04T18:36:09 ERROR root Exception while rendering an error
      message<br>
      Traceback (most recent call last):<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/OFS/SimpleItem.py",
      line 254, in raise_standardErrorMessage<br>
          v = s(**kwargs)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPythonScript.py",
      line 130, in __call__<br>
          return Script.__call__(self, *args, **kw)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py",
      line 324, in __call__<br>
          return self._bindAndExec(args, kw, None)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py",
      line 361, in _bindAndExec<br>
          return self._exec(bound_data, args, kw)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py",
      line 344, in _exec<br>
          result = f(*args, **kw)<br>
        File "Script (Python)", line 34, in standard_error_message<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py",
      line 324, in __call__<br>
          return self._bindAndExec(args, kw, None)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py",
      line 361, in _bindAndExec<br>
          return self._exec(bound_data, args, kw)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPageTemplate.py",
      line 240, in _exec<br>
          result = self.pt_render(extra_context=bound_names)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Products.CMFCore-2.2.4-py2.6.egg/Products/CMFCore/FSPageTemplate.py",
      line 180, in pt_render<br>
          self, source, extra_context<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PageTemplates/PageTemplate.py",
      line 80, in pt_render<br>
          showtal=showtal)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.pagetemplate-3.5.2-py2.6.egg/zope/pagetemplate/pagetemplate.py",
      line 113, in pt_render<br>
          strictinsert=0, sourceAnnotations=sourceAnnotations)()<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 271, in __call__<br>
          self.interpret(self.program)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 343, in interpret<br>
          handlers[opcode](self, args)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 888, in do_useMacro<br>
          self.interpret(macro)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 343, in interpret<br>
          handlers[opcode](self, args)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 533, in do_optTag_tal<br>
          self.do_optTag(stuff)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 518, in do_optTag<br>
          return self.no_tag(start, program)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 513, in no_tag<br>
          self.interpret(program)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 343, in interpret<br>
          handlers[opcode](self, args)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 852, in do_condition<br>
          self.interpret(block)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 343, in interpret<br>
          handlers[opcode](self, args)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 531, in do_optTag_tal<br>
          self.no_tag(stuff[-2], stuff[-1])<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 513, in no_tag<br>
          self.interpret(program)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 343, in interpret<br>
          handlers[opcode](self, args)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tal-3.5.2-py2.6.egg/zope/tal/talinterpreter.py",
      line 742, in do_insertStructure_tal<br>
          structure = self.engine.evaluateStructure(expr)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/PageTemplates/Expressions.py",
      line 220, in evaluateStructure<br>
          text = super(ZopeContext, self).evaluateStructure(expr)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py",
      line 696, in evaluate<br>
          return expression(self)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.contentprovider-3.5.0-py2.6.egg/zope/contentprovider/tales.py",
      line 80, in __call__<br>
          return provider.render()<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manager.py",
      line 154, in render<br>
          return BaseOrderedViewletManager.render(self)<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/plone.app.viewletmanager-2.0.1-py2.6.egg/plone/app/viewletmanager/manager.py",
      line 85, in render<br>
          return u'\n'.join([viewlet.render() for viewlet in
      self.viewlets])<br>
        File
      "/opt/plone-4.0.5/buildout-cache/eggs/zope.viewlet-3.6.1-py2.6.egg/zope/viewlet/viewlet.py",
      line 59, in render<br>
          raise AttributeError("render")<br>
      AttributeError: render<br>
    </small><br>
    <div class="moz-signature">-- <br>
      <p style="line-height: 17px; font-size: 13px; color: rgb(51, 51,
        51); font-family: Tahoma;"> <strong>Diego Purpo</strong><br>
        cel. +39 393 9869631<br>
        <a href="mailto:diego.purpo@infocube.it"><span style="color:
            rgb(51, 51, 51); text-decoration: none;">diego.purpo@infocube.it</span></a>
        <br>
      </p>
      <p style="line-height: 17px; font-size: 13px; color: rgb(51, 51,
        51); font-family: Tahoma;"> <strong style="color: rgb(0, 102,
          102);">INFOCUBE srl</strong><br>
        via gino doria, 84 | 80128 napoli<br>
        tel. +39 081 3412051 | fax. +39 081 19305669<br>
        p.iva 05808481211 | c.f. 05808481211 | rea NA 0777171<br>
        <a href="http://www.infocube.it"><span style="color: rgb(51, 51,
            51); text-decoration: none;">www.infocube.it</span></a><br>
        <a href="http://blog.infocube.it"><span style="color: rgb(51,
            51, 51); text-decoration: none;">blog.infocube.it</span></a><br>
      </p>
    </div>
  </body>
</html>