Re: Can't get membrane to play nice with Plone4ArtistsCalendar
from
Rob Miller
on Aug 07, 2007 02:45 AM
On Aug 4, 2007, at 5:02 PM, Dennis J Harrison Jr wrote:
>
> Anyone have a magic solution for this? ;p
yep. i'm not sure what version of Five you're using, but i made a
commit to the 1.4 branch last november that should prevent this problem:
http://tinyurl.com/3ad3jm
the gist is that both membrane and p4a are trying to declare the
PloneSite class as a possible site object, in the Z3 component
architecture sense. this should be allowed, there's not really a
conflict when more than one package tries to do this, but the
component registration code used to barf.
let us know if you're using an appropriate version of Five and are
still having this problem.
-r
>
> Posted to their trackers as well
>
> http://plone.org/products/membrane/issues/9/view
>
>
> http://plone4artists.org/products/plone4artistscalendar/issues/44/
> poi_issue_view
>
>
> This is what I get from zopectl fg
>
>
>
> 2007-08-04 18:22:46 ERROR Zope Couldn't install Five
> Traceback (most recent call last):
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 783, in install_product
> initmethod(context)
> File "/home/zope/bundles/Products-p25/Five/__init__.py", line 31,
> in initialize
> zcml.load_site()
> File "/home/zope/bundles/Products-p25/Five/zcml.py", line 41, in
> load_site
> _context = xmlconfig.file(file)
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> xmlconfig.py", line 560, in file
> context.execute_actions()
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> config.py", line 606, in execute_actions
> for action in resolveConflicts(self.actions):
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> config.py", line 1513, in resolveConflicts
> raise ConfigurationConflictError(conflicts)
> ConfigurationConflictError: Conflicting configuration actions
> For: (<class 'Products.CMFPlone.Portal.PloneSite'>,)
> File "/home/zope/bundles/Products-p25/Plone4ArtistsCalendar/
> pythonlib/p4a/common/configure.zcml", line 18.4-18.48
> <five:localsite class=".Portal.PloneSite" />
> File "/home/zope/bundles/Products-p25/membrane/configure.zcml",
> line 11.2-11.63
> <five:localsite class="Products.CMFPlone.Portal.PloneSite" />
> For: (<class 'Products.CMFPlone.Portal.PloneSite'>,
> <InterfaceClass zope.app.component.interfaces.IPossibleSite>)
> File "/home/zope/bundles/Products-p25/Plone4ArtistsCalendar/
> pythonlib/p4a/common/configure.zcml", line 18.4-18.48
> <five:localsite class=".Portal.PloneSite" />
> File "/home/zope/bundles/Products-p25/membrane/configure.zcml",
> line 11.2-11.63
> <five:localsite class="Products.CMFPlone.Portal.PloneSite" />
> Traceback (most recent call last):
> File "/home/zope/parts/zope2/lib/python/Zope2/Startup/run.py",
> line 56, in ?
> run()
> File "/home/zope/parts/zope2/lib/python/Zope2/Startup/run.py",
> line 21, in run
> starter.prepare()
> File "/home/zope/parts/zope2/lib/python/Zope2/Startup/
> __init__.py", line 98, in prepare
> self.startZope()
> File "/home/zope/parts/zope2/lib/python/Zope2/Startup/
> __init__.py", line 257, in startZope
> Zope2.startup()
> File "/home/zope/parts/zope2/lib/python/Zope2/__init__.py", line
> 47, in startup
> _startup()
> File "/home/zope/parts/zope2/lib/python/Zope2/App/startup.py",
> line 103, in startup
> OFS.Application.initialize(application)
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 304, in initialize
> initializer.initialize()
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 333, in initialize
> self.install_products()
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 605, in install_products
> return install_products(app)
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 636, in install_products
> folder_permissions, raise_exc=debug_mode)
> File "/home/zope/parts/zope2/lib/python/OFS/Application.py", line
> 783, in install_product
> initmethod(context)
> File "/home/zope/bundles/Products-p25/Five/__init__.py", line 31,
> in initialize
> zcml.load_site()
> File "/home/zope/bundles/Products-p25/Five/zcml.py", line 41, in
> load_site
> _context = xmlconfig.file(file)
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> xmlconfig.py", line 560, in file
> context.execute_actions()
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> config.py", line 606, in execute_actions
> for action in resolveConflicts(self.actions):
> File "/home/zope/parts/zope2/lib/python/zope/configuration/
> config.py", line 1513, in resolveConflicts
> raise ConfigurationConflictError(conflicts)
> zope.configuration.config.ConfigurationConflictError: Conflicting
> configuration actions
> For: (<class 'Products.CMFPlone.Portal.PloneSite'>,)
> File "/home/zope/bundles/Products-p25/Plone4ArtistsCalendar/
> pythonlib/p4a/common/configure.zcml", line 18.4-18.48
> <five:localsite class=".Portal.PloneSite" />
> File "/home/zope/bundles/Products-p25/membrane/configure.zcml",
> line 11.2-11.63
> <five:localsite class="Products.CMFPlone.Portal.PloneSite" />
> For: (<class 'Products.CMFPlone.Portal.PloneSite'>,
> <InterfaceClass zope.app.component.interfaces.IPossibleSite>)
> File "/home/zope/bundles/Products-p25/Plone4ArtistsCalendar/
> pythonlib/p4a/common/configure.zcml", line 18.4-18.48
> <five:localsite class=".Portal.PloneSite" />
> File "/home/zope/bundles/Products-p25/membrane/configure.zcml",
> line 11.2-11.63
> <five:localsite class="Products.CMFPlone.Portal.PloneSite" />
>
>
>
>
>
>
> --
> Dennis J Harrison Jr
> Owner - Absolute IT
> CCNE, CEH
> dennis@...
> B: 504.754.1343
> C: 985.590.0420