[CPS-devel] "In heaven everything's fine" trace error

Dragos Ivan div at nuxeo.com
Wed Feb 14 12:22:56 CET 2007


Miguel Sánchez Beato wrote:
> Hello. We're developing on CPS 3.4.2 and we have got a new theme for the
> portal. Using the CPS default theme, the normal trace of an error (any
> error) is like:
>
> Error Type: KeyError Error Value: 'type_name'
> Traceback: 
> Traceback (innermost last):
>         
>         
>       *   Module ZPublisher.Publish, line 115, in publish
>         
>       *   Module ZPublisher.mapply, line 88, in mapply
>         
>       *   Module ZPublisher.Publish, line 41, in call_object
>         
>       *   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_create_form used
> for /cps/workspaces/hne-a-8c-loa>
>         
>       *   Module TAL.TALInterpreter, line 238, in __call__
>         
>       *   Module TAL.TALInterpreter, line 281, in interpret
>         
>       *   Module TAL.TALInterpreter, line 507, in do_setLocal_tal
>         
>       *   Module Products.PageTemplates.TALES, line 221, in evaluate
>         
>         URL:
> file:CPSDocument/skins/cps_document/cpsdocument_create_form.pt
>         Line 1, Column 0
>         Expression: standard:'request/type_name'
>         Names:{'container': <CPSDefaultSite at /cps>,
>          'context': <ProxyFolder at /cps/workspaces/hne-a-8c-loa>,
>          'default': <Products.PageTemplates.TALES.Default instance at
> 0xb721212c>,
>          'here': <ProxyFolder at /cps/workspaces/hne-a-8c-loa>,
>          'loop': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb2f8a24c>,
>          'modules':
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> 0xb71b81ec>,
>          'nothing': None,
>          'options': {'args': ()},
>          'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb2f8a24c>,
>          'request': <HTTPRequest,
> URL=http://localhost:8008/cps/workspaces/hne-a-8c-loa/cpsdocument_create_form>,
>          'root': <Application at >,
>          'template': <FSPageTemplate at /cps/cpsdocument_create_form
> used for /cps/workspaces/hne-a-8c-loa>,
>          'traverse_subpath': [],
>          'user': <CPSUser zopeadmin>}
>       ...
>
> and so on.
>
> But if we use our new theme, the error trace disapear, showing the
> message: "In Heaven Everything's fine..."
>
> We've been looking for a solution, but we're stack. 
> Anybody knows why this is happening?
>
> Thanks!!
>   
Hi,
try to set the "Default" Page Theme as macroless and see if this is 
fixing your problem.

-- 
Dragos Ivan, Nuxeo Romania
+40 21 322 61 13
http://www.nuxeo.ro
mailto:div at nuxeo.com




This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.