ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Bug Report about "rosdep"

asked 2015-03-21 00:50:53 -0500

leehui gravatar image

updated 2015-03-21 03:27:28 -0500

gvdhoorn gravatar image

ROS: Indigo OS : Ubuntu14.04

When I run rosdep install turtlesim, the output is:

ERROR: Rosdep experienced an error: XML or text declaration not at start of entity: line 2, column 0
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.11.2

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 136, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 345, in _rosdep_main
    return _package_args_handler(command, parser, options, args)
  File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 401, in _package_args_handler
    val = rospkg.expand_to_packages(args, rospack, rosstack)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 428, in expand_to_packages
    package_list = rospack.list()
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 188, in list
    self._update_location_cache()
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 180, 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: XML or text declaration not at start of entity: line 2, column 0

please help! thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-03-21 03:29:12 -0500

gvdhoorn gravatar image
ERROR: Rosdep experienced an error: XML or text declaration not at start of entity: line 2, column 0
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

I'd say this pretty much tells you what to do.

You can probably report the issue directly at ros-infrastructure/rosdep/issues.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-21 00:50:53 -0500

Seen: 432 times

Last updated: Mar 21 '15