ladybug-tools / honeybee-dynamo

:honeybee: :blue_book: Honeybee library and plugin for Dynamo
GNU General Public License v3.0
17 stars 8 forks source link

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

Open giovanniconsiglio opened 5 years ago

giovanniconsiglio commented 5 years ago

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 commented 5 years ago

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

mostaphaRoudsari commented 5 years ago

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