Kodi and other items not showing value and not working

Hi,

My kodi and astro items don’t have a value
On my sitemap text items are empty rules don’t react on the play /pause status of kodi binding

My event.log show i.e.:

2017-03-10 19:31:01.788 [ItemStateChangedEvent     ] - E1KODI_Control changed from PLAY to PAUSE
2017-03-10 19:31:01.789 [ItemStateChangedEvent     ] - E1KODI_MediaType changed from video to 
2017-03-10 19:31:22.086 [ItemStateChangedEvent     ] - E1KODI_Control changed from PAUSE to PLAY
2017-03-10 19:31:22.087 [ItemStateChangedEvent     ] - E1KODI_MediaType changed from  to video
2017-03-10 19:33:36.785 [ItemStateChangedEvent     ] - E1KODI_Control changed from PLAY to PAUSE
2017-03-10 19:33:36.786 [ItemStateChangedEvent     ] - E1KODI_MediaType changed from video to 

it has worked in the past, but after a restart of openhab2 it stopt.

i don’t know how to diagnose this error

Below a part of my log file
any help or ideas are appreciated

2017-03-10 20:35:53.940 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Sunrise_Time' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.940 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Sunrise_Time' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Sunset_Time' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Sunset_Time' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_mute' for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_mute' for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_volume' for widget org.eclipse.smarthome.model.sitemap.Slider
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_volume' for widget org.eclipse.smarthome.model.sitemap.Slider
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Slider
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_control' for widget org.eclipse.smarthome.model.sitemap.Selection
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_control' for widget org.eclipse.smarthome.model.sitemap.Selection
2017-03-10 20:35:53.942 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Selection
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_stop' for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_stop' for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_title' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_title' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_showtitle' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_showtitle' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_album' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_album' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.944 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_artist' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_artist' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_playuri' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_playuri' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_notification' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.945 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_notification' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_input' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_input' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_inputtext' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_inputtext' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_systemcommand' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_systemcommand' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_mediatype' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'myKodi_mediatype' for widget org.eclipse.smarthome.model.sitemap.Text
2017-03-10 20:35:53.947 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

I sometimes see this error if the items files are not loaded yet, but the sitemap is already used by a client or rules already have been triggered. This usually goes away after the items files are loaded. If the error persists, i would first check the openhab log if the items file has been loaded. Look for lines “Loading model ‘filename.items’”

I found the problem

removing the line below solved it

Player Kodi_State "Kodi State [%s]" {channel=kodi:kodi:740d21d3:control"}

everything below this line was skipped by openhab

Glad you got it working.
Out of curiosity: Are you editing your files under Windows and then transferring them to a linux box?

Hi Oliver,

Yes, i use a Windows machine to connect to a smb share on a Linux box. , And I use smarthome designer to edit the files

The problem might be the " at the end of the binding definition. This started a new string which never ends in this line…

now that you mention it. It think you are right
Most of the time it’s the little things you overlook.
Thx