I was trying to run the example of the tutorial rqt_console and roslaunch and was trying to create and run a launch file in the example regarding turtlesim1 and turtle sim2 and encountered the following error.
Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 225, in main args = rlutil.resolve_launch_arguments(args) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/rlutil.py", line 92, in resolve_launch_arguments resolved = roslib.packages.find_resource(args[0], args[1]) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/packages.py", line 499, in find_resource pkg_path = rospack.get_path(pkg) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 201, in get_path self._update_location_cache() File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 184, in _update_location_cache list_by_path(self._manifest_name, path, cache) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 67, in list_by_path root = ElementTree(None, os.path.join(d, PACKAGE_FILE)) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 611, in __init__ self.parse(file) File "<string>", line 38, in parse ParseError: junk after document element: line 70, column 2
@hid123, edit your title so it's shorter and more meaningful and describe the problem in more detail. Which tutorial are you referring to etc.
@hid123, according to the error message there should be some error while parsing
XML
file. Can you provide us with some launch files etc? How do you run the whole thing?@hid123, use the
edit
button to update your question instead of answering it.This is really weird to me as I cannot see anything wrong with the
launch
file and my version ofturtlesim
is working just fine... What operating system do you use and how did you install the ROS distribution?