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

Install Hydro from source: unexpected keyword argument 'timeout'

asked 2014-11-13 11:02:12 -0500

rastaxe gravatar image

updated 2021-12-03 09:53:47 -0500

Evgeny gravatar image

I am trying to install Hydro from source following these instructions on Ubuntu 12.04 32 bit.
After this command: wstool init -j8 src hydro-desktop-full-wet.rosinstall I got several errors of this type:

TypeError: checkout() got an unexpected keyword argument 'timeout'

How can I solve this problem? Thanks!

The whole traceback of the command is:

ale@ale-laptop:~/ros_catkin_ws$ wstool update -j 4 -t src
[actionlib,angles,bfl,bond_core/bond] still active
[actionlib] Fetching https://github.com/ros-gbp/actionlib-release/archive/release/hydro/actionlib/1.10.3-0.tar.gz (version actionlib-release-release-hydro-actionlib-1.10.3-0) to /home/ale/ros_catkin_ws/src/actionlib
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/wstool/common.py", line 283, in run
    result_dict = self.worker.do_work()
  File "/usr/lib/pymodules/python2.7/wstool/multiproject_cmd.py", line 339, in do_work
    verbose=self.report.verbose)
  File "/usr/lib/pymodules/python2.7/wstool/config_elements.py", line 370, in install
    verbose=verbose):
TypeError: checkout() got an unexpected keyword argument 'timeout'
[bond_core/bond] Fetching https://github.com/ros-gbp/bond_core-release/archive/release/hydro/bond/1.7.16-0.tar.gz (version bond_core-release-release-hydro-bond-1.7.16-0) to /home/ale/ros_catkin_ws/src/bond_core/bond
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/wstool/common.py", line 283, in run
[angles] Fetching https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/hydro/angles/1.9.9-0.tar.gz (version geometry_angles_utils-release-release-hydro-angles-1.9.9-0) to /home/ale/ros_catkin_ws/src/angles
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/wstool/common.py", line 283, in run
    result_dict = self.worker.do_work()
  File "/usr/lib/pymodules/python2.7/wstool/multiproject_cmd.py", line 339, in do_work
    result_dict = self.worker.do_work()
    verbose=self.report.verbose)
  File "/usr/lib/pymodules/python2.7/wstool/config_elements.py", line 370, in install
  File "/usr/lib/pymodules/python2.7/wstool/multiproject_cmd.py", line 339, in do_work
    verbose=verbose):
TypeError: checkout() got an unexpected keyword argument 'timeout'
    verbose=self.report.verbose)
  File "/usr/lib/pymodules/python2.7/wstool/config_elements.py", line 370, in install
    verbose=verbose):
TypeError: checkout() got an unexpected keyword argument 'timeout'
[bfl] Fetching https://github.com/ros-gbp/bfl-release/archive/release/hydro/bfl/0.7.0-3.tar.gz (version bfl-release-release-hydro-bfl-0.7.0-3) to /home/ale/ros_catkin_ws/src/bfl
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/wstool/common.py", line 283, in run
    result_dict = self.worker.do_work()
  File "/usr/lib/pymodules/python2.7/wstool/multiproject_cmd.py", line 339, in do_work
    verbose=self.report.verbose)
  File "/usr/lib/pymodules/python2.7/wstool/config_elements.py", line 370, in install
    verbose=verbose):
TypeError: checkout() got an unexpected keyword argument 'timeout'
[bond_core/bond_core,bond_core/bondcpp,bond_core/bondpy,bond_core/smclib] still active
[bond_core/bondcpp] Fetching https://github.com/ros-gbp/bond_core-release/archive/release/hydro/bondcpp/1.7.16-0.tar.gz (version bond_core-release-release-hydro-bondcpp-1.7.16-0) to /home/ale/ros_catkin_ws/src/bond_core/bondcpp
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/wstool/common.py", line 283, in run
    result_dict = self.worker.do_work()
  File "/usr/lib/pymodules/python2.7/wstool/multiproject_cmd.py", line 339, in do_work
    verbose=self ...
(more)
edit retag flag offensive close merge delete

Comments

We need the whole traceback to help you out. However, I would guess that you have an out-of-date dependency. Make sure you have the most up-to-date versions of things like python-vcstools and python-wstool.

William gravatar image William  ( 2014-11-13 15:47:54 -0500 )edit

python-vcstools and python-wstool are installed with apt-get and the whole OS is up-to-date.

rastaxe gravatar image rastaxe  ( 2014-11-14 07:29:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-11-14 13:21:09 -0500

William gravatar image

Judging by the output I have to conclude that you have a version of vcstools which does not line up with the version of wstools you are using. This might be a case of a pip installed version of vcstools overlaying the apt-get version, see:

http://answers.ros.org/question/49143...

You can check by seeing if the output of this:

python -c 'import vcstools; print(vcstools.__file__)'

Is prefixed with /usr/local/lib.... If it is then the default version of vcstools is coming from pip and not apt-get. In which case you'll need to sudo pip uninstall vcstools repeatedly until it reports that nothing was uninstalled, then do sudo apt-get install --reinstall python-vcstools. Hopefully that should clear up your issue.

edit flag offensive delete link more

Comments

You were right! Thank you it worked!

rastaxe gravatar image rastaxe  ( 2014-11-17 03:32:06 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-11-13 11:02:12 -0500

Seen: 306 times

Last updated: Nov 14 '14