OSM simulation error 1. Solution exception:Local variable 'shd' referenced before assignment

Hi everyone,

I have this error using Ladybug 1.5.0

and this is the error I have when I launch ‘hb to OSM’ definition:

Runtime error (UnboundLocalException): Local variable ‘shd’ referenced before assignment.

line 1060, in add_autocal_properties_to_dict, “C:\Users\XXXX\ladybug_tools\python\Lib\site-packages\honeybee_energy\properties\model.py”
line 187, in script

I can’t install latest version as I have IT restriction and the new version hasn’t been approved yet,
and I checked the geometry, it looks ok and works for the daylighting. Is there anything i shall check?


p.s. apologies seems like I can’t link any images or definition as being new user.