RemoteApi.so - simxGetCollectionHandle

Report crashes, strange behaviour, or apparent bugs
Post Reply
jbler
Posts: 1
Joined: 03 Jun 2016, 09:27

RemoteApi.so - simxGetCollectionHandle

Post by jbler »

Hi Coppelia Robotics,

I receive an error message if I try to import vrep.py into my python3 code.

Here is my setup:
Ubuntu 14.04
Spyder3
VREP 64bit

I already copied the required files into my python workspace, namely:
vrep.py
vrepConst.py
remoteApi.so (64bit)

The vrep.py file finds the remoteApi.so and every line except one is working fine.
My code is also working if I comment this line out. However, this should be a good solution.

Code: Select all


  File "my_python_workspace/vrep.py", line 108, in <module>
    c_GetCollectionHandle       = ct.CFUNCTYPE(ct.c_int32,ct.c_int32, ct.POINTER(ct.c_char), ct.POINTER(ct.c_int32), ct.c_int32)(("simxGetCollectionHandle", libsimx))

AttributeError: ./remoteApi.so: undefined symbol: simxGetCollectionHandle

Any help or hints are welcome.

coppelia
Site Admin
Posts: 10360
Joined: 14 Dec 2012, 00:25

Re: RemoteApi.so - simxGetCollectionHandle

Post by coppelia »

Hello,

it seems that you have a mismatch between the vrep.py and remoteApi.so file (i.e. simxGetCollectionHandle is not exported in remoteApi.so). Best would be to install the last release (3.3.1) and to use the files from there.

Cheers

Post Reply