CoppeliaRobotics / docker-image-coppeliasim

MIT License
11 stars 5 forks source link

How to run PyRep in Docker? #4

Open vidhiJain opened 1 year ago

vidhiJain commented 1 year ago

I am trying to run PyRep in docker coppeliaSim. I am unable to see or check if anything is running or not. How can I modify the script to ensure that the simulator is actually loading the script and running?

docker-image-coppeliasim$ sh run.sh -s10000 -q /shared/PyRep/examples/scene_panda_reach_target.ttt
+ docker run -v /home/vidhij/docker-image-coppeliasim/shared:/shared -p 19997:19997 -it coppeliasim-ubuntu18 -s10000 -q /shared/PyRep/examples/scene_panda_reach_target.ttt
[CoppeliaSimClient]    loading the CoppeliaSim library...
[CoppeliaSimClient]    done.
[CoppeliaSimClient:loadinfo]   launching CoppeliaSim...
[CoppeliaSim:loadinfo]   CoppeliaSim v4.4.0, (rev. 0), flavor: 1, linux
[CoppeliaSim:loadinfo]   user settings file is /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/system/usrset.txt
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[CoppeliaSim:loadinfo]   loaded the video compression library.
[CoppeliaSim:loadinfo]   if CoppeliaSim crashes now, try to install libgl1-mesa-dev on your system:
    >sudo apt install libgl1-mesa-dev
