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

Massimo Azzolini massimo.azzolini a gmail.com
Sab 18 Ott 2008 11:01:20 UTC


ciao vito,

non so se è questo il caso, ma alla 18.4 lui trova qlcs che non va. non è
detto che sia il configure.zcml stesso potrebbe anche essere qualcosa
"richiamato" dal configure..
prova a indagare..

ciao

max

On Sat, Oct 18, 2008 at 12:09 PM, Vito Falco <vitofalco a gmail.com> wrote:

> 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
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>



-- 

Gerald R. Ford  - "I know I am getting better at golf because I am hitting
fewer spectators."
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20081018/b851d7b3/attachment.html>


Maggiori informazioni sulla lista Plone-IT