Traceback (most recent call last):


 "~/.local/lib/python3.7/site-packages/mitmproxy/proxy/server.py", line 121, in handle

root_layer()


 "~/.local/lib/python3.7/site-packages/mitmproxy/proxy/modes/http_proxy.py", line 9, in __call__

layer()
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/opt/venv4archery/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner

response = get_response(request)


 "/opt/venv4archery/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/opt/venv4archery/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/opt/venv4archery/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view

return view_func(request, *args, **kwargs)


 "/opt/archery/sql/slowlog.py", line 109, in slowquery_review_history

limit = int(request.POST.get('limit'))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
