Skip to content

csv2bvh does not work #20

@finnnnnnnnnnnnnnnnn

Description

@finnnnnnnnnnnnnnnnn

Which tool (if any in particular)
I was using the csv2bvh tool. I am on MacOS. I am using Python 3.8.

Describe the bug
The bug causes this error:

  File "/usr/local/bin/csv2bvh", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 473, in main
    success = csv2bvh_file(hierarchy_src, position_src, rotation_src, dst_file_path)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 447, in csv2bvh_file
    data = csv2bvh_string(hierarchy_file, position_file, rotation_file, scale)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 360, in csv2bvh_string
    raise Exception("ERROR: No rotation data found for: {}".format(", ".join(missing_joint_data)))
Exception: ERROR: No rotation data found for: 

To Reproduce
Steps to reproduce the behavior:

  1. Run command
    csv2bvh hierarchy.csv position.csv rotation.csv

Expected behavior
The files convert into a BHV file

Additional context
Here are are the CSV files I am using:
https://drive.google.com/drive/folders/1lTKWIRG16m5JfHO52vjNKG1WYOvyFlFr?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions