Re: "In heaven everything's fine" trace error

Dragos Ivan <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
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:[email protected]

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.