#10 — Plone 4.1.3 won't start

by J M Cerqueira Esteves last modified Apr 17, 2012 10:12 AM
State Resolved
Version: 1.0b17
Area Functionality
Issue type Bug
Severity Medium
Submitted by J M Cerqueira Esteves
Submitted on Jan 01, 2012
Responsible Raptus AG
Target release:
In a fresh Plone 4.1.3 installation with one Plone site and no other add-ons, after adding eggs
    raptus.multilanguagefields == 1.0b17
    raptus.multilanguageplone == 1.0b6
in buildout.cfg (and a zcml raptus.multilanguageplone slug entry), Plone (Zope) fails to start properly: from instance.log it is clear that it restarts a few times before stopping. Starting Zope with bin/plonectl debug I got the traceback attached here, suggesting some problem related with permission cmf.ModifyPortalContent.

Maybe this is already fixed in trunk since revision 245245 ("import permissions declarations for plone 4.1 compat"). If so (also with additional changes for revision 245520), it would be nice to have an updated package in pypi :) (meanwhile I'll try to install from svn)
Added by J M Cerqueira Esteves on Jan 01, 2012 12:43 AM
Since the issue tracker itself has some issue, I was unable to submit the above with the traceback as an attachment, but forgot to edit it. Here's the traceback text:

~~~~~~~~~~~~~

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/srv/plone/winston3/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/__init__.py", line 51, in app
    startup()
  File "/srv/plone/winston3/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/srv/plone/winston3/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/startup.py", line 118, in startup
    load_zcml()
  File "/srv/plone/winston3/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/srv/plone/winston3/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/srv/plone/winston3/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py", line 651, in file
    context.execute_actions()
  File "/srv/plone/winston3/buildout-cache/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py", line 626, in execute_actions
    callable(*args, **kw)
  File "/srv/plone/winston3/buildout-cache/eggs/AccessControl-2.13.4-py2.6-linux-i686.egg/AccessControl/security.py", line 165, in protectClass
    permission = getUtility(IPermission, name=permission_id)
  File "/srv/plone/winston3/buildout-cache/eggs/zope.component-3.9.5-py2.6.egg/zope/component/_api.py", line 169, in getUtility
    raise ComponentLookupError(interface, name)
zope.configuration.config.ConfigurationExecutionError: <class 'zope.component.interfaces.ComponentLookupError'>: (<InterfaceClass zope.security.interfaces.IPermission>, 'cmf.ModifyPortalContent')
  in:
  File "/srv/plone/winston3/buildout-cache/eggs/raptus.multilanguagefields-1.0b17-py2.6.egg/raptus/multilanguagefields/ kss/configure.zcml", line 17.4-23.10
      <browser:page
          for="Products.Archetypes.interfaces.IBaseObject"
          attribute="kssValidateMultilanguageField"
          class=".validation.ValidationView"
          name="kssValidateMultilanguageField"
          permission="cmf.ModifyPortalContent"
          />

Added by J M Cerqueira Esteves on Jan 01, 2012 06:45 PM
Confirmed: apparently no problem when installing revision 245520 (used mr.developer to install from svn).
Added by Raptus AG on Apr 17, 2012 10:12 AM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)raptus
Plone 4.1 compatibility was introduced in release 1.0.

No responses can be added.