Gazebo Spawn_model fails when issuing rosrun [closed]

asked 2013-03-22 00:56:24 -0600

Juan gravatar image

updated 2016-03-17 21:52:55 -0600

lucasw gravatar image

Ubuntu 12.10 Graphics Card: NVIDIA GeForce GT 640M Gazebo Version: 1.7.11

In Tutorial: http://www.ros.org/wiki/simulator_gaz...

After creating the urdf model as indicated and running the spawn command:

rosrun gazebo spawn_model -file `pwd`/object.urdf -urdf -z 1 -model my_object

I get an error message stating that liblapack3gf.so cannot be opened (it is installed in my system). Here is the whole message:

Traceback (most recent call last):
  File "/opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/spawn_model", line 19, in <module>
    import tf.transformations as tft
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/__init__.py", line 29, in <module>
    from listener import TransformListener, TransformerROS
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/listener.py", line 34, in <module>
    from tf import transformations
  File "/opt/ros/groovy/lib/python2.7/dist-packages/tf/transformations.py", line 174, in <module>
    import numpy
  File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/usr/lib/python2.7/dist-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python2.7/dist-packages/numpy/lib/__init__.py", line 13, in <module>
    from polynomial import *
  File "/usr/lib/python2.7/dist-packages/numpy/lib/polynomial.py", line 17, in <module>
    from numpy.linalg import eigvals, lstsq
  File "/usr/lib/python2.7/dist-packages/numpy/linalg/__init__.py", line 48, in <module>
    from linalg import *
  File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 23, in <module>
    from numpy.linalg import lapack_lite
ImportError: liblapack.so.3gf: cannot open shared object file: No such file or directory

The log file which captures the error state the following:

[roslaunch][INFO] 2013-03-22 22:02:42,526: process[spawn_table-1]: args[[u'/opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/spawn_model', '-urdf', '-param', 'table_description', '-z', '0.01', '-model', 'table_model', u'__name:=spawn_table']]
[roslaunch][INFO] 2013-03-22 22:02:42,526: ... created process [spawn_table-1]
[roslaunch.pmon][INFO] 2013-03-22 22:02:42,526: ProcessMonitor.register[spawn_table-1]
[roslaunch.pmon][INFO] 2013-03-22 22:02:42,526: ProcessMonitor.register[spawn_table-1] complete
[roslaunch][INFO] 2013-03-22 22:02:42,526: ... registered process [spawn_table-1]
[roslaunch][INFO] 2013-03-22 22:02:42,526: process[spawn_table-1]: starting os process
[roslaunch][INFO] 2013-03-22 22:02:42,526: process[spawn_table-1]: start w/ args [[u'/opt/ros/groovy/stacks/simulator_gazebo/gazebo/scripts/spawn_model', '-urdf', '-param', 'table_description', '-z', '0.01', '-model', 'table_model', u'__name:=spawn_table', u'__log:=/home/vmrguser/.ros/log/7de63bb4-92f8-11e2-82c5-c48508b13bfe/spawn_table-1.log']]
[roslaunch][INFO] 2013-03-22 22:02:42,526: process[spawn_table-1]: cwd will be [/home/vmrguser/.ros]
[roslaunch][INFO] 2013-03-22 22:02:42,530: process[spawn_table-1]: started with pid [26469]
[roslaunch][INFO] 2013-03-22 22:02:42,530: ... successfully launched [spawn_table-1]
[roslaunch][INFO] 2013-03-22 22:02:42,530: ... launch_nodes complete
[roslaunch.pmon][INFO] 2013-03-22 22:02:42,531: registrations completed <ProcessMonitor(ProcessMonitor-1, started daemon 139938769590016)>
[roslaunch.parent][INFO] 2013-03-22 22:02:42,531: ... roslaunch parent running, waiting for process exit
[roslaunch][INFO] 2013-03-22 22:02:42,531: spin
[roslaunch][ERROR] 2013-03-22 22:02:44,793: [spawn_table-1] process has died ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by tfoote
close date 2015-11-26 03:10:47.878827

Comments

Gazebo crashes regularly on my system, are you able to spawn other objects?

davinci gravatar image davinci  ( 2013-03-22 02:44:13 -0600 )edit

I cannot spawn other objects and I cannot launch any other world launch file. Only the empty world.

Juan gravatar image Juan  ( 2013-03-22 04:04:42 -0600 )edit