AttributeError | Python 3.6.9: /home/ajh/binln/python3 Mon Jan 25 14:02:22 2021 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/ajh/public_html/cgi-bin/index.py in <module>() |
325 |
326 # begin 8 - index.py |
=> 327 from filterWebBots import * |
328 |
329 #sys.stderr.write("{}\n".format(requestedFile)) |
filterWebBots undefined |
/home/ajh/public_html/cgi-bin/filterWebBots.py in <module>() |
71 tm=res.group(2) |
72 if ip in ips: |
=> 73 times=ips[ip].split(',') |
74 times.append(tm) |
75 ips[ip]=times |
times undefined, ips = {'10.0.0.101': ['20210118:180802'], '114.119.133.69': ['20210121:082216'], '114.119.146.212': ['20210120:143313'], '121.44.246.131': ['20210122:084432,20210122:084518'], '13.66.139.108': ['20210123:133128,20210124:153048'], '13.66.139.131': ['20210119:041730,20210119:042051,20210120:114652,...1,20210120:183552,20210122:221530,20210122:222558'], '13.66.139.15': ['20210120:002207,20210121:005124,20210121:035031'], '13.66.139.2': ['20210120:174213,20210120:174213,20210120:174214,20210120:174214'], '13.66.139.35': ['20210124:153110'], '13.66.139.66': ['20210123:020057'], ...}, ip = '5.9.154.69', ].split = <built-in method split of str object> |
AttributeError: 'list' object has no attribute 'split'
args =
("'list' object has no attribute 'split'",)
with_traceback =
<built-in method with_traceback of AttributeError object>