|
|
|
|
ysusanto
()
|
|
||||||||||||
|
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 |
||||||||||||||
|
|
Larry Pitcher
()
|
|
||||||||||||
|
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 Could you explain where you installed your your original zeocluster and where you created the new one? The errors in your message look like they're coming from the default installation location. -- Larry Pitcher Catapult Solutions Email: [hidden email] Skype: larry.pitcher Phone: 509.849.2660 _______________________________________________ Setup mailing list [hidden email] http://lists.plone.org/mailman/listinfo/setup |
||||||||||||||
|
|
Steve McMahon
()
|
|
||||||||||||
|
In reply to this post
by ysusanto
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 [hidden email] [hidden email] _______________________________________________ Setup mailing list [hidden email] http://lists.plone.org/mailman/listinfo/setup |
||||||||||||||
|
|
ysusanto
()
|
|
||||||||||||
|
In reply to this post
by Larry Pitcher
Hi Larry,
Thanks for responding. Let me try to explain my environment. I installed plone in /opt/Plone-3.0.1, which is actually a symlink to /oratest/plone/Plone-3.0.1. My original zeocluster, by default is installed in /oratest/plone/Plone- 3.0.1/zeocluster and it's also accessible as /opt/Plone-3.0.1/zeocluster. My new cluster is in /oratest/plone/Plone-3.0.1/lascluster (also accessible as /opt/Plone-3.0.1/lascluster). I hope I don't confuse you. /opt/Plone-3.0.1 ----> /oratest/plone/Plone-3.0.1/ Thanks. Yoel On 10/11/07, Larry Pitcher <[hidden email]> wrote:
_______________________________________________ Setup mailing list [hidden email] http://lists.plone.org/mailman/listinfo/setup |
||||||||||||||
|
|
ysusanto
()
|
|
||||||||||||
|
In reply to this post
by Steve McMahon
Awesome,
that fixed it. I don't see that message coming in the event.log anymore. and I can see my installable product in site setup. Thanks Steve. Really appreciate this. I have another version 2.5 installation, hopefully it's the same cause. Cheers,
|
||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |