-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I get a bind error if I run the standard scenario 6 and rereun it.
The command I run:
python3 scenario_runner.py --route srunner/data/routes_training_town03_autocast10.xml srunner/data/towns03_traffic_scenarios_autocast10.json --reloadWorld --bgtraffic 0 --agent AVR/autocast_agents/simple_agent.py --commlog --sharing --debug
The error I get when I Cntrl+C and rerun it:
File "scenario_runner.py", line 130, in __init__ self.traffic_manager = self.client.get_trafficmanager(int(self._args.trafficManagerPort)) RuntimeError: trying to create rpc server for traffic manager; but the system failed to create because of bind error
How I fix it:
- first I list all listening ports
sudo lsof -i -P -n | grep LISTEN - Then I kill it
kill -9 pid
Is there a way to avoid this error?
Please advise.
thanks
ShawnKing98
Metadata
Metadata
Assignees
Labels
No labels