How to solve unorderable types: Dependency() < Dependency() when using catkin_create_pkg? [closed]

asked 2014-06-02 06:39:16 -0600

sam gravatar image

I use ROS groovy with ubuntu 12.10.

The error generated by catkin_create_pkg.

sam@sam:~/code/ros_groovy/src$ catkin_create_pkg sam_move_right_arm_to_position roscpp moveit_ros_planning_interface
Traceback (most recent call last):
  File "/usr/local/bin/catkin_create_pkg", line 68, in <module>
    main()
  File "/usr/local/bin/catkin_create_pkg", line 61, in main
    newfiles={})
  File "/usr/local/lib/python3.2/dist-packages/catkin_pkg/package_templates.py", line 205, in create_package_files
    create_package_xml(package_template, rosdistro)
  File "/usr/local/lib/python3.2/dist-packages/catkin_pkg/package_templates.py", line 397, in create_package_xml
    for dep in sorted(dep_map[dep_type], key=lambda x: x.name):
TypeError: unorderable types: Dependency() < Dependency()
sam@sam:~/code/ros_groovy/src$

How to solve it?

Thank you~

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-08-15 15:21:34.141488