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

AttributeError: type object 'ParallelPolicy' has no attribute 'SUCCESS_ON_ONE' #23

Closed
rguptatx opened this issue Jan 22, 2019 · 3 comments
Labels
question Further information is requested solved Issue was resolved

Comments

@rguptatx
Copy link

When I run scenario runner on ubuntu 16.04 with python3 I get this or similar error with all scenarios:
Traceback (most recent call last):
File "scenario_runner.py", line 160, in
main(ARGUMENTS)
File "scenario_runner.py", line 97, in main
scenario = scenario_class(world, args.debug)
File "/usr/local/scenario_runner/Scenarios/object_crash_vehicle.py", line 152, in init
debug_mode=debug_mode)
File "/usr/local/scenario_runner/Scenarios/basic_scenario.py", line 79, in init
behavior = self._create_behavior()
File "/usr/local/scenario_runner/Scenarios/object_crash_vehicle.py", line 191, in _create_behavior
policy=py_trees.common.ParallelPolicy.SUCCESS_ON_ONE)
AttributeError: type object 'ParallelPolicy' has no attribute 'SUCCESS_ON_ONE'

@fabianoboril
Copy link
Collaborator

fabianoboril commented Jan 22, 2019

Hi,
which version of py_trees do you use? We support py_trees 0.8.x. It seems things have changed with version 1.x (there it is SuccessOnOne).

See also Issue #24

@rguptatx
Copy link
Author

rguptatx commented Jan 22, 2019 via email

@fabianoboril fabianoboril added question Further information is requested solved Issue was resolved labels Jan 22, 2019
@GeneralMak
Copy link

@rguptatx hello,Have you created a successful scenario by referring to the example of the official scenario creation?(https://carla-scenariorunner.readthedocs.io/en/latest/creating_new_scenario.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested solved Issue was resolved
Projects
None yet
Development

No branches or pull requests

3 participants