2017-07-06 22:01:23.732 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'harmony.rules' is either empty or cannot be parsed correctly!
2017-07-06 22:01:23.748 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'harmony.rules'
All rules inside that rule-file do work. There are no strange encodings in it and not tabs or something like that :-/.
And i get this for all rules i touch…
But again: they work.
Example code for harmony.rules:
rule "BeamerAnDurchLeinwand"
when
Item Leinwand received command ON
then
logInfo("Harmony", "Beamer einschalten wegen Leinwand")
JVC.sendCommand("PowerOn")
end
rule "BeamerausDurchLeinwand"
when
Item Leinwand received command OFF
then
logInfo("Harmony", "Beamer ausschalten wegen Leinwand")
JVC.sendCommand("PowerOff")
end
Any tipps for me? :-(…
I regret that I did that update
It’s a known annoyance that occurs when using some editors. I think what is happening is that a file change event gets triggered when the editor starts to save the file which triggers OH to try and read it. But the editor is not done saving the file so OH fails to parse the file resulting in the error. Then another file change event gets sent when the editor completes writing the file and this time OH successfully loads it because now the full file is there.
My only suggestion is to ignore it and watch the SNAPSHOTS for this to be fixed, or choose a different file editor.