On 8/12/11 6:07 PM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I encountered the following error with multiple add-ons
under Plone 4.1 (working nicely with Plone 4.0).
http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.0-to-4.1/updating-add-on-products-for-plone-4.1/referencemanual-all-pages
see 'updating permissions' in particular.
If you aim for backwards compatibility I'd recommend
to make this conditional on plone41 or skip the
specification of the permissions file in ZCML.
Otherwise stuff will break on Plone 3.x.
Raphael
Any idea?
- -aj
/__init__.py", line 86, in prepare
self.startZope()
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/Zope2/Startup/__init__.py",
line 259, in startZope
Zope2.startup()
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/Zope2/__init__.py",
line 47, in startup
_startup()
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/startup.py", line
118, in startup
load_zcml()
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/startup.py", line
52, in load_zcml
load_site()
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/Zope2/App/zcml.py",
line 46, in load_site
_context = xmlconfig.file(site_zcml)
File
"/home/ajung/.buildout/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
line 651, in file
context.execute_actions()
File
"/home/ajung/.buildout/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
line 626, in execute_actions
callable(*args, **kw)
File
"/home/ajung/.buildout/eggs/Zope2-2.13.8-py2.6.egg/OFS/metaconfigure.py", line
120, in _registerClass
permission_obj = getUtility(IPermission, permission)
File
"/home/ajung/.buildout/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.ManagePortal')
in:
File
"/home/ajung/.buildout/eggs/alm.solrindex-1.1.1-py2.6.egg/alm/solrindex/configure.zcml",
line 47.0-53.6
<five:registerClass
class=".index.SolrIndex"
meta_type="SolrIndex"
addview="addSolrIndex.html"
permission="cmf.ManagePortal"
global="False"
/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJORU/XAAoJEADcfz7u4AZjO08Lv3p6svZjhbjKLP10twpydsH4
LAdYH9q7WIv3QgfVEjE2uojEAX/21Ll7/B1BJGHNfGmKaremx2TW6Jsm1lp4UDDT
nvtllJKFIxvhClNdK4ECBaYrr5fREfaNe2YB2IQFPkHGfVoqnP+kIWCeFEmgXxm6
OhF8ndxsN6JwT8KLtJrt4VTpJvptJ8mvI0VVhgQd4ZcempYLLcsviVJU9DoU49Jz
othCRtMp/l9hiXFXJb9mBN41xZbYtoEYDv/YAQZnqoR+TmjtD3rNWp87xjEKNwwd
MceyqL88n5obk7kJyUMePf+vf+RcKhLUTKaFUDJ3T0WXVxfi7CYzbFuoST94vgB5
up4uP8MlOCA2sOIk8N2MHL3sRErHvkOZXX1Hq8tmlmgKBUzO02bGEJOZpfYDMKS+
5Fu4q1NDcEu2RAhPhi5qg/lQ0I6jXwFMBRxusiFoH8xtb0PLHBnP0eKdjbauwYf3
juNk0/HzXDHsq+Og2lg0b4ZROT6SODA=
=9rrI
-----END PGP SIGNATURE-----
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers