[Plone-IT] Problemi col genericsetup... non riesco a capire cosa c'è che non va

Vito Falco vitofalco a gmail.com
Sab 18 Ott 2008 10:09:03 UTC


Hola,
stamattina ho acceso il macbook e creato un nuovo plone3_buildout col
paster.
Nella src ho messo il mio prodottino che ho sviluppato in ufficio, editato
il buildout.cfg, dato il comando buildout e fatto partire zope.
Non ho mai avuto problemi di questo tipo, ma stamattina non riesco proprio a
lavorare.

Il messaggio di errore che mi resituisce bin/instance fg è il seguente:

ZopeXMLConfigurationError: File
> "/Users/vito/Documents/ploneprojects/testucam/parts/instance/etc/package-includes/001-ucam.special-configure.zcml",
> line 1.0-1.56
> ZopeXMLConfigurationError: File
> "/Users/vito/Documents/ploneprojects/testucam/src/ucam.special/ucam/special/configure.zcml",
> line 18.4
> ConfigurationError: Invalid directive (u'
> http://namespaces.zope.org/genericsetup', u'registerProfile')
>

Il mio configure.zcml è questo:

<configure
>     xmlns="http://namespaces.zope.org/zope"
>     xmlns:five="http://namespaces.zope.org/five"
>     xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
>     i18n_domain="ucam.special"
>     xmlns:i18n="http://namespaces.zope.org/i18n">
>
>     <five:registerPackage package="." initialize=".initialize" />
>     <!-- <i18n:registerTranslations directory="locales" /> -->
>
>     <!-- Include the sub-packages that use their own configure.zcml files.
> -->
>     <include package=".browser" />
>     <include package=".content" />
>     <include package=".portlets" />
>     <include package="plone.app.contentmenu">
>
>     <!-- Register the installation GenericSetup extension profile -->
>     <genericsetup:registerProfile
>       name="default"
>       title="Ucam New contents for the plone site"
>       directory="profiles/default"
>       description="New type, objects and view for ucam.edu"
>       provides="Products.GenericSetup.interfaces.EXTENSION"
>       />
>
>     <!-- -*- extra stuff goes here -*- -->
>     <!-- new action on plone menu for set the homepage -->
>     <browser:menuItem
>       for="Products.CMFCore.interfaces.ISiteRoot"
>       menu="plone_displayviews"
>       title="Ucam view for the homepage"
>       action="@@hp"
>       description="Set the homepage view"
>     />
> </configure>
>

Non riesco a capire perchè questo file è sempre andato bene e stamattina no
:-/
Qualche dritta?

Vito
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20081018/4e8670ac/attachment.html>


Maggiori informazioni sulla lista Plone-IT