[Zope] export/import problems with plone site

Faheem Mitha faheem at email.unc.edu
Mon Nov 14 13:47:56 EST 2005


Hi,

I successfully exported/imported a Plone site from one Zope instance to 
another.

However, when I try to publish the Plone page, I experience an error.

Does anyone know what the problem is here, or what to look for?

Is this perhaps a more Plone speciific problem?

                                                               Faheem.
*********************************************************************

Site Error

An error was encountered while publishing this resource.

AttributeError
Sorry, a site error occurred.

Traceback (innermost last):

     * Module ZPublisher.Publish, line 175, in publish_module_standard
     * Module Products.PlacelessTranslationService.PatchStringIO, line 51, 
in new_publish
     * Module ZPublisher.Publish, line 132, in publish
     * Module Zope.App.startup, line 204, in zpublisher_exception_hook
     * Module ZPublisher.Publish, line 101, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 39, in call_object
     * Module Products.CMFCore.PortalContent, line 116, in __call__
     * Module Shared.DC.Scripts.Bindings, line 306, in __call__
     * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
     * Module Products.CMFCore.FSPageTemplate, line 191, in _exec
     * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
     * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
       <FSPageTemplate at /dulci/document_view used for /dulci/index_html>
     * Module TAL.TALInterpreter, line 190, in __call__
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 671, in do_useMacro
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 702, in do_defineSlot
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 637, in do_condition
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 702, in do_defineSlot
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 671, in do_useMacro
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 637, in do_condition
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 613, in do_loop_tal
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 637, in do_condition
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 657, in do_useMacro
     * Module Products.PageTemplates.TALES, line 221, in evaluate
       Line 16, Column 12
       Expression: <PythonExpr path(pathexpr)>
       Names:

{'container': <PloneSite instance at 43829b30>,
  'context': <Document at /dulci/index_html>,
  'default': <Products.PageTemplates.TALES.Default instance at 0x40b0c60c>,
  'here': <Document at /dulci/index_html>,
  'loop': <SafeMapping instance at 40549b90>,
  'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x40b0c10c>,
  'nothing': None,
  'options': {'args': ()},
  'repeat': <SafeMapping instance at 40549b90>,
  'request': <HTTPRequest, 
URL=http://riverside.dulci.biostat.duke.edu:9673/dulci/index_html>,
  'root': <Application instance at 43829a10>,
  'template': <FSPageTemplate at /dulci/document_view used for 
/dulci/index_html>,
  'traverse_subpath': [],
  'user': faheem}

     * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
       __traceback_info__: path(pathexpr)
     * Module Python expression "path(pathexpr)", line 1, in <expression>
     * Module Products.PageTemplates.PythonExpr, line 81, in __call__
     * Module Products.PageTemplates.Expressions, line 172, in __call__
     * Module Products.PageTemplates.Expressions, line 160, in _eval
     * Module Products.PageTemplates.Expressions, line 116, in _eval
       __traceback_info__: here
     * Module Products.PageTemplates.Expressions, line 325, in 
restrictedTraverse
       __traceback_info__: {'path': ['portlet_forum_latest', 'macros', 
'portlet'], 'TraversalRequestNameStack': ['portlet', 'macros']}

AttributeError: portlet_forum_latest (Also, an error occurred while 
attempting to render the standard error message.)

Troubleshooting Suggestions

     * The URL may be incorrect.
     * The parameters passed to this resource may be incorrect.
     * A resource that this resource relies on may be encountering an 
error.

For more detailed information about the error, please refer to error log.

If the error persists please contact the site maintainer. Thank you for 
your patience.


More information about the Zope mailing list