[Setup] additional zeo instance failed to load products

Steve McMahon steve at dcn.org
Wed Oct 10 16:27:37 UTC 2007


Yoel,

You'll also need the "lib" subdirectory from zeocluster. Take a look at
how it's symbolically linked in the two preset clients. It's also a good
idea to use a symbolic link (rather than a copy) for the instance
Products directory, so that changes will apply to all clients.

Steve

ysusanto wrote:
> Hi,
> 
> I installed Plone-3.0.1 using the unified installer. it all ran well, no
> alert saying a Product is unabled to be imported when i start the instance.
> 
> I create new cluster using mkzeoinstance.py and mkzopeinstance.py and copied
> Products folder from the out-of-the-box zeocluster into this new cluster.
> 
> When i started the new instance, i am receiving error message saying that
> products failed to be loaded.
> like below
> ==================================================================
> 2007-10-10T16:44:38 ERROR Application Could not import
> Products.ATContentTypes
> Traceback (most recent call last):
>   File "/opt/Plone-3.0.1/lib/python/OFS/Application.py", line 708, in
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/ATContentTypes/__init__.py",
> line 64, in ?
>     import Products.ATContentTypes.content
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/ATContentTypes/content/__init__.py",
> line 26, in ?
>     import Products.ATContentTypes.content.link
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/ATContentTypes/content/link.py",
> line 38, in ?
>     from Products.ATContentTypes.content.base import registerATCT
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/ATContentTypes/content/base.py",
> line 63, in ?
>     from Products.CMFPlone.PloneFolder import ReplaceableWrapper
>   File "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/__init__.py",
> line 215, in ?
>     from browser import ploneview
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/browser/ploneview.py",
> line 12, in ?
>     from Products.CMFPlone import utils
>   File "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/utils.py",
> line 7, in ?
>     from plone.i18n.normalizer.interfaces import IIDNormalizer
> ImportError: No module named plone.i18n.normalizer.interfaces
> ------
> 2007-10-10T16:44:39 INFO CMFPlacefulWorkflow NOTICE   __init__.py:33:Wed Oct
> 10 16:44:39 2007: 'Apply getChainFor monkey patch on WorkflowTool'
> ------
> 2007-10-10T16:44:39 ERROR Application Could not import
> Products.CMFPlacefulWorkflow
> Traceback (most recent call last):
>   File "/opt/Plone-3.0.1/lib/python/OFS/Application.py", line 708, in
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlacefulWorkflow/__init__.py",
> line 27, in ?
>     import patches
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlacefulWorkflow/patches/__init__.py",
> line 34, in ?
>     import workflowtoolPatch
>   File
> "/oratest/plone/Plone-3.0.1/lascluster/client1/Products/CMFPlacefulWorkflow/patches/workflowtoolPatch.py",
> line 28, in ?
>     from Products.CMFPlone.WorkflowTool import WorkflowTool
>   File "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/__init__.py",
> line 215, in ?
>     from browser import ploneview
>   File
> "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/browser/ploneview.py",
> line 12, in ?
>     from Products.CMFPlone import utils
>   File "/opt/Plone-3.0.1/zeocluster/client1/Products/CMFPlone/utils.py",
> line 7, in ?
>     from plone.i18n.normalizer.interfaces import IIDNormalizer
> ImportError: No module named plone.i18n.normalizer.interfaces
> ========================================================================
> 
> 
> Is there extra step to do to get this right beside copying Products folder
> and start the instance?
> 
> Please help me to fix this.
> 
> Thanks.
> 
> Yoel

-- 
______________________________________________________

Steve McMahon
Reid-McMahon, LLC
steve at reidmcmahon.com
steve at dcn.org




More information about the Setup mailing list