[Setup] Migration Problem - Error and Traceback

Philip Kilner phil at xfr.co.uk
Fri Nov 18 14:07:26 UTC 2005


Hi All,

Have attempted to migrate a site from 2.04 to 2.1, and am getting the
error below.

The exception type is "AttributeError" and the value is "listActions", in: -
	PythonExpr portal.portal_actions.listFilteredActionsFor(here)

Any clues?

The traceback follows: -


Time  	2005/11/18 07:47:30.604 US/Central
User Name (User Id) 	admin (admin)
Request URL
http://zoidberg.my-domain.com/plones/my-domain/www_my-domain_com/index_html/document_view
Exception Type 	AttributeError
Exception Value 	listActions

Traceback (innermost last):

    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec
    * Module Products.PageTemplates.PageTemplate, line 102, in pt_render
      <ZopePageTemplate at
/plones/my-domain/www_my-domain_com/document_view used for
/plones/my-domain/www_my-domain_com/index_html>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 709, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 709, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 481, 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: <PythonExpr
portal.portal_actions.listFilteredActionsFor(here)>
      Names:

{'container': <PloneSite at /plones/my-domain/www_my-domain_com>,
 'context': <ATDocument at /plones/my-domain/www_my-domain_com/index_html>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x8bdbc8c>,
 'here': <ATDocument at /plones/my-domain/www_my-domain_com/index_html>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x9ad24ec>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x8becb2c>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x9ad24ec>,
 'request': <HTTPRequest,
URL=http://zoidberg.my-domain.com/plones/my-domain/www_my-domain_com/index_html/document_view>,
 'root': <Application at >,
 'template': <ZopePageTemplate at
/plones/my-domain/www_my-domain_com/document_view used for
/plones/my-domain/www_my-domain_com/index_html>,
 'traverse_subpath': [],
 'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: portal.portal_actions.listFilteredActionsFor(here)
    * Module Python expression
"portal.portal_actions.listFilteredActionsFor(here)", line 1, in
<expression>
    * Module Products.CMFPlone.ActionsTool, line 50, in
listFilteredActionsFor
    * Module Products.CMFPlone.ActionsTool, line 41, in _getActions
    * Module Products.CMFCore.ActionsTool, line 199, in _listActionInfos

AttributeError: listActions




-- 

Regards,

PhilK

Email: phil at xfr.co.uk
PGP Public key: http://www.xfr.co.uk
Voicemail & Facsimile: 07092 070518

"You'll find that one part's sweet and one part's tart:
say where the sweetness and the sourness start."
- Tony Harrison



More information about the Setup mailing list