Haven’t ran these in a bit: using most up to date install: Also using OS 3.3.0; most up to date version of other dependencies as well
Runtime error (DirectoryNotFoundException): Could not find a part of the path 'C:\comfosims\pmv_comfort_map\__logs__\logs.log'.
Traceback:
line 353, in luigi_execution_summary, "C:\Users\TREVOR\ladybug_tools\python\Lib\site-packages\lbt_recipes\recipe.py"
line 372, in failure_message, "C:\Users\TREVOR\ladybug_tools\python\Lib\site-packages\lbt_recipes\recipe.py"
line 168, in script
Traceback (most recent call last):
File "c:\users\trevor\ladybug_tools\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\trevor\ladybug_tools\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\TREVOR\ladybug_tools\python\Scripts\queenbee.exe\__main__.py", line 4, in <module>
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\cli\__init__.py", line 14, in <module>
from .plugin import main as plugin
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\cli\plugin\__init__.py", line 1, in <module>
from .new import new
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\cli\plugin\new.py", line 4, in <module>
from ...plugin import Plugin
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\plugin\__init__.py", line 1, in <module>
from .plugin import Plugin
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\plugin\plugin.py", line 10, in <module>
from .function import Function
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\plugin\function.py", line 6, in <module>
from ..io.inputs.function import FunctionInputs
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\queenbee\io\inputs\function.py", line 9, in <module>
from jsonschema import validate as json_schema_validator
File "c:\users\trevor\ladybug_tools\python\lib\site-packages\jsonschema\__init__.py", line 34, in <module>
__version__ = metadata.version("jsonschema")
File "c:\users\trevor\ladybug_tools\python\lib\importlib\metadata.py", line 531, in version
return distribution(distribution_name).version
File "c:\users\trevor\ladybug_tools\python\lib\importlib\metadata.py", line 504, in distribution
return Distribution.from_name(distribution_name)
File "c:\users\trevor\ladybug_tools\python\lib\importlib\metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: jsonschema
Runtime error (DirectoryNotFoundException): Could not find a part of the path '\\comfort_map\__logs__\logs.log'.
Traceback:
line 345, in luigi_execution_summary, "C:\Users\TREVOR\ladybug_tools\python\Lib\site-packages\lbt_recipes\recipe.py"
line 364, in failure_message, "C:\Users\TREVOR\ladybug_tools\python\Lib\site-packages\lbt_recipes\recipe.py"
line 171, in script
From the line that things are failing on, it seems like you have an older version of lbt-recipes installed. Can you try re-running the LB Versioner and restarting Rhino?
If the issue persists, do you have a file that can recreate the issue?
Hi @chris I’ve ran the visioner a couple times: both explicitly stating 1.3.0, and one with no version stated: and then installed OS 3.3.0 from the compatibility matrix.
Running your most up to date Gh sample for comfort mapping: on my machine the issue persists regardless of the version I’ve updated / backdated to (there’s got to be a better word than ‘backdated’ lol):
Then updating/backdating components on the sample script if needed:
I’m fairly certain at this point I’ve just got something wonkey happening on my machine
This sounds right as I can’t recreate the error on my end and I would assume this error message means that all of the HB-Radiance recipes are broken on your machine. The best course of action at this point is probably to completely uninstall and then reinstall Ladybug Tools. That should probably clear up whatever is going wrong with your core libraries here.
Sounds good,
There couldn’t possibly be a disparity between PO tools and OG LBT (1.x not legacy) tooling libraries could there?
That’s the only thing I could think of that may possibly be causation: a versioning disparity on my machine that is my fault?
Other than that: will uninstall-reinstall when I get home from the dayjob
Hm, it’s possible that this could be it. If uninstalling doesn’t fix it, then I suggest looking at what you get when you run the following inside a GHPython component:
In case someone stumbles upon this issue, I have faced it recently, it’s an ugly one. It took me a while to figure out what was going on. I thought the error was in radiance as everything else in HB works apart from the Radiance-based recipes.
This is a problem somewhere between the recipe versions and the library versions, and I wasn’t able to fix it via versioner. The way to go was to:
uninstall entirely ladybug by deleting the folder users\ladybug_tools\
reinstall using the .gh installer provided by ladybug.