afewtips.com, on 2008-09-13:
> ZopeXMLConfigurationError: File
> "/home/webmaster/afewtips/src/afewtips.policy/afewtips/policy/configure.zcml",
> line 7.4-7.65
> ConfigurationError: ('Invalid value for', 'initialize', 'ImportError:
> Module afewtips.policy has no global initialize')
>From that last line it looks like your configure.zcml is pointing to
an initialize method in your package and this method does not exist.
Adding the next two lines to afewtips/policy/__init__.py should be
enough usually:
def initialize(context):
"""Initializer called when used as a Zope 2 product."""
--
Maurits van Rees | http://maurits.vanrees.org/
Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup