 [19339]: ERROR
/etc/fail2ban/filter.d/ignorecommands/apache-fakegooglebot IP_HERE -- stderr: b'Traceback (most recent call last):\n


 "/etc/fail2ban/filter.d/ignorecommands/apache-fakegooglebot", line 32, in <module>\n
is_googlebot(process_args(sys.argv))\n

 "/etc/fail2ban/filter.d/ignorecommands/apache-fakegooglebot", line 17, in process_args\n
from fail2ban.server.filter import DNSUtils\nImportError: No module named fail2ban.server.filter\n'

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/importlib/_bootstrap.py", line 991, in _find_and_load


 "/importlib/_bootstrap.py", line 671, in _load_unlocked


 "/Users/xq/.local/lib/python3.8/site-packages/Flask-1.1.2-py3.8.egg/flask/__init__.py", line 14, in <module '__init__.py'>

from jinja2 import escape


 "/importlib/_bootstrap.py", line 991, in _find_and_load


 "/importlib/_bootstrap.py", line 671, in _load_unlocked


 "/Users/xq/.local/lib/python3.8/site-packages/Jinja2-2.11.2-py3.8.egg/jinja2/__init__.py", line 6, in <module '__init__.py'>

from markupsafe import escape


 "/importlib/_bootstrap.py", line 991, in _find_and_load


 "/importlib/_bootstrap.py", line 671, in _load_unlocked


 "/Users/xq/.local/lib/python3.8/site-packages/MarkupSafe-1.1.1-py3.8-macosx-10.14-x86_64.egg/markupsafe/__init__.py", line 31, in <module '__init__.py'>

class Markup(text_type):


 "/Users/xq/.local/lib/python3.8/site-packages/MarkupSafe-1.1.1-py3.8-macosx-10.14-x86_64.egg/markupsafe/__init__.py", line 202, in Markup

locals()[method] = make_simple_escaping_wrapper(method)


 "/Users/xq/.local/lib/python3.8/site-packages/MarkupSafe-1.1.1-py3.8-macosx-10.14-x86_64.egg/markupsafe/__init__.py", line 173, in make_simple_escaping_wrapper

orig = getattr(text_type, name)
AttributeError: 'str' object has no attribute 'swapcase'