rosdep update timeout problem solving


reading in sources list data from /etc/ros/rosdep/sources.list.d Hit http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml ERROR: unable to process source [http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml]: <urlopen error _ssl.c:489: The handshake operation timed out> (http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml) ERROR: error loading sources list: The read operation timed out

 Solution:

Change the  /usr/lib/python2.7/dist-packages/rosdep2/three files under sources_list.py, gbpdistro_support.py, rep3.py
in DOWNLOAD_TIMEOUT = 15.0value, it can be a big change.
Follows

sudo vim /usr/lib/python2.7/dist-packages/rosdep2/gbpdistro_support.py

Then use the search function input vim :/DOWNLOAD_TIMEOUTsearch to this line, after modifying the input :wqsave and exit on the line.
After this modification only chance of success would be much higher, back when executing commands found stuck on the Ctrl +  Cagain execute it several times before.

Guess you like

Origin www.cnblogs.com/zxzmnh/p/11758103.html
Recommended