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

Errors when running the scripts #7

Open
yangshuo11 opened this issue May 13, 2019 · 1 comment
Open

Errors when running the scripts #7

yangshuo11 opened this issue May 13, 2019 · 1 comment

Comments

@yangshuo11
Copy link

Many thanks! According to your suggestion, I try it and find it works out. Here is what I do to solve this problem:
Open the shell commend, and input:
git clone https://github.com/mveres01/multi-contact-grasping
cd multi-contact-grasping
git checkout dev

Then I run the script src/collect_grasps.py. it works out correctly.

Thanks a lot. I will do grasp research based on it and make some progression in the future.

Originally posted by @vanusy in #5 (comment)

@yangshuo11
Copy link
Author

Hello, I am using Ubuntu 16.04 + ROS kinetic, V-REP-3.6.1.
After installing trimesh-2.29.10, and cope relevant files from V-REP/programming to /lib. I encountered the following errors when running "python collect_grasps.py":
Traceback (most recent call last):
File "collect_grasps.py", line 6, in
import trimesh
File "/usr/local/lib/python2.7/dist-packages/trimesh/init.py", line 20, in
from .io.load import load_mesh, load_path, load, available_formats
File "/usr/local/lib/python2.7/dist-packages/trimesh/io/load.py", line 14, in
from .assimp import _assimp_loaders
File "/usr/local/lib/python2.7/dist-packages/trimesh/io/assimp.py", line 130, in
import pyassimp
File "/usr/lib/python2.7/dist-packages/pyassimp/init.py", line 1, in
from .core import *
File "/usr/lib/python2.7/dist-packages/pyassimp/core.py", line 29, in
class AssimpLib(object):
File "/usr/lib/python2.7/dist-packages/pyassimp/core.py", line 33, in AssimpLib
load, load_mem, release, dll = helper.search_library()
ValueError: need more than 3 values to unpack

and get the errors when running "python collect_images.py":
Traceback (most recent call last):
File "collect_images.py", line 15, in
from postprocess import postprocess
File "/home/ys/multi-contact-grasping/src/postprocess.py", line 9, in
from lib.utils import (format_htmatrix, invert_htmatrix,
File "../lib/utils.py", line 5, in
import trimesh
File "/usr/local/lib/python2.7/dist-packages/trimesh/init.py", line 20, in
from .io.load import load_mesh, load_path, load, available_formats
File "/usr/local/lib/python2.7/dist-packages/trimesh/io/load.py", line 14, in
from .assimp import _assimp_loaders
File "/usr/local/lib/python2.7/dist-packages/trimesh/io/assimp.py", line 130, in
import pyassimp
File "/usr/lib/python2.7/dist-packages/pyassimp/init.py", line 1, in
from .core import *
File "/usr/lib/python2.7/dist-packages/pyassimp/core.py", line 29, in
class AssimpLib(object):
File "/usr/lib/python2.7/dist-packages/pyassimp/core.py", line 33, in AssimpLib
load, load_mem, release, dll = helper.search_library()
ValueError: need more than 3 values to unpack

I have tried both the master and dev branches, but the errors remain the same. Could anyone give a clue? Many thanks!

@yangshuo11 yangshuo11 changed the title Many thanks! According to your suggestion, I try it and find it works out. Here is what I do to solve this problem: Errors when running the scripts May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant