You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
sudo lsof -i -P -n | grep LISTEN
kill -9 pid
Is there a way to avoid this error?
Please advise.
thanks
The text was updated successfully, but these errors were encountered: