# Error on re-run OSM component: "1. Solution exception:expected Path, got str"

**URL:** <https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898>\
**Category:** honeybee-legacy\
**Tags:** honeybee, openstudio\
**Created:** [March 22, 2020, 9:57am UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898 "2020-03-22T09:57:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nimafo](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/n/b19c9b/32.png) [@Nimafo](https://discourse.ladybug.tools/u/Nimafo)\
**Post date:** [March 22, 2020, 9:57am UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/1 "2020-03-22T09:57:33Z")

</div>

Hi everyone,  
I’m having a problem when I plug in a list of OSM file addresses in _Honeybee\_Re-Run OSM_ Component.

I’ve tested this on _VER 0.0.65(JAN\_01\_2020)_ and _0.0.64 (2018-Dec-10)_ of the component on two different computers and both rhino 5 and 6 and I got the errors every time.

A similar issue has been discussed earlier in [here](https://discourse.ladybug.tools/t/re-run-osm-component-old-error-solution-exception-expected-path/7005). but as @chris suggested, this one is different from that, so I’m posting it here under a new topic.

Can anyone help me with this issue?

 ![image](https://discourse.ladybug.tools/uploads/default/original/2X/f/f10e2a28f8f021a24e03b1dfc780242740a82974.png)  
 ![image](https://discourse.ladybug.tools/uploads/default/original/2X/b/b1495d3b7080c3c3a9ece754d89f97b612d5b165.png)

---

<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:** [March 26, 2020, 7:20pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/2 "2020-03-26T19:20:13Z")

</div>

You are using an older version of the component. The fixed version should be dated Dec, 04 2019

> <https://github.com/ladybug-tools/honeybee-legacy/pull/737/files>

---

<div class="post-metadata">

**Author:** ![Nimafo](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/n/b19c9b/32.png) [@Nimafo](https://discourse.ladybug.tools/u/Nimafo)\
**Post date:** [March 26, 2020, 9:44pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/3 "2020-03-26T21:44:53Z")

</div>

@mostapha ,  
Thank you for your response,  
I tested the latest version of the component ( _VER 0.0.65(JAN\_01\_2020)_), but I get errors again:

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

---

<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:** [March 26, 2020, 11:35pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/4 "2020-03-26T23:35:16Z")

</div>

@Nimafo, thanks. Can you also clarify what version of OpenStudio do you have installed on your machine?

---

<div class="post-metadata">

**Author:** ![Nimafo](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/n/b19c9b/32.png) [@Nimafo](https://discourse.ladybug.tools/u/Nimafo)\
**Post date:** [March 26, 2020, 11:38pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/5 "2020-03-26T23:38:27Z")

</div>

@mostapha,  
Sure, It is version 2.9.1.

---

<div class="post-metadata">

**Author:** ![Nimafo](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/n/b19c9b/32.png) [@Nimafo](https://discourse.ladybug.tools/u/Nimafo)\
**Post date:** [March 28, 2020, 9:04pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/6 "2020-03-28T21:04:03Z")

</div>

I changed the version of my Open Studio to 2.5 as it has been suggested [here](https://discourse.ladybug.tools/t/ladybug-0-0-67-and-honeybee-0-0-64-release/4473), and now it works fine.

@mostapha thanks for the hint. 🙂

---

<div class="post-metadata">

**Author:** ![miraclema](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/miraclema/32/11597_2.png) [@miraclema](https://discourse.ladybug.tools/u/miraclema)\
**Post date:** [April 5, 2020, 1:09pm UTC](https://discourse.ladybug.tools/t/error-on-re-run-osm-component-1-solution-exception-expected-path-got-str/8898/7 "2020-04-05T13:09:53Z")

</div>

Hi @mostapha , I alse met this error, and after change version from 2.9.1 back to 2.5.0 it is solved. Seems indeed the version is the cause.
