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

Errors using 'scripts/analyse_brain.bash' #367

Open
nik1806 opened this issue Jun 5, 2022 · 1 comment
Open

Errors using 'scripts/analyse_brain.bash' #367

nik1806 opened this issue Jun 5, 2022 · 1 comment

Comments

@nik1806
Copy link
Contributor

nik1806 commented Jun 5, 2022

I am runing the following commands:

bash scripts/analyse_brain.bash ./configs/DL-torch.yml

I got multiple errors (after solving each new one)

scripts/analyse_brain.bash: line 3: python: command not found
Traceback (most recent call last):
  File "driver.py", line 221, in <module>
    main()
  File "driver.py", line 213, in main
    script_manager.run_brains_worlds(app_configuration, controller, randomize=config_data['random'])
  File "/root/BehaviorMetrics/behavior_metrics/utils/script_manager.py", line 44, in run_brains_worlds
    launch=True)
  File "/root/BehaviorMetrics/behavior_metrics/utils/tmp_world_generator.py", line 39, in tmp_world_generator
    tree = ET.parse(current_world)
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse
    source = open(source, "rb")
IsADirectoryError: [Errno 21] Is a directory: '/'
@nik1806
Copy link
Contributor Author

nik1806 commented Jun 5, 2022

Even when I try to use analyze_bag.py directly

Python3 analyze_bag.py --input ./ros_bags/ --output ./bag_analysis/
Total Number of Bags to Read from ./ros_bags/: 1
Reading bag: ./ros_bags/20220605-082510.bag
'experiment_total_real_time'
Error in bag

which seems to be related to #366.

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