Error !

StatementError: (sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back [SQL: u'SELECT `LimeLanguage`.langkey AS `LimeLanguage_langkey`, `LimeLanguage`.lang AS `LimeLanguage_lang`, `LimeLanguage`.value AS `LimeLanguage_value` \nFROM `LimeLanguage` \nWHERE `LimeLanguage`.lang = %s AND `LimeLanguage`.langkey = %s \n LIMIT %s'] [parameters: [immutabledict({})]]

<div class="submenu_toggler submenu_toggler_btn sr-or-keyboard-only" data-controls-menu="menu-${item.object.sql_id}" role="button" tabindex="0" > <span aria-hidden="true" class="toggle-icon"></span> <span class="sr-only">${ i18n('site-toggle-submenu', lang=site.language()) }</span> </div> </div> </div> <div class="submenu"> <div class="grid-container">
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 391:
"Can't reconnect until invalid "
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 1071:
conn = self._revalidate_connection()
build/bdist.linux-x86_64/egg/sqlalchemy/util/compat.py, line 202:
reraise(type(exception), exception, tb=exc_tb, cause=cause)
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 1341:
exc_info
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 1078:
None, None)
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 1010:
compiled_sql, distilled_params
build/bdist.linux-x86_64/egg/sqlalchemy/sql/elements.py, line 323:
return connection._execute_clauseelement(self, multiparams, params)
build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py, line 914:
return meth(self, multiparams, params)
build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py, line 2776:
result = conn.execute(querycontext.statement, self._params)
build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py, line 2761:
return self._execute_and_instances(context)
build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py, line 2457:
return list(res)
build/bdist.linux-x86_64/egg/sqlalchemy/orm/query.py, line 2659:
ret = list(self[0:1])
/var/limecms/mareano/mareano02/mareano-inst-2/Products/LimeAPI/LimeAPI.py, line 1244:
exists = session.query( LimeLanguageDbObject ).filter ( LimeLanguageDbObject.lang == lang ).filter( LimeLanguageDbObject.langkey == txt ).first()
templates/mareano/menu, line 55:
<span class="sr-only">${ i18n('site-toggle-submenu', lang=site.language()) }</span>
templates/mareano/site, line 106:
${menu.renderMainMenu()}
/var/limecms/mareano/mareano02/lib/python2.6/site-packages/Mako-1.0.4-py2.6.egg/mako/runtime.py, line 890:
callable_(context, *args, **kwargs)
/var/limecms/mareano/mareano02/lib/python2.6/site-packages/Mako-1.0.4-py2.6.egg/mako/runtime.py, line 864:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/var/limecms/mareano/mareano02/lib/python2.6/site-packages/Mako-1.0.4-py2.6.egg/mako/runtime.py, line 829:
**_kwargs_for_callable(callable_, data))
/var/limecms/mareano/mareano02/lib/python2.6/site-packages/Mako-1.0.4-py2.6.egg/mako/template.py, line 445:
return runtime._render(self, self.callable_, args, data)
/var/limecms/mareano/mareano02/mareano-inst-2/Products/LimeTemplate/LimeTemplate.py, line 702:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)