[CoppeliaSim:loadinfo]   OpenGL: VMware, Inc., Renderer: llvmpipe (LLVM 10.0.0, 256 bits), Version: 3.1 Mesa 20.0.8
[CoppeliaSim:loadinfo]   simulator launched.
[CoppeliaSim:loadinfo]   plugin 'Assimp': loading...
[CoppeliaSim:loadinfo]   plugin 'Assimp': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'B0': loading...
error: library ( /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtB0.so ) load: "Cannot load library /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtB0.so: (libsodium.so.23: cannot open shared object file: No such file or directory)"
[CoppeliaSim:error]   plugin 'B0': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
[CoppeliaSim:loadinfo]   plugin 'BWF': loading...
[CoppeliaSim:loadinfo]   plugin 'BWF': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'BubbleRob': loading...
[CoppeliaSim:loadinfo]   plugin 'BubbleRob': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-78': loading...
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-78': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-83': loading...
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-83': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'CodeEditor': loading...
[CoppeliaSim:loadinfo]   plugin 'CodeEditor': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ConvexDecompose': loading...
[CoppeliaSim:loadinfo]   plugin 'ConvexDecompose': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Eigen': loading...
[CoppeliaSim:loadinfo]   plugin 'Eigen': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ExternalRenderer': loading...
[CoppeliaSim:loadinfo]   plugin 'ExternalRenderer': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'GLTF': loading...
[CoppeliaSim:loadinfo]   plugin 'GLTF': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Geom': loading...
[CoppeliaSim:loadinfo]   plugin 'Geom': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ICP': loading...
[CoppeliaSim:loadinfo]   plugin 'ICP': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'IK': loading...
[CoppeliaSim:loadinfo]   plugin 'IK': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'IM': loading...
error: library ( /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtIM.so ) load: "Cannot load library /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtIM.so: (libIlmImf-2_2.so.22: cannot open shared object file: No such file or directory)"
[CoppeliaSim:error]   plugin 'IM': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
[CoppeliaSim:loadinfo]   plugin 'K3': loading...
[CoppeliaSim:loadinfo]   plugin 'K3': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'LuaCmd': loading...
[CoppeliaSim:loadinfo]   plugin 'LuaCmd': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'MTB': loading...
[CoppeliaSim:loadinfo]   plugin 'MTB': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Mujoco': loading...
[CoppeliaSim:loadinfo]   plugin 'Mujoco': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Newton': loading...
[CoppeliaSim:loadinfo]   plugin 'Newton': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ODE': loading...
[CoppeliaSim:loadinfo]   plugin 'ODE': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'OMPL': loading...
[CoppeliaSim:loadinfo]   plugin 'OMPL': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'OpenGL3Renderer': loading...
[CoppeliaSim:loadinfo]   plugin 'OpenGL3Renderer': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'OpenMesh': loading...
[CoppeliaSim:loadinfo]   plugin 'OpenMesh': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'QML': loading...
[CoppeliaSim:loadinfo]   plugin 'QML': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Qhull': loading...
[CoppeliaSim:loadinfo]   plugin 'Qhull': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'RML2': loading...
[CoppeliaSim:loadinfo]   plugin 'RML2': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ROS': loading...
error: library ( /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtROS.so ) load: "Cannot load library /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtROS.so: (libimage_transport.so: cannot open shared object file: No such file or directory)"
[CoppeliaSim:error]   plugin 'ROS': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
[CoppeliaSim:loadinfo]   plugin 'RRS1': loading...
[CoppeliaSim:loadinfo]   plugin 'RRS1': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'RemoteApi': loading...
[simExtRemoteApi:loadinfo]   starting a remote API server on port 19997
[CoppeliaSim:loadinfo]   plugin 'RemoteApi': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Ruckig': loading...
[CoppeliaSim:loadinfo]   plugin 'Ruckig': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'SDF': loading...
[CoppeliaSim:loadinfo]   plugin 'SDF': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Subprocess': loading...
[CoppeliaSim:loadinfo]   plugin 'Subprocess': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'SurfRec': loading...
[CoppeliaSim:loadinfo]   plugin 'SurfRec': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'UI': loading...
[CoppeliaSim:loadinfo]   plugin 'UI': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'URDF': loading...
[CoppeliaSim:loadinfo]   plugin 'URDF': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'URLDrop': loading...
[CoppeliaSim:loadinfo]   plugin 'URLDrop': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'Vision': loading...
[CoppeliaSim:loadinfo]   plugin 'Vision': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'WS': loading...
[CoppeliaSim:loadinfo]   plugin 'WS': load succeeded.
[CoppeliaSim:loadinfo]   plugin 'ZMQ': loading...
error: library ( /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtZMQ.so ) load: "Cannot load library /opt/CoppeliaSim_Edu_V4_4_0_rev0_Ubuntu18_04/libsimExtZMQ.so: (libsodium.so.23: cannot open shared object file: No such file or directory)"
[CoppeliaSim:error]   plugin 'ZMQ': load failed (could not load). The plugin probably couldn't load dependency libraries. For additional infos, modify the script 'libLoadErrorCheck.sh', run it and inspect the output.
[ZMQ remote API server@addOnScript:error]   zmqRemoteApi: the ZMQ plugin is not available
[CoppeliaSim:loadinfo]   checking for an updated CoppeliaSim version...
[CoppeliaSim:loadinfo]   Failed checking whether this CoppeliaSim version is up-to-date.
Please visit www.coppeliarobotics.com to verify
that you are running the last CoppeliaSim version.
[CoppeliaSim:loadinfo]   plugin 'WS': unloading...
[CoppeliaSim:loadinfo]   plugin 'WS': done.
[CoppeliaSim:loadinfo]   plugin 'Vision': unloading...
[CoppeliaSim:loadinfo]   plugin 'Vision': done.
[CoppeliaSim:loadinfo]   plugin 'URLDrop': unloading...
[CoppeliaSim:loadinfo]   plugin 'URLDrop': done.
[CoppeliaSim:loadinfo]   plugin 'URDF': unloading...
[CoppeliaSim:loadinfo]   plugin 'URDF': done.
[CoppeliaSim:loadinfo]   plugin 'UI': unloading...
[CoppeliaSim:loadinfo]   plugin 'UI': done.
[CoppeliaSim:loadinfo]   plugin 'SurfRec': unloading...
[CoppeliaSim:loadinfo]   plugin 'SurfRec': done.
[CoppeliaSim:loadinfo]   plugin 'Subprocess': unloading...
[CoppeliaSim:loadinfo]   plugin 'Subprocess': done.
[CoppeliaSim:loadinfo]   plugin 'SDF': unloading...
[CoppeliaSim:loadinfo]   plugin 'SDF': done.
[CoppeliaSim:loadinfo]   plugin 'Ruckig': unloading...
[CoppeliaSim:loadinfo]   plugin 'Ruckig': done.
[CoppeliaSim:loadinfo]   plugin 'RemoteApi': unloading...
[CoppeliaSim:loadinfo]   plugin 'RemoteApi': done.
[CoppeliaSim:loadinfo]   plugin 'RRS1': unloading...
[CoppeliaSim:loadinfo]   plugin 'RRS1': done.
[CoppeliaSim:loadinfo]   plugin 'RML2': unloading...
[CoppeliaSim:loadinfo]   plugin 'RML2': done.
[CoppeliaSim:loadinfo]   plugin 'Qhull': unloading...
[CoppeliaSim:loadinfo]   plugin 'Qhull': done.
[CoppeliaSim:loadinfo]   plugin 'QML': unloading...
[CoppeliaSim:loadinfo]   plugin 'QML': done.
[CoppeliaSim:loadinfo]   plugin 'OpenMesh': unloading...
[CoppeliaSim:loadinfo]   plugin 'OpenMesh': done.
[CoppeliaSim:loadinfo]   plugin 'OpenGL3Renderer': unloading...
[CoppeliaSim:loadinfo]   plugin 'OpenGL3Renderer': done.
[CoppeliaSim:loadinfo]   plugin 'OMPL': unloading...
[CoppeliaSim:loadinfo]   plugin 'OMPL': done.
[CoppeliaSim:loadinfo]   plugin 'ODE': unloading...
[CoppeliaSim:loadinfo]   plugin 'ODE': done.
[CoppeliaSim:loadinfo]   plugin 'Newton': unloading...
[CoppeliaSim:loadinfo]   plugin 'Newton': done.
[CoppeliaSim:loadinfo]   plugin 'Mujoco': unloading...
[CoppeliaSim:loadinfo]   plugin 'Mujoco': done.
[CoppeliaSim:loadinfo]   plugin 'MTB': unloading...
[CoppeliaSim:loadinfo]   plugin 'MTB': done.
[CoppeliaSim:loadinfo]   plugin 'LuaCmd': unloading...
[CoppeliaSim:loadinfo]   plugin 'LuaCmd': done.
[CoppeliaSim:loadinfo]   plugin 'K3': unloading...
[CoppeliaSim:loadinfo]   plugin 'K3': done.
[CoppeliaSim:loadinfo]   plugin 'IK': unloading...
[CoppeliaSim:loadinfo]   plugin 'IK': done.
[CoppeliaSim:loadinfo]   plugin 'ICP': unloading...
[CoppeliaSim:loadinfo]   plugin 'ICP': done.
[CoppeliaSim:loadinfo]   plugin 'Geom': unloading...
[CoppeliaSim:loadinfo]   plugin 'Geom': done.
[CoppeliaSim:loadinfo]   plugin 'GLTF': unloading...
[CoppeliaSim:loadinfo]   plugin 'GLTF': done.
[CoppeliaSim:loadinfo]   plugin 'ExternalRenderer': unloading...
[CoppeliaSim:loadinfo]   plugin 'ExternalRenderer': done.
[CoppeliaSim:loadinfo]   plugin 'Eigen': unloading...
[CoppeliaSim:loadinfo]   plugin 'Eigen': done.
[CoppeliaSim:loadinfo]   plugin 'ConvexDecompose': unloading...
[CoppeliaSim:loadinfo]   plugin 'ConvexDecompose': done.
[CoppeliaSim:loadinfo]   plugin 'CodeEditor': unloading...
[CoppeliaSim:loadinfo]   plugin 'CodeEditor': done.
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-83': unloading...
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-83': done.
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-78': unloading...
[CoppeliaSim:loadinfo]   plugin 'Bullet-2-78': done.
[CoppeliaSim:loadinfo]   plugin 'BubbleRob': unloading...
[CoppeliaSim:loadinfo]   plugin 'BubbleRob': done.
[CoppeliaSim:loadinfo]   plugin 'BWF': unloading...
[CoppeliaSim:loadinfo]   plugin 'BWF': done.
[CoppeliaSim:loadinfo]   plugin 'Assimp': unloading...
[CoppeliaSim:loadinfo]   plugin 'Assimp': done.
[CoppeliaSim:loadinfo]   simulator ended.
[CoppeliaSim:loadinfo]   4
[CoppeliaSim:loadinfo]   3
[CoppeliaSim:loadinfo]   2
[CoppeliaSim:loadinfo]   1
[CoppeliaSim:loadinfo]   0
[CoppeliaSim:loadinfo]   done.
[CoppeliaSimClient]    unloading the CoppeliaSim library...
[CoppeliaSimClient]    done.