[Zope] Newbie wants to learn from her mistakes

dancam@netcourrier.com dancam@netcourrier.com
Mon, 11 Nov 2002 16:21:14 +0100


 Is a tutorial or something alike to learn decyphering  error messages...
Thanks!
Site Error
An error was encountered while publishing this resource.

NameError

Sorry, a site error occurred.

Traceback (innermost last):

  a.. Module ZPublisher.Publish, line 150, in publish_module
  b.. Module Products.Localizer, line 58, in new_publish
  c.. Module ZPublisher.Publish, line 114, in publish
  d.. Module Zope, line 171, in zpublisher_exception_hook
  e.. Module ZPublisher.Publish, line 98, in publish
  f.. Module ZPublisher.mapply, line 88, in mapply
  g.. Module ZPublisher.Publish, line 39, in call_object
  h.. Module Products.CMFCore.PortalContent, line 117, in __call__
  i.. Module Shared.DC.Scripts.Bindings, line 252, in __call__
  j.. Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  k.. Module Products.CMFCore.FSPageTemplate, line 163, in _exec
  l.. Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
  m.. Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
  n.. Module Products.PageTemplates.PageTemplate, line 95, in pt_render
  <FSPageTemplate at /philosophie-africaine/document_view used for
/philosophie-africaine/index_html>
  o.. Module TAL.TALInterpreter, line 186, in __call__
  p.. Module TAL.TALInterpreter, line 230, in interpret
  q.. Module TAL.TALInterpreter, line 689, in do_useMacro
  r.. Module TAL.TALInterpreter, line 230, in interpret
  s.. Module TAL.TALInterpreter, line 622, in do_loop_tal
  t.. Module TAL.TALInterpreter, line 230, in interpret
  u.. Module TAL.TALInterpreter, line 400, in do_optTag_tal
  v.. Module TAL.TALInterpreter, line 385, in do_optTag
  w.. Module TAL.TALInterpreter, line 380, in no_tag
  x.. Module TAL.TALInterpreter, line 230, in interpret
  y.. Module TAL.TALInterpreter, line 655, in do_condition
  z.. Module TAL.TALInterpreter, line 230, in interpret
  aa.. Module TAL.TALInterpreter, line 400, in do_optTag_tal
  ab.. Module TAL.TALInterpreter, line 385, in do_optTag
  ac.. Module TAL.TALInterpreter, line 380, in no_tag
  ad.. Module TAL.TALInterpreter, line 230, in interpret
  ae.. Module TAL.TALInterpreter, line 689, in do_useMacro
  af.. Module TAL.TALInterpreter, line 230, in interpret
  ag.. Module TAL.TALInterpreter, line 459, in do_setLocal_tal
  ah.. Module Products.PageTemplates.TALES, line 217, in evaluate
  URL: /philosophie-africaine/navigation_tree_slot
  Line 50, Column 20
  Expression: standard:'here/navigationCurrent'
  Names:
{'container': <PloneSite instance at 01FE2280>,
 'default': <Products.PageTemplates.TALES.Default instance at 00E5EA3C>,
 'here': <Document at /philosophie-africaine/index_html>,
 'loop': <SafeMapping instance at 0210A648>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 00E5EAF4>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 0210A648>,
 'request': <HTTPRequest,
URL=http://127.0.0.1:8080/philosophie-africaine/index_html>,
 'root': <Application instance at 01FDB1D0>,
 'template': <FSPageTemplate at /philosophie-africaine/document_view used
for /philosophie-africaine/index_html>,
 'traverse_subpath': [],
 'user': Anonymous User}
  ai.. Module Products.PageTemplates.Expressions, line 206, in __call__
  aj.. Module Products.PageTemplates.Expressions, line 201, in _eval
  ak.. Module Products.PageTemplates.Expressions, line 100, in render
  al.. Module Products.PageTemplates.ZRPythonExpr, line 74, in call_with_ns
  am.. Module Products.CMFCore.FSPythonScript, line 85, in
__render_with_namespace__
  an.. Module Shared.DC.Scripts.Bindings, line 266, in
__render_with_namespace__
  ao.. Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
  ap.. Module Products.CMFCore.FSPythonScript, line 124, in _exec
  __traceback_info__: ({}, (), {}, (None,))
  aq.. Module Script (Python), line 1, in navigationCurrent
NameError: global name 'context' is not defined (Also, an error occurred
while attempting to render the standard error message.)


----------------------------------------------------------------------------
----