File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/pviews/tweens.py", line 56, in sanitize_parameters_tween
return handler(request)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/pviews/tweens.py", line 103, in script_name_factory
return handler(request)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/pviews/tweens.py", line 86, in https_tween
return handler(request)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/pviews/tweens.py", line 74, in langprefix_tween
response = handler(request)
File "/usr/lib/python3/dist-packages/pyramid/tweens.py", line 43, in excview_tween
response = _error_handler(request, exc)
File "/usr/lib/python3/dist-packages/pyramid/tweens.py", line 17, in _error_handler
reraise(*exc_info)
File "/usr/lib/python3/dist-packages/pyramid/compat.py", line 179, in reraise
raise value
File "/usr/lib/python3/dist-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
File "/usr/lib/python3/dist-packages/pyramid/router.py", line 148, in handle_request
registry, request, context, context_iface, view_name
File "/home/cubicweb/.local/lib/python3.7/site-packages/sentry_sdk/integrations/pyramid.py", line 90, in sentry_patched_call_view
return old_call_view(registry, request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/pyramid/view.py", line 657, in _call_view
response = view_callable(context, request)
File "/usr/lib/python3/dist-packages/pyramid/config/views.py", line 188, in attr_view
return view(context, request)
File "/usr/lib/python3/dist-packages/pyramid/config/views.py", line 214, in predicate_wrapper
return view(context, request)
File "/usr/lib/python3/dist-packages/pyramid/viewderivers.py", line 401, in viewresult_to_response
result = view(context, request)
File "/usr/lib/python3/dist-packages/pyramid/viewderivers.py", line 144, in _requestonly_view
response = view(request)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/pviews/faroutes.py", line 204, in all_documents_view
return Response(viewsreg.main_template(cwreq, "main-template", rset=None, view=view))
File "/usr/lib/python3/dist-packages/cubicweb/cwvreg.py", line 223, in main_template
res = obj.render(**kwargs)
File "/usr/lib/python3/dist-packages/cubicweb/view.py", line 175, in render
view_func(**context)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/views/templates.py", line 106, in call
context = self.template_context(view)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/views/templates.py", line 246, in template_context
"xml_escaped_title": xml_escape(view.page_title()),
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/views/search/__init__.py", line 146, in page_title
title = self.search_title()
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/views/search/__init__.py", line 121, in search_title
response, query_string = self.cached_search_response
File "/usr/lib/python3/dist-packages/logilab/common/decorators.py", line 173, in __get__
val = self.wrapped(inst)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_francearchives/views/search/__init__.py", line 104, in cached_search_response
self._esresponse = self.do_search(query_string)
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_elasticsearch/views.py", line 136, in do_search
value[index] = normalize_value(value[index])
File "/home/cubicweb/.local/lib/python3.7/site-packages/cubicweb_elasticsearch/views.py", line 38, in normalize_value
if value.lower() == "true":
AttributeError: 'int' object has no attribute 'lower'