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.) ---------------------------------------------------------------------------- ----
hi, unfortunaely I don't believe there is. But i believe you are experiencing this bug: http://collector.zope.org/CMF/37 <--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net
From: <dancam@netcourrier.com> Date: Mon, 11 Nov 2002 16:21:14 +0100 To: "zope" <zope@zope.org> Subject: [Zope] Newbie wants to learn from her mistakes
Is a tutorial or something alike to learn decyphering error messages...
Thanks! follwing your advice I visit http://cvs.zope.org/ everything is now working fine! just a sigh.. if everything in the word was working as the Zope communauty! ----- Original Message ----- From: "george donnelly" <list@zettai.net> To: <dancam@netcourrier.com>; "zope" <zope@zope.org> Sent: Monday, November 11, 2002 5:10 PM Subject: Re: [Zope] Newbie wants to learn from her mistakes
hi, unfortunaely I don't believe there is. But i believe you are experiencing this bug:
http://collector.zope.org/CMF/37
<--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net
From: <dancam@netcourrier.com> Date: Mon, 11 Nov 2002 16:21:14 +0100 To: "zope" <zope@zope.org> Subject: [Zope] Newbie wants to learn from her mistakes
Is a tutorial or something alike to learn decyphering error messages...
dancam@netcourrier.com writes:
Is a tutorial or something alike to learn decyphering error messages... ... NameError This is the error type. You are faced with a "NameError". You access a name which is not bound (does not have a value).
Traceback (innermost last): This is a traceback. It tells you the invocation history. Each line (usually) describes one invocation (with modul, line number and function).
The newest invocations are at the bottom. Therefore, you are usually most interested in the last few lines.
a.. Module ZPublisher.Publish, line 150, in publish_module ... The following is a TALES "invocation". It tells you the object and the bindings for the TALES expression.
ah.. Module Products.PageTemplates.TALES, line 217, in evaluate URL: /philosophie-africaine/navigation_tree_slot Line 50, Column 20 Expression: standard:'here/navigationCurrent' ... __traceback_info__: ({}, (), {}, (None,)) This is were the error is recognized:
Line 1 of Python Script "navigationCurrent". It wants to access "context" but this is not bound. Check the "Bindings" tab. It "context" is bound, you might have hit a know problem that bindings for Python scripts are occasionally wrong. Search the mailing list archives, in this case, and report back, if necessary.
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.)
Dieter
The probem was solved by an update of cmf (thanks to george donnelly ) The clues you gave me to read the traceback would be useful to trace my own mistakes, I hope I will not use so many times the undo button which is efficient but have no "educationnal" purpose Thanks a lot! ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: <dancam@netcourrier.com> Cc: "zope" <zope@zope.org> Sent: Monday, November 11, 2002 8:08 PM Subject: Re: [Zope] Newbie wants to learn from her mistakes
dancam@netcourrier.com writes:
Is a tutorial or something alike to learn decyphering error messages... ... NameError This is the error type. You are faced with a "NameError". You access a name which is not bound (does not have a value).
Traceback (innermost last): This is a traceback. It tells you the invocation history. Each line (usually) describes one invocation (with modul, line number and function).
The newest invocations are at the bottom. Therefore, you are usually most interested in the last few lines.
a.. Module ZPublisher.Publish, line 150, in publish_module ... The following is a TALES "invocation". It tells you the object and the bindings for the TALES expression.
ah.. Module Products.PageTemplates.TALES, line 217, in evaluate URL: /philosophie-africaine/navigation_tree_slot Line 50, Column 20 Expression: standard:'here/navigationCurrent' ... __traceback_info__: ({}, (), {}, (None,)) This is were the error is recognized:
Line 1 of Python Script "navigationCurrent". It wants to access "context" but this is not bound.
Check the "Bindings" tab. It "context" is bound, you might have hit a know problem that bindings for Python scripts are occasionally wrong.
Search the mailing list archives, in this case, and report back, if necessary.
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.)
Dieter
participants (4)
-
dancam@netcourrier.com -
danielle.d-avout -
Dieter Maurer -
george donnelly