honeybee-dynamo icon indicating copy to clipboard operation
honeybee-dynamo copied to clipboard

Issue with sample files - Local variable 'combs' referenced before assignment.

Open giovanniconsiglio opened this issue 6 years ago • 2 comments

Hi All,

I'm getting a error in the "Annual Daylight Metrics" node of the sample file 06_daylight_coefficient_gridbased.

image

ERROR: Local variable 'combs' referenced before assignment.

If you think this is a bug submit an issue on github. https://github.com/ladybug-tools/honeybee-dynamo/issues and include below error message:

Traceback (most recent call last): File "", line 21, in File "C:\Users\giovanni\AppData\Roaming\Dynamo\Dynamo Revit\2.0\packages\Honeybee\extra\honeybee\radiance\analysisgrid.py", line 739, in parse_blind_states return self.analysis_points[0].parse_blind_states(blinds_state_ids) File "C:\Users\giovanni\AppData\Roaming\Dynamo\Dynamo Revit\2.0\packages\Honeybee\extra\honeybee\radiance\analysispoint.py", line 945, in parse_blind_states return combs UnboundLocalError: Local variable 'combs' referenced before assignment.

I got similar errors with other nodes in others sample file. What I'm doing wrong?

Many thanks,

Regards, Giovanni

giovanniconsiglio avatar Jun 24 '19 10:06 giovanniconsiglio

PS. The ERROR Message is when I try to give a list of int to minmax input. When I leave it empty I get null

giovanniconsiglio avatar Jun 24 '19 11:06 giovanniconsiglio

Thank you for reporting this. The Dynamo packages need some real attention. I'll address the issue when we update the packages.

mostaphaRoudsari avatar Jul 12 '19 13:07 mostaphaRoudsari