Closed kovacsi2899 closed 4 years ago
Why open another issue?
Duplicate of #297.
Can you give me a link where should I open it? I can't give a tag and I hasn't found standalone repository.
Sorry! Thought you were familiar with the openHAB forum... https://community.openhab.org/.
Yes I am familiar with it: https://community.openhab.org/t/windows-using-extra-java-opts/75624/4 but my issue is still the same. I have installed 2.5R1 and no change so I used this workarond: https://community.openhab.org/t/windows-all-oh-logs-stop-when-jython-is-in-the-classpath/79654/21 but the problem is when any Phyton or Jythone rules are starting none of the libraries are loaded. I get such error messages: Error during evaluation of script 'file:/C:/openHAB2/conf/automation/jsr223/python/personal/hello_world.py': ImportError: No module named core in Githubissues.
I set up everything based on instructions. Javascript rules are working, but Groovy and Python rules are not loading with following error message in openhab.log :
last 3 lines are setnev.bat: set JAVA=%JAVA_HOME%\bin\java set EXTRA_JAVA_OPTS=-Xbootclasspath/a:C:\openhab2\conf\automation\jython\jython-standalone-2.7.0.jar -Dpython.home=C:\openhab2\conf\automation\jython -Dpython.path=C:\openhab2\conf\automation\lib\python :Check_JAVA_END
I have also added as windows enviroment variable, but it does not work. I think problem is that jython-standalone-2.7.0.jar is not loaded or rule engine can't access.
here is log of ruleengine startup: OH_Restart_Ruleengine.log