Starting denyhosts. Traceback (most recent call last): File "/usr/local/bin/denyhosts.py", line 11, in from DenyHosts.util import die, setup_logging, is_true File "/usr/local/lib/python3.6/site-packages/DenyHosts/util.py", line 8, in from types import IntType ImportError: cannot import name 'IntType' ... Traceback (most recent call last): File "/usr/local/bin/denyhosts.py", line 15, in from DenyHosts.deny_hosts import DenyHosts File "/usr/local/lib/python3.6/site-packages/DenyHosts/deny_hosts.py", line 25, in from .report import Report File "/usr/local/lib/python3.6/site-packages/DenyHosts/report.py", line 4, in from types import ListType, TupleType ImportError: cannot import name 'ListType' ... Traceback (most recent call last): File "/usr/local/bin/denyhosts.py", line 15, in from DenyHosts.deny_hosts import DenyHosts File "/usr/local/lib/python3.6/site-packages/DenyHosts/deny_hosts.py", line 25, in from .report import Report File "/usr/local/lib/python3.6/site-packages/DenyHosts/report.py", line 5, in from types import TupleType ... Error processing configuration parameter PURGE_DENY: name 'IntType' is not defined ... Traceback (most recent call last): File "/usr/local/bin/denyhosts.py", line 113, in os.makedirs(prefs.get('WORK_DIR')) File "/usr/local/lib/python3.6/os.py", line 220, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/usr/local/share/denyhosts/data' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/denyhosts.py", line 116, in if e[0] != 17: TypeError: 'FileExistsError' object is not subscriptable