[z3-five] Configuration error
Sébastien VINOT
sebastien.vinot at logisphere.fr
Wed Aug 23 14:25:20 CEST 2006
Hello,
I'm trying to use Five (1.3.6) with Zope 2.9.4 and I get this error :
ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/five', u'subscriber')
My configuration file has this next line :
<subscriber
for="Products.logiTest.interfaces.sqlBackup.ISqlBackup
zope.app.container.interfaces.IObjectAddedEvent"
handler="Products.logiTest.events.evtSqlBackup.evtCreated" />
I have to say "evtCreated" is a very simple function (just for test)
def evtCreated(document, event):
"""
Reponse a l'evenement : 'Creation d'un objet sqlBackup'.
"""
mailhost = getToolByName(document, 'MailHost')
msg = "Document cree"
mto = 'sebastien.vinot at logisphere.fr'
mfrom = 'webmaster at logiTest.com'
msubject = 'Document cree !!!'
mailhost.send(msg, mto, mfrom, msubject=msubject)
Does that mean Fiver don't konw 'subscriber' ?
Sebastien
More information about the z3-five
mailing list