Hi @mostapha,
Further to this update, i’ve been experiencing the same issue as Theodore here .
The hbsurface component is printing:
- Solution exception:“fromGeometries” method can only be used in [+] libraries.
Hi @mostapha,
Further to this update, i’ve been experiencing the same issue as Theodore here .
The hbsurface component is printing:
How did you update the installation? Make sure your __init__.py
file looks like this file:
https://github.com/ladybug-tools/honeybee-grasshopper/blob/master/honeybee/__init__.py
"""Honeybee grasshopper library."""
import sys
import os
_dependencies = ('ladybug',)
for lib in _dependencies:
if lib not in sys.modules:
sys.path.insert(
0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
try:
__import__(lib)
except ImportError as e:
raise ImportError('Failed to import {}:\n\t{}'.format(lib, e))
# This is a variable to check if the library is a [+] library.
setattr(sys.modules[__name__], 'isplus', True)
All is working with the following steps, I’m posting this as it may be helpful for new users who wish to update in between releases.
Further to installing the stable release of HB+ from food4rhino;
I’ve replaced userobjects from
C:\Users\OlivierDambron\AppData\Roaming\Grasshopper\UserObjects\HoneybeePlus
with
https://github.com/ladybug-tools/honeybee-grasshopper/tree/master/plugin/grasshopper/userObjects
and from
C:\Users\OlivierDambron\AppData\Roaming\Grasshopper\UserObjects\LadybugPlus
with
https://github.com/ladybug-tools/ladybug-grasshopper/tree/master/plugin/grasshopper/userObjects
I’ve replaced the scripts from
C:\Users\OlivierDambron\AppData\Roaming\McNeel\Rhinoceros\5.0\scripts\honeybee
with
https://github.com/ladybug-tools/honeybee/tree/master/honeybee
and copied these additionally
https://github.com/ladybug-tools/honeybee-grasshopper/tree/master/honeybee
and replaced the scripts from
C:\Users\OlivierDambron\AppData\Roaming\McNeel\Rhinoceros\5.0\scripts\ladybug
with
https://github.com/ladybug-tools/ladybug/tree/master/ladybug
and copied these additionally
https://github.com/ladybug-tools/ladybug-grasshopper/tree/master/ladybug
cheers,
… or updating with the HB+_HBInstaller, which will do the job much more easy
-A.
oops, I had not seen the latest replies from Honeybee SystemError Could not create SSL/TLS secure channel . Thanks.
where do I get that installer? to update HB+ and Ladybug
you can boolean_true_update