Ask Your Question
1

wstool init fails

asked 2013-03-10 13:32:54 -0600

DrBot gravatar image

updated 2013-03-11 09:09:45 -0600

William gravatar image

I am trying to build catkin workspace following instructions.

mkdir -p  ~/overlay_ws
cd ~/overlay_ws
mkdir -p src
cd src
wstool init

But it is failing with:

ubuntu:~/overlay_ws/src$ wstool init
Traceback (most recent call last):
  File "/usr/bin/wstool", line 63, in <module>
    sys.exit(wstool.wstool_cli.wstool_main(sys.argv))
  File "/usr/lib/pymodules/python2.7/wstool/wstool_cli.py", line 217, in wstool_main
    'info': cli.cmd_info,
AttributeError: WstoolCLI instance has no attribute 'cmd_info'
edit retag flag offensive close merge delete

Comments

You should open an issue on the wstool issue tracker so that a better error message is displayed when this error occurs: https://github.com/vcstools/wstool/issues

William gravatar imageWilliam ( 2013-03-11 09:08:26 -0600 )edit
William gravatar imageWilliam ( 2013-03-11 09:15:35 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-03-11 09:56:56 -0600

KruseT gravatar image

This looks like your version of wstool is the most recent, but rosinstall is not up-to-date. This can happen on Ubuntu in particular if you have an old version of rosinstall in /usr/local/lib/python2.7/dist-packages. Remove anything named rosinstall* or vcstool* in there.

The syntax should be okay, though the added dot as kalectro suggest is also okay, so that might be a workaround. Still you should update.

edit flag offensive delete link more
1

answered 2013-03-10 16:35:13 -0600

kalectro gravatar image

updated 2013-03-10 16:35:41 -0600

Your formatting is really bad. You will have more people reading your question if you format your question a little nicer.

As far as I can see you are missing a dot. The command should be

wstool init .

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-03-10 13:32:54 -0600

Seen: 571 times

Last updated: Mar 11 '13