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
Traceback (most recent call last):
File "/home/omnizon/ardupilot/Tools/autotest/sim_vehicle.py", line 833, in
parser.add_option("-v", "--vehicle", type='choice', default=None, help="vehicle type (%s)" %(vehicle_options_string), choices=_options.keys())
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 1000, in add_option
option = self.option_class(*args, **kwargs)
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 581, in init
checker(self)
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 670, in _check_choice
% str(type(self.choices)).split("'")[1], self)
optparse.OptionError: option -v/--vehicle: choices must be a list of strings ('dict_keys' supplied)
I am getting the above error
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/omnizon/ardupilot/Tools/autotest/sim_vehicle.py", line 833, in
parser.add_option("-v", "--vehicle", type='choice', default=None, help="vehicle type (%s)" %(vehicle_options_string), choices=_options.keys())
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 1000, in add_option
option = self.option_class(*args, **kwargs)
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 581, in init
checker(self)
File "/home/omnizon/anaconda3/lib/python3.7/optparse.py", line 670, in _check_choice
% str(type(self.choices)).split("'")[1], self)
optparse.OptionError: option -v/--vehicle: choices must be a list of strings ('dict_keys' supplied)
I am getting the above error
The text was updated successfully, but these errors were encountered: