I’m trying to learn more and more about the great capabilities of HB an LB. Unfortunately sometimes I remain stuck because of some issues.
Right now I’m having a problem with the Annual daylight simulation component. While for the other simulations I easily change working directory according to the computer path, I cannot do that with this component.
Then can you go to the folder (C:\ladybug\SampleOfficeRoomAnnual\annualSimulation), open both .bat files (“C:\ladybug\SampleOfficeRoomAnnual\annualSimulation\SampleOfficeRoomAnnual_InitDS.bat” and “C:\ladybug\SampleOfficeRoomAnnual\annualSimulation\SampleOfficeRoomAnnual_0_DS.bat”) add the word “pause” at the end of the file and run them respectively?
I am having the same issue of the component reporting “Can’t find the results for the study” even though the .ill files are actually appearing in the working directory. After digging quite deep into why this is happening, I have found out that the Honeybee function isTheStudyOver fails to report that the study is actually still running, meaning, that it returns “yes, it’s over” even though all the cmd windows are still open. And that happens because the proc.stdout simply does not contain any records.
An interesting point is that the same GH file runs fine on all computers in our studio except the one which has Windows 10 installed. Other than that I cannot find any differences between the different computers and why it would not run on one of them.
Does anybody know if win10 is actually the problem here or if I am missing some other reason for this problem?
the problem does not depend on the case - even the simplest test does not work and even the most complex setup works on other computers. And yes, I have the latest version, updated it this morning, changed components on the canvas and still the same issue. I’ve modified the code in isTheStudyOver like this to get more information printed:
and after running a test I get these things printed out:
(the cmd windows all open and running in the meantime).
As you can see the stdout does not get any line printed and the function returns after 0.3s without registering any activity…