JdeRobot / JdeRobot/BehaviorMetrics

Errors using 'scripts/analyse_brain.bash'

Open
#367 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
64
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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
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: '/'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.