Honeybee - ERROR - Failed to import honeybee_display!

The Rhino and Revit plugin are producing errors. I tried reinstalling both plugins and the issue continues.

Rhino Error:

Failed to load model: System.ArgumentException: Command:
C:\Program Files/ladybug_tools\python\python -m honeybee validate model “D:\MCW_Optimize\hb geometry\2 Room Model.hbjson”
honeybee - ERROR - Failed to import honeybee_display!
Traceback (most recent call last):
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_init_.py”, line 16, in
extensions[name] = importlib.import_module(name)
File “C:\Program Files\ladybug_tools\python\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_display_init
.py", line 2, in
import honeybee_display.extend_honeybee
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_display_extend_honeybee.py”, line 33, in
from honeybee_energy.result.colorobj import ColorRoom as EnergyColorRoom
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_init
.py", line 8, in
import honeybee_energy._extend_honeybee
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_extend_honeybee.py”, line 19, in
from .properties.model import ModelEnergyProperties
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\properties\model.py”, line 18, in
from …construction.dictutil import CONSTRUCTION_TYPES, dict_to_construction,
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\dictutil.py”, line 8, in
from honeybee_energy.construction.air import AirBoundaryConstruction
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\air.py”, line 9, in
from …lib.schedules import always_on
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib\schedules.py”, line 3, in
from ._loadschedules import _schedules, schedule_standards_dict
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 76, in
u_scheds = load_schedules_from_folder(folders.schedule_lib, schedule_type_limits)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 72, in load_schedules_from_folder
load_schedule_object(data[sch_id], loaded_type_limits, scheds)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 42, in load_schedule_object
lock_and_check_schedule(sch_obj)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 32, in lock_and_check_schedule
‘default schedule “{}”.’.format(sch.identifier)
AssertionError: Cannot overwrite default schedule “Always On”.
honeybee - ERROR - Failed to import honeybee_doe2!
Traceback (most recent call last):
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_init
.py", line 16, in
extensions[name] = importlib.import_module(name)
File "C:\Program Files\ladybug_tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_doe2_init
.py", line 1, in
import honeybee_doe2.extend_honeybee_doe2
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_doe2_extend_honeybee_doe2.py”, line 13, in
from .properties.model import ModelDoe2Properties
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_doe2\properties\model.py”, line 11, in
from honeybee_energy.lib.constructionsets import generic_construction_set
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib\constructionsets.py”, line 2, in
from honeybee_energy.constructionset import ConstructionSet
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_init
.py", line 8, in
import honeybee_energy._extend_honeybee
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_extend_honeybee.py”, line 19, in
from .properties.model import ModelEnergyProperties
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\properties\model.py”, line 18, in
from …construction.dictutil import CONSTRUCTION_TYPES, dict_to_construction,
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\dictutil.py”, line 8, in
from honeybee_energy.construction.air import AirBoundaryConstruction
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\air.py”, line 9, in
from …lib.schedules import always_on
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib\schedules.py”, line 3, in
from ._loadschedules import _schedules, schedule_standards_dict
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 76, in
u_scheds = load_schedules_from_folder(folders.schedule_lib, schedule_type_limits)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 72, in load_schedules_from_folder
load_schedule_object(data[sch_id], loaded_type_limits, scheds)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 42, in load_schedule_object
lock_and_check_schedule(sch_obj)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 32, in lock_and_check_schedule
‘default schedule “{}”.’.format(sch.identifier)
AssertionError: Cannot overwrite default schedule “Always On”.
honeybee - ERROR - Failed to import honeybee_energy!
Traceback (most recent call last):
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_init
.py", line 16, in
extensions[name] = importlib.import_module(name)
File "C:\Program Files\ladybug_tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_init
.py", line 8, in
import honeybee_energy._extend_honeybee
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy_extend_honeybee.py”, line 19, in
from .properties.model import ModelEnergyProperties
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\properties\model.py”, line 18, in
from …construction.dictutil import CONSTRUCTION_TYPES, dict_to_construction,
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\dictutil.py”, line 8, in
from honeybee_energy.construction.air import AirBoundaryConstruction
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\construction\air.py”, line 9, in
from …lib.schedules import always_on
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib\schedules.py”, line 3, in
from ._loadschedules import _schedules, _schedule_standards_dict
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 76, in
u_scheds = load_schedules_from_folder(folders.schedule_lib, _schedule_type_limits)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 72, in load_schedules_from_folder
load_schedule_object(data[sch_id], loaded_type_limits, scheds)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 42, in load_schedule_object
lock_and_check_schedule(sch_obj)
File “C:\Program Files\ladybug_tools\python\lib\site-packages\honeybee_energy\lib_loadschedules.py”, line 32, in lock_and_check_schedule
‘default schedule “{}”.’.format(sch.identifier)
AssertionError: Cannot overwrite default schedule “Always On”.
at Core.Utility.ExePythonCommand(String argument, String& results)
at Core.Utility.ValidateModel(String hbJsonPath, Boolean muteSuccess)
at Pollination.RH.Import.Importers.HBJson.Read(RhinoDoc doc, String jsonPath, Action1 updateProgress, FileReadOptions options, List1& errors)
at Pollination.RH.Import.PollinationImport.RunHBjsonImporter(String filename, RhinoDoc doc, FileReadOptions options)

Revit Error

Hi @marentette ,

This is because you have added a schedule into your personal user standards library that is trying to overwrite one of the default schedules that is built into Ladybug Tools (in this case, the “Always On” schedule). I should probably just have the schedule ignored whenever this happens instead of raising a exception but just delete all of the files in:

C:\Users\[USERNAME]\AppData\Roaming\ladybug_tools\standards\schedules

… and everything should work again.

Or you could try to just delete the “Always On” schedule that’s in there if you wanted to keep your other schedules.

@chriswmackey thank you for the quick response!