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

rosdep update error (gentoo.yaml empty)

asked 2014-04-01 02:44:07 -0600

demmeln gravatar image

Hi, I just noticed a strange error when executing rosdep update.

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///etc/ros/rosdep/local.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml
ERROR: unable to process source [https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml]:
    rosdep data from [https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml] is not a YAML dictionary
Hit https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
Hit https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml
Ignore legacy gbpdistro "groovy"
Ignore legacy gbpdistro "hydro"
Query rosdistro index https://raw.github.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "indigo"
Add distro "hydro"
updated cache in /Users/demmeln/.ros/rosdep/sources.cache
ERROR: Not all sources were able to be updated.
[[[
ERROR: unable to process source [https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml]:
    rosdep data from [https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml] is not a YAML dictionary
]]]

If I look at https://github.com/ros/rosdistro/blob... , it looks fine, however for me, the raw version https://github.com/ros/rosdistro/raw/... which rosdep downloads seems to be empty (0 bytes). Is this some faulty caching on github's side, or somewhere on my machine? I get the same with browser and from command line (wget), so not sure what kind of cache that would be...

Can anyone confirm the empty file with the "raw" link?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-04-02 07:55:54 -0600

William gravatar image

I have an opened a support email with github and they are looking into it, but I too think it is related to the roll out of their new CDN. It is safe to ignore this error for now, the file it is failing to retrieve is empty and vestigial anyways.

In fact you can get rid of it by re-initilaizing rosdep:

  • Run rosdep init, it will fail because it's already initialized
  • Follow the instructions it gives you to remove the config files
  • Run rosdep init again
  • Run rosdep update (hoepfully without error)
edit flag offensive delete link more

Comments

Also, it looks to be resolved now, the Github support team emailed me letting me know it was resolved.

William gravatar image William  ( 2014-04-02 07:58:37 -0600 )edit

Yeah, it seemed to have started working yesterday. Thanks for the hint with removing the gentoo entry since it has been removed anyways.

demmeln gravatar image demmeln  ( 2014-04-02 08:06:18 -0600 )edit
0

answered 2014-04-01 03:51:20 -0600

demmeln gravatar image

It seems to have fixed itself without me doing anything. Maybe a glitch in github CDN...

edit flag offensive delete link more

Comments

@William: These kind of github issues seem to become more frequent, not just for me... Any experience of these kind of things over at OSRF?

demmeln gravatar image demmeln  ( 2014-04-02 02:43:21 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-04-01 02:44:07 -0600

Seen: 973 times

Last updated: Apr 02 '14