softbankrobotics-research / qibullet

Bullet simulation for SoftBank Robotics robots
Apache License 2.0
145 stars 38 forks source link

Error during Installing resources for qiBullet #90

Closed Gamdschi closed 8 months ago

Gamdschi commented 10 months ago

I tried the usage example, after accepting the END USER LICENSE AGREEMENT i receive the following error:

Traceback (most recent call last): File "/Users/$user/PycharmProjects/pythonProject/main.py", line 17, in pepper = simulation_manager.spawnPepper( File "/Users/$user/PycharmProjects/pythonProject/.venv/lib/python3.9/site-packages/qibullet/simulation_manager.py", line 194, in spawnPepper pepper_virtual = PepperVirtual() File "/Users/$user/PycharmProjects/pythonProject/.venv/lib/python3.9/site-packages/qibullet/pepper_virtual.py", line 38, in init tools._install_resources() File "/Users/$user/PycharmProjects/pythonProject/.venv/lib/python3.9/site-packages/qibullet/tools.py", line 168, in _install_resources if meshes_installer._install_meshes(resources_folder, agreement=agreement): File "obfuscated_installer.py", line 170, in _install_meshes File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/zipfile.py", line 1257, in init self._RealGetContents() File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/zipfile.py", line 1324, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file

My OS is macOS Sonoma 14.1 (23B74) and I am using python 3.9

mbusy commented 9 months ago

Hi, I assume that you tried to install the project from source? This error could be due to git-lfs not being installed when you clone the repo.

Could you install git-lfs with apt, go to the repository and call git lfs pull as specified in the wiki?

You also might have additional issues when running the sim, due to the fact that you're using macos