KavrakiLab/vamp

Missing file maze.png

Closed this issue · 1 comments

Describe the bug
Hi, Thanks for the good work!
I tried to run the example script flying_sphere.py using this command

python3 scripts/flying_sphere.py --visualize

And got the following error

(VAMP) (base) pawan@pawan-Legion:~/devel/rrc/vamp$ python3 scripts/flying_sphere.py --visualize
Traceback (most recent call last):
  File "scripts/flying_sphere.py", line 57, in <module>
    Fire(main)
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 143, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 477, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "scripts/flying_sphere.py", line 22, in main
    hf = vamp.png_to_heightfield(
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/vamp/__init__.py", line 63, in png_to_heightfield
    image = Image.open(filename).convert("L")
  File "/home/pawan/devel/rrc/vamp/VAMP/lib/python3.8/site-packages/PIL/Image.py", line 3277, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/home/pawan/devel/rrc/vamp/resources/heightfields/maze.png'

Environment:

  • OS: Ubuntu 20.04
  • Python version:3.8.10
  • GCC/Clang version: 9.4.0

Thank you for reporting, the file has been added with commit dbbcd71.