I've just built ROS Diamondback desktop full-install from SVN using instructions here. Installation process run smoothly. When trying to run roscore the following error appears:
Traceback (most recent call last):
File "/home/user/ros/ros/bin/roscore", line 34, in <module>
from ros import roslaunch
File "/home/user/ros/ros/core/roslib/src/ros/__init__.py", line 57, in __getattr__
return __import__(name)
File "/home/user/ros/ros_comm/tools/roslaunch/src/roslaunch/__init__.py", line 53, in <module>
from roslaunch.scriptapi import ROSLaunch
File "/home/user/ros/ros_comm/tools/roslaunch/src/roslaunch/scriptapi.py", line 42, in <module>
import roslaunch.parent
File "/home/user/ros/ros_comm/tools/roslaunch/src/roslaunch/parent.py", line 55, in <module>
import roslaunch.server
File "/home/user/ros/ros_comm/tools/roslaunch/src/roslaunch/server.py", line 70, in <module>
from rosgraph_msgs.msg import Log
ImportError: No module named rosgraph_msgs.msg
roswtf gives the following output:
ERROR: ROS has not been built. To fix:
cd $ROS_ROOT
make
Of course doing as roswtf suggests or running rosmake ros doesn't fix the issue.
EDIT: The thing that seems suspicious to me is there are only 18 steps in the process of building ros via rosmake ros. This seems to little in comparison with 72 dependencies being built when building cturtle.
Any clues?
Can you try running "rosmake ros_comm" and re-running?
Asked: Feb 20 '11
Seen: 312 times
Last updated: Feb 20 '11
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.