ROSBerry Catkin Workspace: rosinstall_generator

asked 2021-03-04 17:06:45 -0500

HelloThere gravatar image

updated 2022-05-28 16:58:19 -0500

lucasw gravatar image

Hello, I'm facing an issue while creating the bootstrap dependencies. I'm following the following link for setting it up: http://wiki.ros.org/ROSberryPi/Instal...

I'm getting a socket.timeout error after executing the line,

$ rosinstall_generator ros_comm --rosdistro melodic --deps --wet-only --tar > melodic-ros_comm-wet.rosinstall
Traceback (most recent call last):
  File "/usr/bin/rosinstall_generator", line 11, in <module>
    load_entry_point('rosinstall-generator==0.1.22', 'console_scripts', 'rosinstall_generator')()
  File "/usr/lib/python2.7/dist-packages/rosinstall_generator/cli.py", line 163, in main
    upstream_version_tag=args.upstream, upstream_source_version=args.upstream_development)
  File "/usr/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 267, in generate_rosinstall
    wet_package_names, unreleased_repo_names = _get_packages_for_repos(distro_name, repo_names, source=upstream_source_version)
  File "/usr/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 93, in _get_packages_for_repos
    wet_distro = get_wet_distro(distro_name)
  File "/usr/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 224, in get_wet_distro
    _wet_distro = _get_wet_distro(distro_name)
  File "/usr/lib/python2.7/dist-packages/rosinstall_generator/distro.py", line 46, in get_distro
    return get_cached_distribution(index, distro_name)
  File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 137, in get_cached_distribution
    cache = get_distribution_cache(index, dist_name)
  File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 177, in get_distribution_cache
    yaml_str = get_distribution_cache_string(index, dist_name)
  File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 164, in get_distribution_cache_string
    yaml_gz_str = load_url(url, skip_decode=True)
  File "/usr/lib/python2.7/dist-packages/rosdistro/loader.py", line 63, in load_url
    contents = fh.read()
  File "/usr/lib/python2.7/socket.py", line 355, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib/python2.7/httplib.py", line 607, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/socket.py", line 384, in read
    data = self._sock.recv(left)
socket.timeout: timed out

I tried installing ROS Kinetic and Melodic but facing the same issue.

What course of action would you suggest?

edit retag flag offensive close merge delete

Comments

(Picture attached)

there is no picture, and luckily so.

Please don't post screenshots of terminals, as it's all text. See the Support guidelines.

gvdhoorn gravatar image gvdhoorn  ( 2021-03-05 04:24:45 -0500 )edit