Traceback (most recent call last):


 "/usr/lib/python3.8/socketserver.py", line 650, in process_request_thread

self.finish_request(request, client_address)


 "/usr/lib/python3.8/socketserver.py", line 360, in finish_request

self.RequestHandlerClass(request, client_address, self)


 "/usr/lib/python3.8/socketserver.py", line 720, in __init__

self.handle()


 "/usr/lib/python3.8/http/server.py", line 427, in handle

self.handle_one_request()


 "/usr/lib/python3.8/http/server.py", line 415, in handle_one_request

method()


 "/usr/share/setoolkit/src/webattack/harvester/harvester.py", line 415, in do_POST

filewrite.write(cgi.escape("PARAM: " + line + "\n"))
AttributeError: module 'cgi' has no attribute 'escape'

Traceback (most recent call last):


 "start.py", line 102, in <module>

main()


 "start.py", line 77, in main

main_loop(agent, curiousity_engine)


 "start.py", line 35, in main_loop

action1 = agent.act(states=prev_state)


 "/home/ai/tensorforce-major-revision/tensorforce/agents/agent.py", line 198, in act

actions, self.timestep = self.model.act(
AttributeError: 'PGProbRatioModel' object has no attribute 'act'
