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

Vito Falco vitofalco a gmail.com
Sab 18 Ott 2008 11:35:50 UTC


Concordo,
non ho fatto alcuna modifica (almeno consciamente! :-P) e sembra proprio che
non riconosca la chiamata al namespaces...

L'unica cosa "differente" tra il pc dell'ufficio e il mio mac è che il
buildout l'ho creato oggi, quindi con plone 3.1.6 mentre il buildout che uso
in ufficio è versionato alla 3.1.5.1

Magari un anima pia potrebbe oggi creare da zero un buildout e provare ad
utilizzare un suo pacchetto in fase di sviluppo.

Vito

2008/10/18 Alessandro Pisa <alessandro.pisa a gmail.com>

> Sembra non conosca la direttiva
> genericsetup:registerProfile
>
> Strano perche' hai correttamente dichiarato
> xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
>
> Tempo fa avevo avuto lo stesso problema con smartPrinNG e se non sbaglio lo
> avevo risolto dichiarando la direttiva in un tag meta, ma il fatto che
> manchi una direttiva cosi' importante a generic setup mi lascia di stucco!
>
> Ciao!
>
> 2008/10/18 Massimo Azzolini <massimo.azzolini a gmail.com>
>
> 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."
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> http://alepisa.blogspot.com
> Esalando Prassi
>
> _______________________________________________
> 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
>



-- 
"Design is the method of putting form and content together. Design, just as
art, has multiple definitions; there is no single definition. Design can be
art. Design can be aesthetics. Design is so simple, that's why it is so
complicated." by Paul Rand
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20081018/5e1afc39/attachment.html>


Maggiori informazioni sulla lista Plone-IT