AssertionError in Honeybee+


#1

I am running a daylight study for the UDI, and have used this script many times, but I have recently been getting an “AssertionError” on the Annual Daylight Metrics component after I have run the analysis. I am not sure what is causing it and have triple checked all of my geometry. I screenshot of the error message is below. Any ideas how to fix this? Thanks.

  1. Solution exception:AssertionError


#2

@msilver ,

Here is the line where the error is coming from:

It seems that you have more than one analysis result file for this study (it looks like at least two .ill files are being added according to the simulation report).

If you can upload a definition that recreates the issue, we can get a better sense of what is going wrong.


#4

Thanks @chris for the quick reply. I noticed that it seemed to be trying to pull two files in, but I am unsure why.

It has happened on a few files, the one I am uploading is a test file that also has the error coming up. Thanks!
UDI_testUpload.gh (528.9 KB)


#5

Thanks @msilver for updating the file. I will check your file tomorrow.


#6

This should fix it:

Update Honeybee[+] installation and try again.


#7

Thanks @mostapha, it works now!