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

Revision history [back]

click to hide/show revision 1
initial version

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Edit2:

So this really comes down to your machine / your python urllib2 not timeing out on that address, which seems not to be a problem with rosdep as such. You could try one thing, and replace the contents of file /etc/ros/rosdep/sources.list.d/20-default.list with and see if that makes a difference for the rosdep update call.

# os-specific listings first
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/hydro.yaml hydro

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Edit2:Edit3:

So this really comes down to your machine / your python urllib2 not timeing out on that address, which seems not to be a problem with rosdep as such. You could try one thing, and replace the contents of file /etc/ros/rosdep/sources.list.d/20-default.list with and see if that makes a difference for the rosdep update call.

# os-specific listings first
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/hydro.yaml hydro

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Edit3:

So this really comes down to your machine / your python urllib2 not timeing out on that address, which seems not to be a problem with rosdep as such. You could try one thing, and replace the contents of file /etc/ros/rosdep/sources.list.d/20-default.list with and see if that makes a difference for the rosdep update call.

# os-specific listings first
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/hydro.yaml hydro

Edit 4:

Ok, I'm out of ideas, it seems to be that some urls you can access, and some URLs you can't. Maybe it is a github problem, maybe it is a problem of your computer. You could try with a different machine or a virtual machine from the same network to narrow it down further. Or try with your machine from a different network. It's probably best to remove the file you just changed /etc/ros/rosdep/sources.list.d/20-default.list and call sudo rosdep init again.

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Edit3:

So this really comes down to your machine / your python urllib2 not timeing out on that address, which seems not to be a problem with rosdep as such. You could try one thing, and replace the contents of file /etc/ros/rosdep/sources.list.d/20-default.list with and see if that makes a difference for the rosdep update call.

# os-specific listings first
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/hydro.yaml hydro

Edit 4:

Ok, I'm out of ideas, it seems to be that some urls you can access, and some URLs you can't. Maybe it is a github problem, maybe it is a problem of your computer. You could try with a different machine or a virtual machine from the same network to narrow it down further. Or try with your machine from a different network. It's probably best to remove the file you just changed /etc/ros/rosdep/sources.list.d/20-default.list and call sudo rosdep init again.

Edit 5:

The problem seems to persist for multiple people and changing URLs. Some people report success after trying multiple times and/or across multiple days.

Can you please edit your answert to print the output of excuting in your terminal:

cat /etc/ros/rosdep/sources.list.d

From the error message it seems like there is a missing second slash after http:/, but that might just be formatting.

Are you able to view http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml in your browser and download it in the terminal with wget http://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml?

Also, are you using ubuntu? Which version? How have you installed rosdep (apt or pip?) and is your installation up to date?

Edit:

Have you executed the rosdep update command repeatedly? Does it always fail the same way?

What does rosdep --version output?

Edit2:

You can directly check the following, if it is a problem that is not really related to rosdep, but rather either github, your local setup or python:

python -c 'from urllib2 import urlopen; print(urlopen("http://github.com/ros/rosdistro/raw/master/rosdep/base.yaml", timeout=5).info());'

Edit3:

So this really comes down to your machine / your python urllib2 not timeing out on that address, which seems not to be a problem with rosdep as such. You could try one thing, and replace the contents of file /etc/ros/rosdep/sources.list.d/20-default.list with and see if that makes a difference for the rosdep update call. Update: Don't do that, it doesn't seem help and if you forget to undo it, you are left with stale sources.

# os-specific listings first
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/NikolausDemmel/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/NikolausDemmel/rosdistro/raw/master/releases/hydro.yaml hydro

Edit 4:

Ok, I'm out of ideas, it seems to be that some urls you can access, and some URLs you can't. Maybe it is a github problem, maybe it is a problem of your computer. You could try with a different machine or a virtual machine from the same network to narrow it down further. Or try with your machine from a different network. It's probably best to remove the file you just changed /etc/ros/rosdep/sources.list.d/20-default.list and call sudo rosdep init again.

Edit 5:

The problem seems to persist for multiple people and changing URLs. Some people report success after trying multiple times and/or across multiple days.