# Update component error: 'int' object is not iterable

**URL:** <https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273>\
**Category:** grasshopper\
**Created:** [September 26, 2019, 4:15pm UTC](https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273 "2019-09-26T16:15:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [September 26, 2019, 4:15pm UTC](https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273/1 "2019-09-26T16:15:29Z")

</div>

If you try to use the update component for the legacy plugins you will see an error similar to this:

 ![image](https://discourse.ladybug.tools/uploads/default/original/2X/8/8ba9ca1dca6ccf6372da2b71b2b1c783e54f9633.png)

Why is this happening and how can you solve the issue?

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [September 26, 2019, 4:46pm UTC](https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273/2 "2019-09-26T16:46:21Z")

</div>

## WHY

This issue is happening because we have moved the legacy plugin repositories from my personal account to ladybug-tools organization. See [here](https://github.com/ladybug-tools/ladybug-legacy) and [here](https://github.com/ladybug-tools/honeybee-legacy). The old links should still work and redirect you to the new repositories but just in case they didn’t work you have the new links.

We wanted to make this move for a long time and now that we have the [Hacktoberfest 2019 coming](https://discourse.ladybug.tools/t/hacktoberfest-2019/7039) we decided to go ahead and do it.

This change will break the update components as now the name of the downloaded file is different. 😣 You shouldn’t be worried though as the fix is quite easy.

## How to fix it?

Download [the updated update components from Hydra](http://hydrashare.github.io/hydra/viewer?owner=mostaphaRoudsari&fork=hydra_1&id=Update_Ladybug_and_Honeybee&slide=0&scale=1&offset=0,0). Open the file and set the Boolean to True. The file will update your installation as well as the update\_components! 😃

Let us know here if you face any issues.

---

<div class="post-metadata">

**Author:** ![Neo](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/neo/32/5968_2.png) [@Neo](https://discourse.ladybug.tools/u/Neo)\
**Post date:** [November 26, 2019, 9:04am UTC](https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273/3 "2019-11-26T09:04:10Z")

</div>

Hi Mostapha,  
I have a problem with updating my old files. I could update the components but I don’t see the update file part when I open it in grasshopper (your version on hydra shows this line).  
Thank you for your help.

 ![Missing](https://discourse.ladybug.tools/uploads/default/original/2X/f/f174bb3b3214cb93391c048eb475c97664e2ac51.jpeg)

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [November 26, 2019, 2:34pm UTC](https://discourse.ladybug.tools/t/update-component-error-int-object-is-not-iterable/7273/4 "2019-11-26T14:34:21Z")

</div>

Update file component is next to ladybug\_ladybug component in 0 tab. It should not be in the file.
