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

Groovy catkin_create_pkg

asked 2013-12-04 04:27:06 -0500

silgon gravatar image

updated 2013-12-06 21:27:10 -0500

tfoote gravatar image

I'm having the following message every time I try to use catkin_create_pkg. Any idea how to solve this???

Traceback (most recent call last):
  File "/usr/local/bin/catkin_create_pkg", line 71, in <module>
    main()
  File "/usr/local/bin/catkin_create_pkg", line 64, in main
    newfiles={})
  File "/usr/local/lib/python3.3/dist-packages/catkin_pkg/package_templates.py", line 211, in create_package_files
    newfiles[cmake_path] = create_cmakelists(package_template, rosdistro)
  File "/usr/local/lib/python3.3/dist-packages/catkin_pkg/package_templates.py", line 275, in create_cmakelists
    return ctemp.substitute(temp_dict)
  File "/usr/lib/python3.3/string.py", line 121, in substitute
    return self.pattern.sub(convert, self.template)
  File "/usr/lib/python3.3/string.py", line 111, in convert
    val = mapping[named]
KeyError: 'include_folder_comment'
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-12-08 22:13:57 -0500

silgon gravatar image

updated 2014-01-06 07:12:38 -0500

it was a similar problem as the one described by tfoote, but instead of using pip, I was using the git repository. I deleted the catkin_ executable files and it works like charm right now (or it seems so)

edit flag offensive delete link more
0

answered 2013-12-06 21:29:16 -0500

tfoote gravatar image

What platform are you on?

It looks like you have catkin_pkg from pip. If you are mixing pip and debian packages you likely have mismatched versions. We recommend only installing from debian packages.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-12-04 04:27:06 -0500

Seen: 225 times

Last updated: Jan 06 '14