[Product-Developers] Re: new plone themes don't install
Martin Aspeli
optilude at gmx.net
Sat Feb 16 19:00:39 UTC 2008
Matthew Wilkes wrote:
>> The egg now uncompresses correctly (w00t!), but now I get the
>> following error at startup:
>>
>> zope.configuration.config.ConfigurationExecutionError:
>> exceptions.OSError: [Errno 2] No such file or directory: '/Users/jon/
>> Plone-3.0-buildout/buildout-cache/eggs/
>> plonetheme.greencommunity-0.12dev_r58800-py2.4.egg/plonetheme/
>> greencommunity/skins/plonetheme_greencommunity_custom_images'
>> in:
>> File "/Users/jon/Plone-3.0-buildout/buildout-cache/eggs/
>> plonetheme.greencommunity-0.12dev_r58800-py2.4.egg/plonetheme/
>> greencommunity/skins.zcml", line 7.3-8.55
>> <cmf:registerDirectory
>> name="plonetheme_greencommunity_custom_images"/>
>>
>> best,
>> jon
>
> Yeah, the directory is missing, but isn't in the source tree the
> distribution was built from. Maybe because it's empty, I have no
> clue, anyone else?
You need to check it into svn before making the egg from the working
copy, or add it to SOURCES.txt in egg-info manually. Otherwise,
setuptools helpfully ignores it.
If it's an empty directory, though, you could just remove that ZCML. :)
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
More information about the Product-Developers
mailing list