[Product-Developers] Re: new plone themes don't install

Jon Stahl jon at onenw.org
Sat Feb 16 18:27:54 UTC 2008


Matthew Wilkes wrote:
>
> On Heisei 0020-02-16, at 180234GMT, Martin Aspeli wrote:
>
>> Jon Stahl wrote:
>>> Hi all-
>>> When I try to add Jonathan Wilde's new Plone themes to my 
>>> buildout... by adding "plonetheme.greencommunity" to my [eggs] and 
>>> [zcml] sections, the egg gets downloaded, but then when I restart my 
>>> instance, zope complains:
>>> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File 
>>> "/Users/jon/Plone-3.0-buildout/zinstance/parts/instance/etc/site.zcml", 
>>> line 14.2-14.55
>>>    ZopeXMLConfigurationError: File 
>>> "/Users/jon/Plone-3.0-buildout/zinstance/parts/instance/etc/package-includes/001-plonetheme.greencommunity-configure.zcml", 
>>> line 1.0-1.69
>>>    IOError: [Errno 20] Not a directory: 
>>> '/Users/jon/Plone-3.0-buildout/buildout-cache/eggs/plonetheme.greencommunity-0.11dev_r57564-py2.4.egg/plonetheme/greencommunity/configure.zcml' 
>>>
>>> The egg appears as a single file, not a directory.
>>> What am I missing?  Are these themes not packaged correctly?
>>
>> Ah, he must've used an old version of the template that doesn't 
>> default to zip_safe = False. You'll need to use a development egg 
>> version or get a packaged version that has zip_safe=False in setup.py.
>
> Re-released plonetheme.greencommunity plonetheme.andreas01 and 
> plonetheme.relic
>
> I could have sworn I already tested for this!
>
Matt,

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





More information about the Product-Developers mailing list