Logo-banner
Mako Runtime Error

Error !

AttributeError: 'NoneType' object has no attribute 'list'

def ByDate(x, y): return cmp(x.val('start'), y.val('start')) %> <% dateformat = getattr(object.getSite(), 'dateformat', '%Y.%m.%d') timeformat = '%H:%M' tomorrow = datetime.now() + timedelta(1) today = datetime(tomorrow.year, tomorrow.month, tomorrow.day) - timedelta(days=1)
templates/default/widget_events, line 11:
<%
/var/limecms/imr/imr01/lib/python2.6/site-packages/Mako-1.0.1-py2.6.egg/mako/runtime.py, line 860:
callable_(context, *args, **kwargs)
/var/limecms/imr/imr01/lib/python2.6/site-packages/Mako-1.0.1-py2.6.egg/mako/runtime.py, line 835:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/var/limecms/imr/imr01/lib/python2.6/site-packages/Mako-1.0.1-py2.6.egg/mako/runtime.py, line 803:
**_kwargs_for_callable(callable_, data))
/var/limecms/imr/imr01/lib/python2.6/site-packages/Mako-1.0.1-py2.6.egg/mako/template.py, line 443:
return runtime._render(self, self.callable_, args, data)
/var/limecms/imr/imr01/imr-inst/Products/LimeTemplate/LimeTemplate.py, line 702:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)