Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Plane 11 falsifier example is not working properly #40

Open
dbuyukco opened this issue Sep 2, 2022 · 0 comments
Open

X-Plane 11 falsifier example is not working properly #40

dbuyukco opened this issue Sep 2, 2022 · 0 comments

Comments

@dbuyukco
Copy link

dbuyukco commented Sep 2, 2022

Hello,

I jumped into your example page about X-Plane and have done your steps about example falsifier. When I complete and run

python -m -m verifai.simulators.xplane.server I got an error in falsifier.py

Traceback (most recent call last; use -b to show Scenic internals):
File "C:\Users.conda\envs\verifai\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users.conda\envs\verifai\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\simulators\xplane\server.py", line 333, in
run_test(configuration, runway_data, verbosity=args.verbosity)
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\simulators\xplane\server.py", line 274, in run_test
falsifier = XPlaneFalsifier(specification, sampler=sampler,
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\simulators\xplane\server.py", line 208, in init
super().init(monitor, sampler_type=sampler_type, sampler=sampler,
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\falsifier.py", line 199, in init
super().init(sample_space=sample_space, sampler_type=sampler_type,
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\falsifier.py", line 191, in init
super().init(sample_space=sample_space, sampler_type=sampler_type,
File "C:\Users.conda\envs\verifai\lib\site-packages\verifai\falsifier.py", line 60, in init
self.init_server(server_params, server_class)
TypeError: init_server() takes 2 positional arguments but 3 were given

I am using python 3.9.x, X-Plane 11 and your XPlaneConnect Fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant