ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
1

roscore fails in groovy [closed]

asked 2013-01-27 21:10:01 -0500

Miquel Massot gravatar image

updated 2013-01-27 21:11:37 -0500

I've got Ubuntu 12.04 and ROS Fuerte installed and working correctly. I recently installed Groovy and I couldn't run it.

First of all, I source /opt/ros/groovy/setup.sh from a fresh terminal. Then I run roscore and this is the output:

$ roscore

WARNING: unable to configure logging. No log files will be generated
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py", line 263, in main
    p.start()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 257, in start
    self._start_infrastructure()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 206, in _start_infrastructure
    self._load_config()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/parent.py", line 121, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, verbose=self.verbose)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/config.py", line 415, in load_config_default
    load_roscore(loader, config, verbose=verbose)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/config.py", line 86, in load_roscore
    f_roscore = get_roscore_filename()
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/config.py", line 78, in get_roscore_filename
    return os.path.join(r.get_path('roslaunch'), 'resources', 'roscore.xml')
  File "/usr/local/lib/python2.7/dist-packages/rospkg-1.0.6-py2.7.egg/rospkg/rospack.py", line 149, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: roslaunch
ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/opt/ros/groovy/share
ROS path [2]=/opt/ros/groovy/stacks

If I look for roslaunch: $ rosversion roslaunch

Cannot locate [roslaunch]

and my installed version is ros-groovy-desktop-full, version 1.9.39-0precise-20121230.

Has anyone the same issue? Do you know how to solve it?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by KruseT
close date 2013-01-27 21:25:10

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-27 21:23:23 -0500

KruseT gravatar image

updated 2013-01-27 21:24:54 -0500

Same question here: http://answers.ros.org/question/47762/setting-up-ros-groovy-cant-launch-roscore/

Delete /usr/local/lib/python2.7/dist-packages/rospkg* it is outdated.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-01-27 21:10:01 -0500

Seen: 1,562 times

Last updated: Jan 27 '13