package="plone.rest"only because the meta.zcml is included there already ...
<configure xmlns="http://namespaces.zope.org/zope" xmlns:meta="http://namespaces.zope.org/meta" xmlns:five="http://namespaces.zope.org/five" xmlns:plone="http://namespaces.plone.org/plone"> <include package="Products.Five" /> <meta:redefinePermission from="zope2.Public" to="zope.Public" /> <include package="plone.rest" file="meta.zcml" /> <plone:CORSPolicy allow_origin="*" allow_credentials="true" expose_headers="Content-Length,X-My-Header" allow_headers="Accept,Authorization,Content-Type,X-Custom-Header" max_age="3600"/> <!-- Load the meta --> <include files="package-includes/*-meta.zcml" /> <five:loadProducts file="meta.zcml"/> <!-- Load the configuration --> <include files="package-includes/*-configure.zcml" /> <five:loadProducts /> <!-- Load the configuration overrides--> <includeOverrides files="package-includes/*-overrides.zcml" /> <five:loadProductsOverrides /> <securityPolicy component="AccessControl.security.SecurityPolicy" /> </configure>
zcml-additional... https://github.com/plone/volto/blob/master/api/base.cfg ... maybe worth a try
I'm updating an application using
sudo -u plone_buildout bin/buildout.
First time running, I get the following error:
While: Initializing. Error: Error downloading extends for URL http://dist.plone.org/version/zope-2-13-27-versions.cfg: <urlopen error [Errno -3] Temporary failure in name resolution>
Now, knowing that an installation script is a deterministic piece of software, I frustratingly re-run the command from above. This should give me the same error but weirdly, it doesn't. Instead, this time it says that zopetoolkit cannot be downloaded [Errno -110]
Being intrigued by this result, I re-run the same command, this time spitting out that plone release 4.3.18 couldn't be downloaded because the network is not reachable [Errno 110]. After retrying this command, those are the random errors that it keeps spitting out.
My question is: wat do?