- Platform information:
- Hardware: Intel Core i5-4570/32 GiB RAM/512 GB SSD/CentOS 7 current
- Java Runtime Environment: Docker image: 2.5.5-snapshot-amd64-debian
- openHAB version: 2.5.5-SNAPSHOT Build #108
Up to this evening my OH2 system had been quite stable running OH 2.5.4-SNAPSHOT Build #78. I stopped docker to update some thing and item files and restarted the system. No errors from the updated thing and item files were reported, but the NGRE failed upon loading the various python modules from automation/jsr223/python/core. I have verified multiple times that everything in my openhab_conf volume is unchanged (I keep a copy in a local git repository.)
I first tried stopping OH, clearing tmp/* and cache/*, then restarted OH – no joy. I tried stopping OH, deleting all files matching *class under openhab_conf/, then restarted OH – still got the errors.
I then thought I would try the latest 2.5.x snapshot (I still have the Docker 2.5.4-SNAPSHOT Build #78, so I can easily revert to that), but I still get the jython core load errors.
Relevant part of openhab log:
2020-05-10 21:13:48.924 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'javascript/core/000_startup_delay.js'
2020-05-10 21:13:50.827 [DEBUG][-thingHandler-3][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:13:50.827 [DEBUG][-thingHandler-2][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:13:51.827 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:13:51.827 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:00.827 [DEBUG][-thingHandler-2][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:00.827 [DEBUG][-thingHandler-1][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:01.828 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:01.828 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:10.828 [DEBUG][-thingHandler-2][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:10.828 [DEBUG][-thingHandler-5][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:11.828 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:11.829 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:19.248 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/000_startup_delay.py'
2020-05-10 21:14:20.828 [DEBUG][-thingHandler-1][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:20.828 [DEBUG][-thingHandler-5][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:21.829 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:21.829 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:30.829 [DEBUG][-thingHandler-5][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:30.829 [DEBUG][-thingHandler-2][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:31.829 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:31.830 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:40.829 [DEBUG][-thingHandler-5][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:40.829 [DEBUG][-thingHandler-3][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:41.830 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:41.830 [DEBUG][905b6-scheduler][bos.internal.handler.LGWebOSTVSocket] - setState new DISCONNECTED - current DISCONNECTED
2020-05-10 21:14:49.273 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/100_DirectoryTrigger.py'
2020-05-10 21:14:49.943 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/100_OsgiEventTrigger.py'
2020-05-10 21:14:50.122 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/100_StartupTrigger.py'
2020-05-10 21:14:50.146 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonBindingInfoProvider.py'
2020-05-10 21:14:50.190 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonExtensionProvider.py'
2020-05-10 21:14:50.221 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonItemChannelLinkProvider.py'
2020-05-10 21:14:50.252 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonItemProvider.py'
2020-05-10 21:14:50.277 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonThingProvider.py'
2020-05-10 21:14:50.307 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonThingTypeProvider.py'
2020-05-10 21:14:50.337 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/core/components/200_JythonTransform.py'
2020-05-10 21:14:50.362 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/aaa_keypad-scenes.py'
2020-05-10 21:14:50.771 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/av-activity.py'
2020-05-10 21:14:50.802 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/coat-closet-lights-handler.py'
2020-05-10 21:14:50.819 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/doorbell.py'
2020-05-10 21:14:50.830 [DEBUG][-thingHandler-2][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.207:3000
2020-05-10 21:14:50.830 [DEBUG][-thingHandler-3][bos.internal.handler.LGWebOSTVSocket] - Connecting to: ws://192.168.1.208:3000
2020-05-10 21:14:50.837 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/fans-delayed-off.py'
2020-05-10 21:14:50.859 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/hot-water-recirc-pump.py'
2020-05-10 21:14:50.878 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/kitchen-pendant-handler.py'
2020-05-10 21:14:50.901 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/scheduled-lights.py'
2020-05-10 21:14:50.921 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/community/update_mode/update_mode.py'
2020-05-10 21:14:50.949 [INFO ][ool-20-thread-1][me.core.service.AbstractWatchService] - Loading script 'python/personal/zzz_motion-lights.py'
jsr223 log:
2020-05-10 21:13:19.590 [DEBUG][aa-47656b127774][ntime.internal.engine.RuleEngineImpl] - Started rule engine
2020-05-10 21:13:49.224 [INFO ][ool-20-thread-1][jsr223.javascript.core.startup_delay] - Checking for initialized context
2020-05-10 21:13:49.237 [INFO ][ool-20-thread-1][jsr223.javascript.core.startup_delay] - Context initialized... waiting 30s before allowing scripts to load
2020-05-10 21:14:19.247 [INFO ][ool-20-thread-1][jsr223.javascript.core.startup_delay] - Complete
2020-05-10 21:14:19.272 [INFO ][ool-20-thread-1][jsr223.jython.core.startup_delay ] - Checking for initialized context
2020-05-10 21:14:19.273 [INFO ][ool-20-thread-1][jsr223.jython.core.startup_delay ] - Context initialized... waiting 30s before allowing scripts to load
2020-05-10 21:14:49.273 [INFO ][ool-20-thread-1][jsr223.jython.core.startup_delay ] - Complete
2020-05-10 21:14:49.943 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/100_DirectoryTrigger.py': TypeError: 'tuple' object is not callable in <script> at line number 21
2020-05-10 21:14:50.122 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/100_OsgiEventTrigger.py': TypeError: 'tuple' object is not callable in <script> at line number 17
2020-05-10 21:14:50.145 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/100_StartupTrigger.py': TypeError: 'tuple' object is not callable in <script> at line number 16
2020-05-10 21:14:50.190 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonBindingInfoProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 19
2020-05-10 21:14:50.220 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonExtensionProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 29
2020-05-10 21:14:50.252 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonItemChannelLinkProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 18
2020-05-10 21:14:50.277 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonItemProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 10
2020-05-10 21:14:50.306 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonThingProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 17
2020-05-10 21:14:50.336 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonThingTypeProvider.py': TypeError: 'tuple' object is not callable in <script> at line number 17
2020-05-10 21:14:50.362 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/core/components/200_JythonTransform.py': TypeError: 'tuple' object is not callable in <script> at line number 19
2020-05-10 21:14:50.771 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/aaa_keypad-scenes.py': TypeError: 'tuple' object is not callable in <script> at line number 14
2020-05-10 21:14:50.802 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/av-activity.py': TypeError: 'tuple' object is not callable in <script> at line number 4
2020-05-10 21:14:50.819 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/coat-closet-lights-handler.py': TypeError: 'tuple' object is not callable in <script> at line number 5
2020-05-10 21:14:50.837 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/doorbell.py': TypeError: 'tuple' object is not callable in <script> at line number 6
2020-05-10 21:14:50.859 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/fans-delayed-off.py': TypeError: 'tuple' object is not callable in <script> at line number 7
2020-05-10 21:14:50.878 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/hot-water-recirc-pump.py': TypeError: 'tuple' object is not callable in <script> at line number 7
2020-05-10 21:14:50.901 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/kitchen-pendant-handler.py': TypeError: 'tuple' object is not callable in <script> at line number 1
2020-05-10 21:14:50.921 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/scheduled-lights.py': TypeError: 'tuple' object is not callable in <script> at line number 6
2020-05-10 21:14:50.948 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/community/update_mode/update_mode.py': TypeError: 'tuple' object is not callable in <script> at line number 25
2020-05-10 21:14:50.972 [ERROR][ool-20-thread-1][ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/python/personal/zzz_motion-lights.py': TypeError: 'tuple' object is not callable in <script> at line number 7
Anyone have any ideas how to get to the bottom of this?