# Dynamo sunpath component doesn't work

**URL:** <https://discourse.ladybug.tools/t/dynamo-sunpath-component-doesnt-work/1609>\
**Category:** ladybug\
**Tags:** sunpath\
**Created:** [January 10, 2017, 9:29am UTC](https://discourse.ladybug.tools/t/dynamo-sunpath-component-doesnt-work/1609 "2017-01-10T09:29:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qinheng](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/qinheng/32/111_2.png) [@Qinheng](https://discourse.ladybug.tools/u/Qinheng)\
**Post date:** [January 10, 2017, 9:29am UTC](https://discourse.ladybug.tools/t/dynamo-sunpath-component-doesnt-work/1609/1 "2017-01-10T09:29:00Z")

</div>

I’m trying to learn ladybug for dynamo, and when I used the sunpath component, it’s fine when turned off the annual sunpath, but got error when turned it on. I just used the sample file in the package. Any one can help?

![](https://discourse.ladybug.tools/uploads/default/original/2X/4/4c24e80257d480255ab70a67b80188c3c3ba39e3.JPG)

[01\_sunpath.dyn](https://discourse.ladybug.tools/uploads/default/original/2X/e/e98368969a795a67f11f8b2dc26e869bd32aca05.dyn) (12 KB)

---

<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:** [January 15, 2017, 4:25pm UTC](https://discourse.ladybug.tools/t/dynamo-sunpath-component-doesnt-work/1609/2 "2017-01-15T16:25:00Z")

</div>

Hi Qinheng,

You should have probably posted this question to Dynamo forum but in any case I just opened your file with the latest version of ladybug for dynamo and it works with no issues. Just try to update ladybug.

[![](http://api.ning.com:80/files/9M8ZSgZ5BuVWXURHSq50-kwCeMEcyTMGFV1X*c761WValNm8UMR5oIlCWosGNTl9hyeXt8jI4Tnc5GA9rf7BjnPbCzuNroaA/dynamo_sunpath.PNG?width=721)](http://api.ning.com:80/files/9M8ZSgZ5BuVWXURHSq50-kwCeMEcyTMGFV1X*c761WValNm8UMR5oIlCWosGNTl9hyeXt8jI4Tnc5GA9rf7BjnPbCzuNroaA/dynamo_sunpath.PNG)
