ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

catkin build autocompletion

asked 2015-07-10 04:55:35 -0600

niosus gravatar image

Hello everyone. This is not an urgent issue, but is quite annoying at time. So, the problem is the following. I am using the python catkin_tools instead of ordinary catkin_make in ros indigo. When I do:

catkin build [tab][tab]

I expect to have the completions of the packages currently in the workspace to pop up, but this is not happening. I am not 100% sure, but I guess I had the indended behaviour before. Instead I get

catkin build usage: catkin [-h] [-a] [--test-colors]
          [build | clean | config | create | init | list | profile] ...
catkin: error: unrecognized arguments: --no-color --unformatted --quiet
usage: catkin [-h] [-a] [--test-colors]
              [build | clean | config | create | init | list | profile] ...
catkin: error: unrecognized arguments: --no-color --unformatted --quiet

So the question is - where should I look for it? Any pointer appreciated. Thanks!

edit retag flag offensive close merge delete


Hmm. It works for me. Not sure what I did or installed to enable it.

joq gravatar image joq  ( 2015-07-10 10:08:15 -0600 )edit

@joq, it has been working for me for quite a while too, but then I missed the moment when it stopped. So the intention behind this question is to find if somebody else had the same issue, or, at least to find somebody who just knows more than I do.

niosus gravatar image niosus  ( 2015-07-13 03:18:59 -0600 )edit

Did you install a new version? Looks like I have 0.3.0.

joq gravatar image joq  ( 2015-07-13 13:05:47 -0600 )edit

oh, @joq, I didn't realize it has been updated. Did an upgrade - this solved the issue. I will point to your comment in a solution. Thanks.

niosus gravatar image niosus  ( 2015-07-14 03:42:19 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-14 03:43:59 -0600

niosus gravatar image

updated 2015-07-14 03:44:35 -0600

As pointed out in one of the comments by @joq - I have been using catking tools 0.2.0, while there has been an update to 0.3.0. After performing:

sudo pip install --upgrade catkin_tools

the issue has disappeared. Thanks!

edit flag offensive delete link more


Great! It works for me ubuntu14.04 ROS indigo python 2.7.6

sudo -i apt-get purge -y python3-pip wget python3 ./ apt-get install python3-pip then sudo pip install --upgrade catkin_tools

schwarmcyc gravatar image schwarmcyc  ( 2017-03-09 14:54:49 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-07-10 04:55:35 -0600

Seen: 872 times

Last updated: Jul 14 '15