Installing beta from github

Many thanks for the quick reply. The installer component worked, however after reopening Rhino and Grasshopper all HB [+] components give the same error message (see screenshot). I would be very grateful for any suggestion to what might be the issue.
Cheers

What do you see if you double click on the component and run it. That should give you a longer error report with the line number. This is an strange error not sure what is going on. Knowing the error line can help.

Hi Mostapha, I’m a bit of a beginner but I get the same error today. Here is what it looks like when I “test” the python component:

Hi Mostapha, thanks for following up on this. Please see below a screenshot of the error messages. Looks like several of the components did not up-date. Let me know in case you would need the full text error report or file for further diagnosis.
image

@Jan and @Sarahh ,

I think that I might know what the issue is. The update component has, itself, been updated over the last few months. If you drag/drop your (newer) update component onto the canvas, run it again, and restart Rhino/Grasshopper, do you still have that error?

Hi Chris, thanks for looking into this. I tried out what you recommended, however it doesn’t solve the problem. I have attached a screenshot and a copy of the python script of the up-date component after running it. Hope that gives more insides to what might be the issue.

Report_Up-date Honeybee[ ].txt (6.9 KB)

@Jan ,

What’s the error that you are getting on the update component? This is the heart of the reason why everything is not working. I would also recommend only having the update component on the canvas (no other components).

Hi Chris, this what I am getting on a clean canvas:


Ah, sorry that I didn’t notice the error message in your previous post was for the update component.

I also just realized that you are using Rhino 5 and that is the primary reason why it is not working (there are no issues in Rhino 6). It looks like it is coming down to differences in the versions of IronPython between Rhino 5 and Rhino 6. I will try to investigate it now but I can confidently say that using Rhino 6 will fix your issue here.

Ok, I found this issue. Apparently it’s the result of this change that I recently pushed:

I guess this “correct” way of finding the current directory of a file isn’t supported in the (very old) version of IronPython that Rhino 5 uses. I think that I will just revert this change for now and that will fix it. Will post back here once the work is done.

Ok, I finally got to the bottom of it and I have a correction to my previous statement in that I had it backwards. The issue was not because that recent change broke anything but because that change was the right one (which fixes everything) and I had not yet merged it into the official copy of our Python libraries.

Everything is up-to date with our official copies of the libraries now and I have the HB[+] update component working out of Rhino 5 on my end. Please give it another try @Jan and fingers crossed that it should work this time.

It seems to be working for me. Thank you!

As a side note: Super amazed at this community! As a beginner I’m learning a lot from everyone here! :smiley:

Awesome! Thanks for testing, @Sarahh and thanks again for reporting the original issue @Jan .

1 Like

Hi Chris, unfortunately it’s still not working for me, I have just tried on another PC, but still Rhino 5…not sure what is happening, maybe the error is on my side. Until now all up-dates have been working fine so far. Is there a way of installing the up-date manually with a direct download? Just thinking of how to navigate all possible directory issues…

@Jan ,

If you are getting the exact same error, then there is some part of the update process that you are missing (ie. restarting both Rhino + Grasshopper, only running the update component on the canvas, etc.) . If you are getting a different error, then let me know and we can work through it.

Hi Chris, I have followed thru the up-dating process as by your description above, the up-date component is now not throwing out the error message anymore, but after reopening some of the components doesn’t seem to have up-dated and show the following error message:

“Solution exception: pattern must be a string or compiled pattern”

(see screenshot below)

Hi @chris,

Thanks for looking into this. I still have the same issue as @Jan. See the error trace-back below for the HB surf and annual daylight recipe components.

Thanks for letting me know @Jan and @anne_GA . I was able to recreate the issue in Rhino 5 but, again, I can confirm that updating to Rhino 6 will fix the issue.

The error that you get now in Rhino 5 is the result of code in the older honeybee radiance library, which @mostapha developed so I am assigning the issue to him.

Hi @anne_GA and sorry for the very late reply.

I cannot recreate the error locally on Rhino 5 which suggests updating Rhino should solve your problem. In any case I pushed a fix to honeybee repository which should also work with older versions of IronPython. Try updating again and the issue should be resolved.

Hi @mostapha,

Thanks for your reply. I’ve updated the components again and the error I had before has gone! However, I do still have the same scattered plot results as in this post: HB[+] Daylight Autonomy incorrect scattered results

I’m using Rhino 5.0 SR14. According to the checker in Rhino it’s the latest stable release.