Robotics StackExchange | Archived questions

I may have corrupted rosdep

Can someone help me with how to reset this so I can try again? Is it rosdep init?

 ~/ros_catkin_ws rosdep db
OS NAME: osx
OS VERSION: sierra
DB [key -> resolution]
texlive-latex-base ->

ERROR: Rosdep experienced an error: sequence item 0: expected string, HomebrewResolution found
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.11.5

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 136, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 351, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 359, in _no_args_handler
    return command_handlers[command](options)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 705, in command_db
    resolved_str = " ".join(resolved)
TypeError: sequence item 0: expected string, HomebrewResolution found

Asked by pitosalas on 2017-07-20 19:18:07 UTC

Comments

What did you do prior to this?

Asked by jayess on 2017-07-20 21:05:52 UTC

Reposting the same question twice doesn't help solve the problem. It just means that less people are going to see your question. Especially when the repost is less detailed.

Asked by jayess on 2017-07-20 21:12:16 UTC

This looks like a bug in rosdep. I suggest you follow the link and file a bug.

Asked by ahendrix on 2017-07-21 01:11:09 UTC

It looks like you reported this a few days ago and it was fixed: https://github.com/ros-infrastructure/rosdep/issues/524 . Why ask about it again here?

Asked by ahendrix on 2017-07-21 01:15:12 UTC

I guess because the fix didn't seem to fix it. But you're right, I should have added a comment. But now I can't find the "fix", can you point me to it? It doesn't appear here nor the other question I asked.

Asked by pitosalas on 2017-07-21 10:22:15 UTC

Answers