Thank you Florent,
everything is working now :)

Stefano

> This should be fixed now, changeset 31296.
>
> Florent
>
> On 29 Dec 2005, at 18:52, Stefano Schintu wrote:
>
> > Hello,
> > if I try to view the metadata of any kind of content I get the
> > following error:
> >
> > Request URL   http://localhost:8080/cps/sections/cpsdocument_metadata
> > Exception Type        KeyError
> > Exception Value       'creation'
> >
> > Traceback (innermost last):
> >
> >     * Module ZPublisher.Publish, line 113, in publish
> >     * Module ZPublisher.mapply, line 88, in mapply
> >     * Module ZPublisher.Publish, line 40, in call_object
> >     * Module Products.CMFCore.FSPythonScript, line 108, in __call__
> >     * Module Shared.DC.Scripts.Bindings, line 311, in __call__
> >     * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
> >     * Module Products.CMFCore.FSPythonScript, line 163, in _exec
> >     * Module None, line 32, in cpsdocument_metadata
> >       <FSPythonScript at /cps/cpsdocument_metadata used for /cps/
> > sections>
> >       Line 32
> >     * Module Shared.DC.Scripts.Bindings, line 311, in __call__
> >     * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
> >     * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
> >     * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
> >     * Module Products.PageTemplates.PageTemplate, line 104, in
> > pt_render
> >       <FSPageTemplate at /cps/cpsdocument_metadata_template used for
> > /cps/sections>
> >     * Module TAL.TALInterpreter, line 206, in __call__
> >     * Module TAL.TALInterpreter, line 250, in interpret
> >     * Module TAL.TALInterpreter, line 676, in do_condition
> >     * Module Products.PageTemplates.TALES, line 221, in evaluate
> >       URL: file:CPSDocument/skins/cps_document/
> > cpsdocument_edit_form.pt
> >       Line 61, Column 4
> >       Expression: standard:'creation'
> >       Names:
> >
> >       {'container': <CPSDefaultSite at /cps>,
> >        'context': <ProxyFolder at /cps/sections>,
> >        'default': <Products.PageTemplates.TALES.Default instance at
> > 0xb76c4d8c>,
> >        'here': <ProxyFolder at /cps/sections>,
> >        'loop': <Products.PageTemplates.TALES.SafeMapping object at
> > 0xb1399b4c>,
> >        'modules':
> > <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> > 0xb76c9dec>,
> >        'nothing': None,
> >        'options': {'args': (),
> >                    'edit_metadata': 1,
> >                    'portal_status_message': '',
> >                    'rendered_main': '\n\\n
> > </div></form>\n\n\n\n'},
> >        'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> > 0xb1399b4c>,
> >        'request': <HTTPRequest,
> > URL=http://localhost:8080/cps/sections/cpsdocument_metadata>,
> >        'root': <Application at >,
> >        'template': <FSPageTemplate at
> > /cps/cpsdocument_metadata_template used for /cps/sections>,
> >        'traverse_subpath': [],
> >        'user': manager}
> >
> >     * Module Products.PageTemplates.Expressions, line 185, in __call__
> >     * Module Products.PageTemplates.Expressions, line 173, in _eval
> >     * Module Products.PageTemplates.Expressions, line 123, in _eval
> >       __traceback_info__: creation
> >
> > KeyError: 'creation'
> >
> > I'm using an svn checkout done around december 20th, before the Zope
> > 2.9 upgrade, with Zope 2.8.4 and Python 2.4.1 on Fedora 4.
> >
> > Thank you,
> > Stefano
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to