I installed PABlog on Zope 2.6.1 with CMF 1.3 All the installation steps are done. Now, if I click on the link "Add Comment", I receive this error message: Error Type KeyError Error Value isAnon it doesn't matter if I am logged in or not. The same message appears.
Stephan Goeldi wrote at 2003-5-24 10:36 +0200:
I installed PABlog on Zope 2.6.1 with CMF 1.3
All the installation steps are done. Now, if I click on the link "Add Comment", I receive this error message:
Error Type KeyError
Error Value isAnon
it doesn't matter if I am logged in or not. The same message appears.
You know about tracebacks? Look at them... Dieter
You know about tracebacks? Look at them...
There is no traceback. The following is in the source code, but no traceback: <div> <h1>Site error</h1> <p> This site encountered an error trying to fulfill your request. The errors were: </p> <div class="group"> <span class="legend">Error Details</span> <div class="row"> <div class="label"> Error Type </div> <div class="field">KeyError</div> </div> <div class="row"> <div class="label"> Error Value </div> <div class="field">isAnon</div> </div> </div> </div>
Stephan Goeldi wrote at 2003-5-25 18:12 +0200:
You know about tracebacks? Look at them...
There is no traceback. The following is in the source code, but no traceback:
From version 2.6 on, the traceback is no longer included in the error page (unless you put it in) but available via the "error_log" instance in your Zope root folder.
Dieter
via the "error_log" instance in your Zope root folder.
Exception Type KeyError Exception Value isAnon Traceback (innermost last): * Module ZPublisher.Publish, line 49, in publish * Module ZPublisher.mapply, line 32, in mapply * Module ZPublisher.Publish, line 38, in call_object * Module Shared.DC.Scripts.Bindings, line 250, in __call__ * Module Shared.DC.Scripts.Bindings, line 270, in _bindAndExec * Module Products.PageTemplates.ZopePageTemplate, line 198, in _exec * Module Products.PageTemplates.PageTemplate, line 79, in pt_render <ZopePageTemplate at /site.com/site/portal_skins/custom/blogindex_html> * Module TAL.TALInterpreter, line 196, in __call__ * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 685, in do_useMacro * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 716, in do_defineSlot * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 667, in do_condition * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 667, in do_condition * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 633, in do_loop_tal * Module TAL.TALInterpreter, line 229, in interpret * Module TAL.TALInterpreter, line 667, in do_condition * Module Products.PageTemplates.TALES, line 211, in evaluate URL: /site.com/site/portal_skins/custom/blogindex_html Line 84, Column 30 Expression: not:'isAnon' Names: {'container': <Folder instance at 93c4998>, 'default': <Products.PageTemplates.TALES.Default instance at 0x86ab01c>, 'here': <Folder instance at 93c4998>, 'loop': <SafeMapping instance at 8c4c5a0>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86b2274>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 8c4c5a0>, 'request': <HTTPRequest, URL=http://site.com/site/portal_skins/custom/blogindex_html>, 'root': <Application instance at 92f48f8>, 'template': <ZopePageTemplate at /site.com/site/portal_skins/custom/blogindex_html>, 'traverse_subpath': ['item_url'], 'user': usable} * Module Products.PageTemplates.Expressions, line 263, in __call__ * Module Products.PageTemplates.TALES, line 211, in evaluate URL: /site.com/site/portal_skins/custom/blogindex_html Line 84, Column 30 Expression: standard:'isAnon' Names: {'container': <Folder instance at 93c4998>, 'default': <Products.PageTemplates.TALES.Default instance at 0x86ab01c>, 'here': <Folder instance at 93c4998>, 'loop': <SafeMapping instance at 8c4c5a0>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86b2274>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 8c4c5a0>, 'request': <HTTPRequest, URL=http://site.com/site/portal_skins/custom/blogindex_html>, 'root': <Application instance at 92f48f8>, 'template': <ZopePageTemplate at /site.com/site/portal_skins/custom/blogindex_html>, 'traverse_subpath': ['item_url'], 'user': usable} * Module Products.PageTemplates.Expressions, line 203, in __call__ * Module Products.PageTemplates.Expressions, line 181, in _eval * Module Products.PageTemplates.Expressions, line 128, in _eval __traceback_info__: isAnon KeyError: isAnon
Stephan Goeldi wrote at 2003-5-26 12:36 +0200:
via the "error_log" instance in your Zope root folder.
Exception Type KeyError Exception Value isAnon .... * Module Products.PageTemplates.TALES, line 211, in evaluate URL: /site.com/site/portal_skins/custom/blogindex_html Line 84, Column 30 Expression: not:'isAnon' Names:
In line 84, Column 30, your "blogindex_html" (or an include macro) references "not: 'isAnon'". Almost surely, the enclosing quotes "'" are wrong. Try: "not: isAnon". Check that "isAnon" is defined above (it is not a predefined variable). Dieter
participants (2)
-
Dieter Maurer -
Stephan Goeldi