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

csv2bvh does not work #20

Open
finnnnnnnnnnnnnnnnn opened this issue May 11, 2023 · 0 comments
Open

csv2bvh does not work #20

finnnnnnnnnnnnnnnnn opened this issue May 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@finnnnnnnnnnnnnnnnn
Copy link

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

@finnnnnnnnnnnnnnnnn finnnnnnnnnnnnnnnnn added the bug Something isn't working label May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant