ROS Problem: stack/package not found
[ROS] Use irobot create in gazebo with ROS

[ROS] Solution to fix "Unable to handle 'index' format version '2', please update rosdistro" problem

Author posted @ 2014年8月12日 07:37 in ROS , 2711 阅读

When I upgrade ROS from Hydro to Indigo on Ubuntu 14.04 Trusty, I followed the installation instructions posted at http://wiki.ros.org/indigo/Installation/Ubuntu. However, after typing in command "rosdep update", I met a problem saying :

rosdep version: 0.10.24

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 121, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 264, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 272, in _no_args_handler
    return command_handlers[command](options)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 437, in command_update
    error_handler=update_error_handler)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 433, in update_sources_list
    for d, dist in get_index().distributions.items():
  File "/usr/lib/pymodules/python2.7/rosdep2/rosdistrohelper.py", line 58, in get_index
    _RDCache.index = rosdistro.get_index(_RDCache.index_url)
  File "/usr/lib/pymodules/python2.7/rosdistro/__init__.py", line 109, in get_index
    return Index(data, base_url)
  File "/usr/lib/pymodules/python2.7/rosdistro/index.py", line 50, in __init__
    assert int(data['version']) == 1, "Unable to handle '%s' format version '%d', please update rosdistro" % (Index._type, int(data['version']))
AssertionError: Unable to handle 'index' format version '2', please update rosdistro

After trying the solution posted at [1], the problem was still there :-(

Fortunately, the valid solution I found from 古-月[2] is much simpler:

  1.  Download the rosdistro version 0.3.5 from https://pypi.python.org/pypi/rosdistro
  2.  Unzip the file and enter the folder "rosdistro-0.3.5", type in command: 
    sudo python setup.py install
  3.  Re-run command: rosdep update. Done without any error.

References:

[1]:http://answers.ros.org/question/122266/how-can-i-fix-unable-to-handle-index-format-version-2-please-update-rosdistro/

[2]:http://blog.csdn.net/hcx25909/article/details/21395879

 

전설 서구 说:
2021年3月01日 02:24

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 123movie

sk 说:
2021年6月06日 03:23

Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. https://caldwells.com/interior-doors/contemporary-doors

seo 说:
2021年9月18日 22:58

Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. Facial Fillers

seo 说:
2021年9月18日 22:58

A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Titanium Frying Pans

seo 说:
2021年9月18日 22:58

I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Motor Vehicle Accidents

seo 说:
2021年9月18日 23:00

I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. Shelving and Racking

seo 说:
2021年9月18日 23:02

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. Cocourth coconut charcoals

seo 说:
2021年9月18日 23:04

Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks Fender Kit DB Industries Sur-Ron

seo 说:
2021年9月18日 23:06

I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Halal Steaks Online

seo 说:
2021年9月18日 23:08

This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! Dekode

seo 说:
2021年9月18日 23:10

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... asbestos testing mississauga

seo 说:
2021年9月18日 23:13

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work Men’s Lab Coat

seo 说:
2021年9月18日 23:20

very interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post! Science Tutoring

seo 说:
2021年9月18日 23:22

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. T Pink Bridal Bangles

seo 说:
2021年9月18日 23:24

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. 3M AURA HEALTH CARE

Adilkhatri 说:
2021年10月05日 19:15

In the wake of perusing your article I was stunned. I realize that you clarify it exceptionally well. What's more, I trust that different perusers will likewise encounter how I feel in the wake of perusing your article. 바카라사이트

merckseo 说:
2021年10月10日 06:04

Best Social Plan is the most trusted company for providing social media marketing services. Best Social Plan

Adilkhatri 说:
2021年10月14日 00:39

A debt of gratitude is in order for such an extraordinary post and the audit, I am completely inspired! Keep stuff like this coming. MGWIN88

adilkhatri 说:
2021年10月17日 18:54

Decent data, profitable and phenomenal outline, as offer well done with smart thoughts and ideas, bunches of extraordinary data and motivation, both of which I require, on account of offer such an accommodating data here. 안전놀이터

adilkhatri 说:
2021年10月18日 18:45

It has completely risen to crown Singapore's southern shores and without a doubt set her on the worldwide guide of private historic points. Regardless I scored the a bigger number of focuses than I ever have in a season for GS. I figure you would be unable to discover someone with a similar consistency I have had throughout the years so I am content with that. মার্কিন ভিসা ESTA

adilkhatri 说:
2021年10月18日 20:30

It is particularly conventional, however investigate the tips amid this street number. 안전놀이터

adilkhatri 说:
2021年10月21日 23:28

In the wake of perusing your article I was stunned. I realize that you clarify it exceptionally well. What's more, I trust that different perusers will likewise encounter how I feel in the wake of perusing your article. realizzazione siti web Milano

adilkhatri 说:
2021年10月23日 21:02

On this page, you'll see my profile, please read this data. indian visa

adilkhatri 说:
2021年10月24日 00:06

This is exceptionally noteworthy, but then essential towards simply click this special backlink: Kanādas vīzu pieteikums tiešsaistē

adilkhatri 说:
2021年10月24日 02:39

For genuine devotees of this string I will address is a free on the web! Sewa Excavator Murah

merckseo 说:
2021年10月26日 01:52

This is likewise a decent post which I truly appreciated perusing. It isn't each day that I have the likelihood to see something like this..  login sbobet

merckseo 说:
2021年10月26日 19:40

This is extremely fascinating substance! I have altogether delighted in perusing your focuses and have arrived at the conclusion that you are ideal about a significant number of them. You are incredible.  안전놀이터

adilkhatri 说:
2021年10月27日 18:53

You may remark on the request arrangement of the blog. You should visit it's unbelievable. Your blog review would swell up your guests. I was extremely satisfied to discover this site.I needed to thank you for this incredible read!! siti internet ferrara

adilkhatri 说:
2021年10月27日 19:33

This is exceptionally engaging, however , it is vital that will mouse tap on the association: Hero Gayab Mode On

adilkhatri 说:
2021年10月28日 23:11

It's extremely pleasant and meanful. it's extremely cool blog. Connecting is exceptionally valuable thing.you have truly helped bunches of individuals who visit blog and give them usefull data. 사설토토

adilkhatri 说:
2021年11月02日 18:05

They're delivered by the absolute best degree engineers will's identity recognized for your polo dress making. You'll discover polo Ron Lauren inside select exhibit which incorporate specific classes for men, ladies. flea spray for cats

adilkhatri 说:
2021年11月02日 18:09

It is to some degree phenomenal, but then look at the guidance at this treat. borescope

adilkhatri 说:
2021年11月02日 18:15

Such destinations are imperative since they give a huge measurement of valuable data ... Skateboard Wax

adilkhatri 说:
2021年11月02日 18:19

This is a fabulous post I seen by virtue of offer it. It is genuinely what I expected to see look for in future you will continue subsequent to sharing such an extraordinary post. jump ropes

adilkhatri 说:
2021年11月02日 18:24

Benefit as much as possible from primarily premium substances - you will discover him or her for: water pumps

seo 说:
2021年11月14日 21:51

I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. superslot888

SEO 说:
2022年1月10日 01:34

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. โรงงานผลิตครีม

SEO 说:
2022年3月03日 04:11

We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends. hospitals in oman

ali 说:
2022年3月03日 21:21

Great post. I am really expecting to over this data, is splendidly titanic. In like way striking on the web journal here with most by a wide edge of the goliath data you have. Keep doing mind blowing doing here. outlook login

ali 说:
2022年3月05日 03:48

Adequately, the article is truly the best subject on this registry related issue. I fit in with your choices and will energetically foresee your next upgrades. emergency plumbers in laguna niguel

merckseo 说:
2022年3月08日 23:32

You may remark on the request arrangement of the blog. You should visit it's unbelievable. Your blog review would swell up your guests. I was extremely satisfied to discover this site.I needed to thank you for this incredible read!!  Buy LinkedIn Followers

ali 说:
2022年4月09日 21:59

Thanks for this great post, I find it very interesting and very well thought out and put together. I look forward to reading your work in the future. Certified Translation Services

Michelle 说:
2022年4月18日 23:07

Thanks for this great post, I find it very interesting and very well thought out and put together. I look forward to reading your work in the future. MCCQE

. 카지노사이트 说:
2022年4月26日 06:37

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. Telephonic Interpreters

mahi 说:
2022年5月11日 00:30

good <a href="https://www.pressuremetrics.com/28p-ressure-measurement/">pressure measurement</a>

mahi 说:
2022年5月11日 00:31

Good [url=https://www.pressuremetrics.com/28p-ressure-measurement/]pressure measurement[/url]

mahi 说:
2022年5月11日 00:32

Good [url=https://www.pressuremetrics.com/28p-ressure-measurement/]pressure measurement[/url]

 
mahi 说:
2022年5月11日 00:33

good <a href="https://www.pressuremetrics.com/28p-ressure-measurement/">pressure measurement</a>

 
Ali 说:
2022年6月14日 02:34

Thanks , I have recently been searching for info about this topic for a while and yours is the greatest I’ve came upon till now. However, what concerning the bottom line? Are you sure concerning the source? rentacar kosova. ครีมกันแดด

Ali 说:
2022年6月14日 03:26

I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! ผื่นขึ้นหน้า

Ali 说:
2022年6月14日 03:53

What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. เซรั่ม

Ali 说:
2022年6月14日 20:30

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. ลิปสติก

Ali 说:
2022年6月14日 23:16

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. สิวอุดตัน

Ali 说:
2022年6月14日 23:20

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. หน้าโทรม

Ali 说:
2022年6月14日 23:24

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. Sabina

Ali 说:
2022年6月14日 23:28

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. ประกัน สังคม ว่างงาน

shlomo 说:
2022年6月26日 18:04

Great job for publishing such a beneficial website. Your web log isn’t only useful but it is additionally really creative too.
<a href="https://www.shlomorechnitz.net">www.shlomorechnitz.net</a>

shlomo 说:
2022年6月26日 18:05

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our.

shlomo 说:
2022年6月26日 18:07

Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign.

shlomorechnitzfounda 说:
2022年7月29日 19:13

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family.
<a href="https://www.shlomorechnitzfoundation.org/">shlomorechnitzfoundation.org</a>

ali 说:
2022年8月03日 21:54

It's too bad to check your article late. I wonder what it would be if we met a little faster. I want to exchange a little more, but please visit my site casinosite and leave a message!! 犀利士5mg

ali 说:
2022年8月10日 03:24

This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource

ali 说:
2022年8月10日 03:45

This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It is the old what goes around comes around routine. https://www.bchealthinfo.com/news/1

wellshop 说:
2022年9月07日 00:26

Nice Post Admin need more information visit here <a href="https://wellshop.pk//">Wellshop Amazon</a>


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter