Submitted by : SimonMichael at: 2004-02-05T13:41:31+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Mark B: Here's the error traceback:

  Module ZPublisher.Publish, line 98, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module Products.ZWiki.ZWikiPage, line 238, in __call__
  Module Products.ZWiki.CMF, line 123, in __call__
  Module Shared.DC.Scripts.Bindings, line 252, in __call__
  Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 169, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
  Module Products.CMFCore.FSPageTemplate, line 141, in pt_render
  Module Products.PageTemplates.PageTemplate, line 95, in pt_render
   - <FSPageTemplate at /lomb/plone/wikipage_view used for /lomb/plone/LawLibrary/FrontPage>
  Module TAL.TALInterpreter, line 200, in __call__
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 703, in do_useMacro
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 726, in do_defineSlot
  Module TAL.TALInterpreter, line 244, in interpret
  Module TAL.TALInterpreter, line 689, in do_useMacro
  Module Products.PageTemplates.TALES, line 220, in evaluate
   - Line 23, Column 4
   - Expression: standard:'here/document_actions/macros/document_actions'
   - Names:
      {'container': <PloneSite instance at 97424c0>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x88d8e8c>,
       'here': <ZWikiPage at /lomb/plone/LawLibrary/FrontPage>,
       'loop': <SafeMapping instance at 9fc50a0>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x889f12c>,
       'nothing': None,
       'options': {'REQUEST': <HTTPRequest, URL=http://www.hbconsultants.net/lomb/plone/LawLibrary/FrontPage>,
                   'RESPONSE': ZServerHTTPResponse(''),
                   'args': (<ZWikiPage at /lomb/plone/LawLibrary/FrontPage>,)},
       'repeat': <SafeMapping instance at 9fc50a0>,
       'request': <HTTPRequest, URL=http://www.hbconsultants.net/lomb/plone/LawLibrary/FrontPage>,
       'root': <Application instance at 95193c0>,
       'template': <FSPageTemplate at /lomb/plone/wikipage_view used for /lomb/plone/LawLibrary/FrontPage>,
       'traverse_subpath': [],
       'user': Anonymous User}
  Module Products.PageTemplates.Expressions, line 206, in __call__
  Module Products.PageTemplates.Expressions, line 194, in _eval
  Module Products.PageTemplates.Expressions, line 150, in _eval
   - __traceback_info__: here
  Module Products.PageTemplates.Expressions, line 360, in restrictedTraverse
   - __traceback_info__: {'path': ['document_actions', 'macros', 'document_actions'], 'TraversalRequestNameStack': ['document_actions', 'macros']}
 AttributeError: document_actions


comments:

document_actions problem --SimonMichael, Thu, 05 Feb 2004 13:33:34 -0800 reply
snip

Thanks for the other traceback. It seems that Zwiki 0.27 has a dependency on plone 2, or whatever version of CMF/Plone introduced document_actions. A later version than you have anyway. As a temporary workaround, you could customize portal_skins/zwiki_plone/wikipage_view and remove this part:

    <div metal:use-macro="here/document_actions/macros/document_actions">
        Document actions (print, sendto etc)
    </div>

Cheers

PS can someone confirm when document_actions was introduced, or which versions of CMF/Plone this affects ?

fixed for 0.27.1 --SimonMichael, Thu, 05 Feb 2004 23:43:26 -0800 reply
Status: open => closed