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

Why does robot_model fail in rosinstall

asked 2011-03-19 15:00:54 -0600

Eponymous gravatar image

updated 2011-03-20 17:03:57 -0600

I get the following when rosinstall hits the robot_model line in .rosinstall:

- hg: {local-name: robot_model, uri: 'https://kforge.ros.org/robotmodel/robot_model',
    version: robot_model-1.4.0}

This despite having Mercurial installed via macports and having several other hg lines in my .rosinstall which install fine. What's going on?

Installing https://kforge.ros.org/robotmodel/robot_model robot_model-1.4.0 to /Users/my_name/ros/robot_model
Traceback (most recent call last):
  File "/usr/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 442, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1167, in run_script
    exec script_code in namespace, namespace
  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 556, in <module>

  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 534, in rosinstall_main

  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 276, in execute_install

  File "/Library/Python/2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall", line 115, in install

AttributeError: VCSClient instance has no attribute 'type'
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-03-20 14:22:37 -0600

tfoote gravatar image

Looking closer the line which is failing(rosinstall:115) reads: "Failed to detect %s presence at %s."%(self.vcsc.type, self.path" which suggests that it is finding the path exists already but it does not detect a mercurial checkout in the place.

I suggest deleting that path and running it again.

edit flag offensive delete link more

Comments

That did it, and by "that" I mean that I deleted the robot_model path and re-ran rosinstall. Not quite sure what went wrong there.
Eponymous gravatar image Eponymous  ( 2011-03-20 17:03:12 -0600 )edit
0

answered 2011-03-19 20:00:31 -0600

tfoote gravatar image

You need to install mercurial.

There's a bug in the error printing code which is what the backtrace is from. ros ticket 3393

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-03-19 15:00:54 -0600

Seen: 256 times

Last updated: Mar 20 '11