Cardamom Buildout Hack
The Symptom
After making changes to the buildout configuration on the cardamom environment, zope ain't gonna start. Here's the cursing you'll be subjected to:
[long stack trace]
...
...
...
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Users/jesses/zope2/cardamom_buildout/parts/instance/etc/site.zcml", line 13.2-13.23
ZopeXMLConfigurationError: File "/Users/jesses/zope2/cardamom_buildout/parts/third-party-distros-stable/Plone4ArtistsCalendar/configure.zcml", line 9.2-9.41
ZopeXMLConfigurationError: File "/Users/jesses/zope2/cardamom_buildout/parts/third-party-distros-stable/Plone4ArtistsCalendar/pythonlib/p4a/plonecalendar/configure.zcml", line 65.2
ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/genericsetup', u'registerProfile')
Ouch.
I'm sure there's a sophisticated fix, but this isn't an instance we're going to do new development against, so we're going to limp along for now.
The Fix
Just delete the main site.zcml file. Yep. Just blow it away:
$ rm parts/instance/etc/site.zcml
Ha! Works great now.
