[Zope-CMF] Error with portal_calendar

johan johan30@easynet.be
Fri, 21 Mar 2003 20:05:33 +0100


Dear,

Since a couple of days i have problems when opening a plone-site (view).
I use zope 2.6.1 with plone. I receive the following errors : (at plone
they say it has to do with cmf)

Thx,
Johan



NameError



An error was encountered while publishing this resource. 
AttributeError
Sorry, a site error occurred.
Traceback (innermost last): 
Module ZPublisher.Publish, line 150, in publish_module
Module ZPublisher.Publish, line 114, in publish
Module Zope.App.startup, line 182, in zpublisher_exception_hook
Module ZPublisher.Publish, line 98, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFCore.PortalContent, line 117, in __call__
Module Shared.DC.Scripts.Bindings, line 252, in __call__
Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 167, in _exec
Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
Module Products.PageTemplates.PageTemplate, line 95, in pt_render
<FSPageTemplate at /bla/document_view used for /bla/index_html>
Module TAL.TALInterpreter, line 200, in __call__
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 703, in do_useMacro
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 669, in do_condition
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 636, in do_loop_tal
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 414, in do_optTag_tal
Module TAL.TALInterpreter, line 399, in do_optTag
Module TAL.TALInterpreter, line 394, in no_tag
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 669, in do_condition
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 414, in do_optTag_tal
Module TAL.TALInterpreter, line 399, in do_optTag
Module TAL.TALInterpreter, line 394, in no_tag
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 703, in do_useMacro
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 473, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 217, in evaluate
Line 152, Column 24
Expression: <PythonExpr
here.portal_calendar.getEventsForCalendar(month=month, year=year)>
Names:
{'container': <PloneSite instance at 8f334b8>,
 'default': <Products.PageTemplates.TALES.Default instance at
0x86a30a4>,
 'here': <Document at /bla/index_html>,
 'loop': <SafeMapping instance at 907afb8>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x869d65c>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 907afb8>,
 'request': <HTTPRequest,
URL=http://spiderke.mine.nu:8080/bla/index_html>,
 'root': <Application instance at 8b5b8b0>,
 'template': <FSPageTemplate at /bla/document_view used for
/bla/index_html>,
 'traverse_subpath': [],
 'user': johan}

Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
__traceback_info__:
here.portal_calendar.getEventsForCalendar(month=month, year=year)
Module Python expression
"here.portal_calendar.getEventsForCalendar(month=month, year=year)",
line 2, in f

AttributeError: portal_calendar (Also, an error occurred while
attempting to render the standard error message.)