[Zope-CMF] Dogbowl bug

Yuppie schubbe@web.de
Mon, 06 Jan 2003 15:37:36 +0100


The CMF Dogbowl is unstable. About every second time I get this error:

Traceback (innermost last):
   File /usr/local/base/Zope-2.5.1/lib/python/ZPublisher/Publish.py, 
line 150, in publish_module
   File /usr/local/base/Zope-2.5.1/lib/python/ZPublisher/Publish.py, 
line 114, in publish
   File /usr/local/base/Zope-2.5.1/lib/python/Zope/__init__.py, line 
159, in zpublisher_exception_hook
     (Object: CMF)
   File /usr/local/base/Zope-2.5.1/lib/python/ZPublisher/Publish.py, 
line 98, in publish
   File /usr/local/base/Zope-2.5.1/lib/python/ZPublisher/mapply.py, line 
88, in mapply
     (Object: index_html)
   File /usr/local/base/Zope-2.5.1/lib/python/ZPublisher/Publish.py, 
line 39, in call_object
     (Object: index_html)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py, 
line 252, in __call__
     (Object: index_html)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py, 
line 283, in _bindAndExec
     (Object: index_html)
   File /usr/local/base/cmf/Products/CMFCore/FSPageTemplate.py, line 
163, in _exec
     (Object: index_html)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Products/PageTemplates/ZopePageTemplate.py, 
line 210, in _exec
     (Object: index_html)
   File /usr/local/base/cmf/Products/CMFCore/FSPageTemplate.py, line 
139, in pt_render
     (Object: index_html)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Products/PageTemplates/PageTemplate.py, 
line 86, in pt_render
     (Object: index_html)
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 158, in __call__
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 191, in interpret
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 523, in do_useMacro
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 191, in interpret
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 503, in do_defineMacro
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 191, in interpret
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 523, in do_useMacro
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 191, in interpret
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 238, in do_startTag
   File /usr/local/base/Zope-2.5.1/lib/python/TAL/TALInterpreter.py, 
line 303, in attrAction_tal
   File 
/usr/local/base/Zope-2.5.1/lib/python/Products/PageTemplates/TALES.py, 
line 265, in evaluateText
   File 
/usr/local/base/Zope-2.5.1/lib/python/Products/PageTemplates/TALES.py, 
line 247, in evaluate
   File 
/usr/local/base/Zope-2.5.1/lib/python/Products/PageTemplates/ZRPythonExpr.py, 
line 49, in __call__
     (Info: here.getNextMonthLink(request.URL0, month, year))
   File Python expression "here.getNextMonthLink(request.URL0, 
month, year)", line 2, in f
   File /usr/local/base/cmf/Products/CMFCore/FSPythonScript.py, line 90, 
in __call__
     (Object: getNextMonthLink)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py, 
line 252, in __call__
     (Object: getNextMonthLink)
   File 
/usr/local/base/Zope-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py, 
line 283, in _bindAndExec
     (Object: getNextMonthLink)
   File /usr/local/base/cmf/Products/CMFCore/FSPythonScript.py, line 
124, in _exec
     (Object: getNextMonthLink)
     (Info: ({}, ('http://cmf.zope.org/index_html', 1, 2003), {}, None))
   File Script (Python), line 1, in getNextMonthLink
TALESError: exceptions.NameError on global name 'container' is not 
defined in '<PythonExpr here.getNextMonthLink(request.URL0, month, 
year)>', at line 36, column 17