I’m still fighting with some problems I have during my openhab startup.
If I start openhab I can see a error message like that
Error during evaluation of script 'file:/dataDisk/openhab-runtime/conf/automation/jsr223/auto.py': TypeError: can't set attributes of built-in/extension type 'NoneType' in <script> at line number 3
this line contains my first import statement.
If I wait 1-3 minutes and touch this file again, everything works fine. For me this looks like, that something is not ready and the python initialization comes to early.
@Kai explained some times ago that in openhab everything is loaded asynchronous. That fine, but if some root dependencies are not available it can’t be the answer or solution. It can’t be handled in a good way. Or what is the official recommendation for that.
Just a side fact. I’m running my openhab on a Intel atom processor with hundreds of items. So the startup really takes a while. Mostly more then 2 minutes. During this time all 4 cores are at 100%
and I’m using openhab 2.3