[ros-users] rosinstall infinite recursion in Ubuntu 10.10

Mac Mason mac at cs.duke.edu
Tue Dec 14 19:17:10 UTC 2010


Hello folks,

I'm getting a "recursion depth exceeded" using rosinstall in Ubuntu 10.10. In particular:

- Install ros-cturtle-base using the ubuntu packages
- Install rosinstall using easy_install
- Try to install ni:

% rosinstall ~/ros /opt/ros/cturtle ni.rosinstall
[a great deal of output; see below]
RuntimeError: maximum recursion depth exceeded

The first couple of lines of output look like this:

Traceback (most recent call last):
  File "/usr/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.9', 'rosinstall')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1200, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 504, in <module>
    sys.exit(not rosinstall_main(sys.argv))
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 473, in rosinstall_main
    config = Config(aggregate_source_yaml, options.path)                                                                                                                                          
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 198, in __init__
    self.load_yaml(self.source, self.source_uri)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 223, in load_yaml
    child_config = Config(rosinstall.helpers.get_yaml_from_uri(rosinstall_uri), local_path)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 198, in __init__
    self.load_yaml(self.source, self.source_uri)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 223, in load_yaml
    child_config = Config(rosinstall.helpers.get_yaml_from_uri(rosinstall_uri), local_path)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 198, in __init__
    self.load_yaml(self.source, self.source_uri)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 223, in load_yaml
    child_config = Config(rosinstall.helpers.get_yaml_from_uri(rosinstall_uri), local_path)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 198, in __init__
    self.load_yaml(self.source, self.source_uri)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 223, in load_yaml
    child_config = Config(rosinstall.helpers.get_yaml_from_uri(rosinstall_uri), local_path)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 198, in __init__
    self.load_yaml(self.source, self.source_uri)
  File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.9-py2.6.egg/EGG-INFO/scripts/rosinstall", line 223, in load_yaml

Interesting fact: exactly the same process, line for line (except adding the correct ubuntu source line) works in 10.04.

This is a complete showstopper for me, and possibly others. Thoughts?

Thanks!

	--Mac

--
Julian "Mac" Mason      mac at cs.duke.edu      www.cs.duke.edu/~mac




More information about the ros-users mailing list