Ladybug sunpath tool not working

Hi All,

This is my first time using ladybug, I have connect to the weather data, however, when I try the sunpath tools, it gives me an error message:

  1. Current document units is in Millimeters
  2. Conversion to Meters will be applied = 0.001
  3. Runtime error (ValueErrorException): math domain error

line 1598, in drawDailyPath, “”
line 1565, in solInitOutput, “”
line 1625, in drawSunPath, “”
line 437, in main, “”
line 713, in script

Could you let me know if you happened to know this please? Thank you very much!

Kind regards,


Hi Henry,

Would you mind sharing your grasshopper file and the 3dm file as well? In the meantime I would try converting your model into meters and see if that fixes anything.

I cant upload the file becasueI’m a new user, but it basically has nothing, just with few batteries and a file document linked.

I think as a new user you are can still upload a pictures (maybe two!). Which component are you using? Also, if you are following a tutorial, you could link that instead and tell us where the error is happening.

Thank you!

this is the tutporial i followed. the steps are exactly but mine didnt work from 5:41

New users cant upload pictures either.

You have to spend some time on the forum reading other posts and searching for similar questions! That will change your status from being a new user and you might also find the answer during the process! :slight_smile:

Try converting units to meter