Ask Your Question
2

catkin build autocompletion

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

nios 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

Comments

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 -0500 )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.

nios gravatar image nios  ( 2015-07-13 03:18:59 -0500 )edit
1

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

joq gravatar image joq  ( 2015-07-13 13:05:47 -0500 )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.

nios gravatar image nios  ( 2015-07-14 03:42:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

nios gravatar image

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

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

Comments

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

sudo -i apt-get purge -y python3-pip wget https://bootstrap.pypa.io/get-pip.py python3 ./get-pip.py apt-get install python3-pip then sudo pip install --upgrade catkin_tools

schwarmcyc gravatar image schwarmcyc  ( 2017-03-09 14:54:49 -0500 )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

2 followers

Stats

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

Seen: 645 times

Last updated: Jul 14 '15