There’s some more lines of information to the error, they are the following:
"Runtime error (EntryPointNotFoundException): Unable to find an entry point named ‘CSharp_OpenStudio_toPath__SWIG_0’ in DLL ‘openstudio_csharp.dll’.
Traceback:
line 13, in _os_path_ironpython, “C:\Program Files\ladybug_tools\python\Lib\site-packages\honeybee_openstudio\openstudio.py”
line 157, in to_openstudio_sim_folder, “C:\Program Files\ladybug_tools\python\Lib\site-packages\honeybee_energy\run.py”
line 42, in assign_epw_to_model, “C:\Program Files\ladybug_tools\python\Lib\site-packages\honeybee_openstudio\simulation.py”
line 243, in script"
It may be unrelated but it seemed to start happening after installing Pollination for Rhino. Previously I just had Pollination for GH and it worked fine. I checked unistalling the Rhino version of Pollination and re-installing just the GH version but I got the same error message.
Currently using:
Rhino 8.21
GH 1.0
Pollination 1.65.10
A couple of other similar (unresolved) topics would be the following:
Possibly by some antivirus software? Or perhaps your version of windows is so old that it’s unable to load some aspect of the OpenStudio DLL.
Is this a computer you own or the computer of someone else for which an IT department has installed their own things to block potentially unwanted software?
Also, what version of Windows are you running?
I can give you a way to possibly hack around the issue but it would be nice if we can first identify the reason for your system being unable to load the OpenStudio C# SDK bindings to see if there’s a more elegant solution.
Is your Windows operating system 64 bit or 32 bit?
If it is 32-bit, then we have identified the problem and I can probably add an extra check to be sure that the bitness matches between your Operating System and the OpenStudio C# bindings before we try to load them.
Currently in Windows 11 in my own personal computer.
In addition to the sample file I previously attached, I was also working with a definition that had some components from the Legacy version. I noticed that the attached sample file was working well until I tried to run the the other file that had Legacy things. The “hybrid” file started working after disabling the things from the Legacy version. It seems that to be working as expected now.