Ask Your Question
1

Rosmake UWSim error - 1 package failed

asked 2013-04-03 10:47:04 -0500

Marija-123 gravatar image

updated 2013-04-17 00:28:37 -0500

So, Im trying to install UWSim again. I also followed all tutorials but when I run rosmake UWSim after some time it says:

    [ rosmake ] Last 40 linesderwater_sensor_msgs: 15... [ 1 Active 43/49 Complete ]
and after that line it is all mess:

{-------------------------------------------------------------------------------
  make[3]: Entering directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[3]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  [  0%] Built target rosbuild_premsgsrvgen
  make[3]: Entering directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[3]: Entering directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[3]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[3]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[3]: Entering directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  [ 20%] [ 80%] [100%] Built target ROSBUILD_genmsg_py
  Generating ../msg_gen/cpp/include/underwater_sensor_msgs/DVL.h
  Generating ../msg_gen/cpp/include/underwater_sensor_msgs/Pressure.h
  Traceback (most recent call last):
  Traceback (most recent call last):
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/genmsg_cpp.py", line 44, in <module>
      msg_gen.generate_messages(sys.argv)
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 740, in generate_messages
        File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/genmsg_cpp.py", line 44, in <module>
      generate(arg)
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 710, in generate
      msg_gen.generate_messages(sys.argv)
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 740, in generate_messages
      write_traits(s, spec, cpp_prefix, rospack=rospack)
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 588, in write_traits
      generate(arg)
    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 710, in generate
      gendeps_dict = roslib.gentools.get_dependencies(spec, spec.package, compute_files=False, rospack=rospack)
  TypeError: get_dependencies() got an unexpected keyword argument 'rospack'write_traits(s, spec, cpp_prefix, rospack=rospack)

    File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 588, in write_traits
      gendeps_dict = roslib.gentools.get_dependencies(spec, spec.package, compute_files=False, rospack=rospack)
  TypeError: get_dependencies() got an unexpected keyword argument 'rospack'
  make[3]: *** [../msg_gen/cpp/include/underwater_sensor_msgs/Pressure.h] Error 1
  make[3]: *** Waiting for unfinished jobs....
  make[3]: *** [../msg_gen/cpp/include/underwater_sensor_msgs/DVL.h] Error 1
  make[3]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[2]: *** [CMakeFiles/ROSBUILD_genmsg_cpp.dir/all] Error 2
  make[2]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/viki/underwater_simulation/underwater_sensor_msgs/build'

    [ rosmake ] Output from build of package underwater_sensor_msgs written to:
    [ rosmake ]    /home/viki/.ros/rosmake/rosmake_output-20130403-160957/underwater_sensor_msgs/build_output.log
    [rosmake-0] Finished <<< underwater_sensor_msgs [FAIL] [ 15.35 seconds ]        
    [ rosmake ] Halting due to failure in package underwater_sensor_msgs. 
    [ rosmake ] Waiting for other threads to complete.
    [ rosmake ] Results:
    [ rosmake ] Built 44 packages with 1 failures. 
    [ rosmake ] Summary output to directory  
    [ rosmake ] /home/viki/.ros/rosmake/rosmake_output-20130403-160957

Can someone please help me?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
4

answered 2013-04-04 01:39:15 -0500

mthz gravatar image

had the same error. updating roslib solved it for me

sudo apt-get install ros-groovy-roslib
edit flag offensive delete link more

Comments

Got same error, this answer resolved it.

Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2013-04-17 08:12:49 -0500 )edit
1

answered 2013-04-03 12:13:20 -0500

Dexter111 gravatar image

updated 2013-04-03 12:27:17 -0500

Just got the same error by installing the velodyne trunk & updating my complete ROS :/

File "/opt/ros/groovy/share/roscpp/rosbuild/scripts/msg_gen.py", line 588, in write_traits gendeps_dict = roslib.gentools.get_dependencies(spec, spec.package, compute_files=False, rospack=rospack) TypeError: get_dependencies() got an unexpected keyword argument 'rospack'

Waiting for an answer with you ...

edit flag offensive delete link more

Comments

1

Not an answer. Please use the commenting function.

Martin Günther gravatar image Martin Günther  ( 2013-04-17 00:27:21 -0500 )edit
0

answered 2014-09-12 23:05:21 -0500

Cong Wang gravatar image

Hi,

I have some problems on using command "rosrun uwsim uwsim" to run uwsim following errors are showing:

Jack@Jack:~$ rosrun uwsim uwsim
    Starting UWSim...    
      . Setting localized world: 6.1e-05s    
    Loading URDF robot...    
      · robot/GIRONA500/g500_March11.osg: 2.67438s
      · robot/ARM5E/ARM5E_part0.osg: 0.082435s
      · robot/ARM5E/ARM5E_part1.osg: 0.119529s
      · robot/ARM5E/ARM5E_part2.osg: 0.127205s
      · robot/ARM5E/ARM5E_part3.osg: 0.439133s
      · robot/ARM5E/ARM5E_part4_base.osg: 0.420119s
      · robot/ARM5E/ARM5E_part4_jaw1.osg: 0.065359s
      · robot/ARM5E/ARM5E_part4_jaw2.osg: 0.058875s    
      · Linking links.../opt/ros/groovy/lib/uwsim/uwsim: line 20: 25729 Segmentation fault      (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@

Thank you for your help!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-04-03 10:47:04 -0500

Seen: 970 times

Last updated: Sep 12 '14