Jython scripts are not longer executed

  • Platform information:
    • Hardware: Raspberry Pi 4
    • OS: openHabian 3.1.0

I guess after a necessary reboot my Jython Script / Rule not executed anymore. I was not able to determine this immediately, as the script checks item values and only notifies me by e-mail if they are missing. Only when I now realized that there are no item values, I also noticed that the script no longer runs.

I see this error message on manual run as well as on scheduled run started by trigger (cron):
[ERROR] [ipt.internal.ScriptEngineManagerImpl] - ScriptEngine for language 'application/python' could not be created for identifier: cc209d11-355c-44a7-8b5f-11efbb4bb38c
I reinstalled the Automation Jython Add-ON, but the error remains.

I then try to create a new rule with Jython script, but when I select “Add Action”->“Run Script” I don’t get Jython displayed.

What can I do to get my script that has been working for months to start again?

No one there with an idea?

OK. I fixed it.

  • I first uninstalled the Automation Add-On “Jython Scripting”
  • Reboot of my RasPi.
  • Executed the rule
    Result - Error message as before
  • Installed Jythons Scripting
    Result: Script is executed again and Jython is available as selection point and create script again.