Error !

IndexError: tuple index out of range

</%def> <%def name="renderSubMenu(object)"> <% leftmenu = object.getMenuItems(level=6, path=object.getPhysicalPath()[ len( site.getPhysicalPath() )+1 ]) #while object.aq_parent.meta_type != 'LimeSite' and object.aq_parent.meta_type != 'LimeLanguage': # object = object.aq_parent #submenu = object.getMenuItems(level=6)
templates/lime_manuals/menu, line 18:
<%
templates/lime_manuals/site, line 68:
${menu.renderSubMenu(object)}
/srv/limefivedata/limecms/snapper/snapper01/local/lib/python2.7/site-packages/Mako-0.9.0-py2.7.egg/mako/runtime.py, line 865:
callable_(context, *args, **kwargs)
/srv/limefivedata/limecms/snapper/snapper01/local/lib/python2.7/site-packages/Mako-0.9.0-py2.7.egg/mako/runtime.py, line 839:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/limefivedata/limecms/snapper/snapper01/local/lib/python2.7/site-packages/Mako-0.9.0-py2.7.egg/mako/runtime.py, line 807:
**_kwargs_for_callable(callable_, data))
/srv/limefivedata/limecms/snapper/snapper01/local/lib/python2.7/site-packages/Mako-0.9.0-py2.7.egg/mako/template.py, line 443:
return runtime._render(self, self.callable_, args, data)
/var/limecms/snapper/snapper01/snapper-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)