#5 — ComponentLookupError

by Chris Thomas last modified Apr 13, 2012 02:36 PM
State Tested and confirmed closed
Version: 4.0.0
Area Process
Issue type Bug
Severity Medium
Submitted by Chris Thomas
Submitted on Jul 21, 2011
Responsible T. Kim Nguyen
Target release: 4.1.1
Upon installation of ATSuccessStory 4.0 on a Plone 4.1 installation, I got the following error while starting Plone.

zope.configuration.config.ConfigurationExecutionError: <class 'zope.component.interfaces.ComponentLookupError'>: (<InterfaceClass zope.security.interfaces.IPermission>, 'cmf.ManagePortal')

The fix for this seems to be to add the following line below to: ATSuccessStory/browser/configure.zcml

<include package="Products.CMFCore" file="permissions.zcml" />
Steps to reproduce:
Upgrading to Plone 4.1 and restarting instances in foreground mode. This happened while testing a migration from Plone 4.0.7 to 4.1. ATSuccessStory 4.0 works fine in all 4.0.x installations, but when moving to 4.1, it breaks, causing the instances to not start as normal.
Added by T. Kim Nguyen on Apr 12, 2012 07:55 PM
The SVN trunk version seems to have been fixed - I just tested it with Plone 4.1.3 and do not get this error, whereas I see this error with the latest released egg version 4.0.0. I'll hunt down frapell and see what he has to say :)
Added by T. Kim Nguyen on Apr 12, 2012 09:37 PM
Fixed in ATSuccessStory 4.1, just released to pypi.
Added by Franco Pellegrini on Apr 13, 2012 05:05 AM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)tkimnguyen
Target release: None4.1.1
Thank you tkimnguyen ! Closing...
Added by T. Kim Nguyen on Apr 13, 2012 02:36 PM
Issue state: ResolvedTested and confirmed closed

No responses can be added.