Traceback (most recent call last):


 "/opt/virtualenv/lib64/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task

R = retval = fun(*args, **kwargs)


 "/opt/virtualenv/lib64/python3.6/site-packages/celery/app/trace.py", line 650, in __protected_call__

return self.run(*args, **kwargs)


 "/opt/jumpserver-v2.0.2/apps/ops/tasks.py", line 61, in run_command_execution

execution.run()


 "/opt/jumpserver-v2.0.2/apps/ops/models/command.py", line 76, in run

ok, msg = self.run_as.is_command_can_run(self.command)


 "/opt/jumpserver-v2.0.2/apps/assets/models/user.py", line 176, in is_command_can_run

action, matched_cmd = rule.match(command)


 "/opt/jumpserver-v2.0.2/apps/assets/models/cmd_filter.py", line 87, in match

found = self._pattern.search(data)
AttributeError: 'str' object has no attribute 'search'

Traceback (most recent call last):


 "C:\Users\tause\AppData\Local\Programs\Python\Python36\lib\site-packages\sc2\main.py", line 135, in _play_game_ai

await ai.on_step(iteration)


 "S:\Starcraft 2 API\Python 
s\pythonStarcraftPart13.py", line 44, in on_step

self.time = (self.state.game_loop/22.4) / 60
AttributeError: can't set attribute
