Some menu items blank and can't navigate some edit menus

I came across an odd issue today on a fairly new Vero 4K+

Setup is:

  • Latest OSMC, fully up to date
  • PlexKodiConnect
  • Logitech Harmony Elite connected through Harmony Hub via Bluetooth
  • 2 user profiles
  • Second user profile logged in as a different PlexKodiConnect home user
  • Skin Shortcuts installed

While setting it up, I removed some items from the main menu, and was trying to add a new item. While customising the main menu, if i try to add a widget or add a new menu item then set the location, the location/selection browser doesnt appear to work. It registers remote navigation (I can hear the audio triggers) but does nothing. It won’t let me nav up, down, deeper, etc… only ‘go back’.

When I load the chooser/selection window, I get this in the kodi.log file:

2022-01-01 18:24:52.551 T:2631     INFO <general>: Loading skin file: /usr/share/kodi/addons/skin.osmc/xml/DialogSelect.xml, load type: LOAD_ON_GUI_INIT
2022-01-01 18:24:52.600 T:2631  WARNING <general>: Trying to add unsupported control type 17
2022-01-01 18:24:52.606 T:2631    ERROR <general>: Skipped 1 duplicate messages..
2022-01-01 18:24:52.606 T:2631    ERROR <general>: Control 3 in window 13002 has been asked to focus, but it can't

When I load Customise main menu, the following is logged:

2022-01-01 18:27:09.655 T:4044     INFO <general>: initializing python engine.
2022-01-01 18:27:11.758 T:2631     INFO <general>: Loading skin file: /usr/share/kodi/addons/skin.osmc/xml/script-skinshortcuts.xml, load type: LOAD_ON_GUI_INIT
2022-01-01 18:27:11.887 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 500
2022-01-01 18:27:11.888 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 111
2022-01-01 18:27:11.889 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 306
2022-01-01 18:27:11.890 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 309
2022-01-01 18:27:11.928 T:4046    ERROR <general>: GetDirectory - Error getting /home/osmc/.kodi/userdata/profiles/Seconduser/library/music
2022-01-01 18:27:12.049 T:4046    ERROR <general>: GetDirectory - Error getting upnp://

When I load ‘manage widgets’ under TV I get

2022-01-01 18:29:06.227 T:2631     INFO <general>: Loading skin file: /usr/share/kodi/addons/skin.osmc/xml/script-skinshortcuts.xml, load type: LOAD_ON_GUI_INIT
2022-01-01 18:29:06.329 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 500
2022-01-01 18:29:06.329 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 111
2022-01-01 18:29:06.330 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 306
2022-01-01 18:29:06.330 T:4044    ERROR <general>: EXCEPTION: Non-Existent Control 309

So I tried a reboot to fix it, and then I found I was getting some randomly blank menu items. Seems a few other people had that in past versions. I did also see a mention in one dev thread that a blank menu item bug had been fixed. Some mentioned that this happens sometimes with secondary profiles.

I rebooted a couple of times to see if I could get it to clear, and it wouldn’t. Then I tried logging out the secondary user and logging back in, and that seemed to fix it.

Just wondering if either of these are current known bugs?

This is due to a bug that was unfortunately missed when pushing the last update… We’ve got a fix ready for this. We’d appreciate it if you could test this and provide feedback. To test this:

  1. Login via the command line
  2. Run the following command to add the staging repository:
    echo 'deb http://apt.osmc.tv buster-devel main' | sudo tee /etc/apt/sources.list.d/osmc-devel.list
  3. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  4. Your system should have have received the update.

Please see if the issue is resolved.

I also recommend you remove /etc/apt/sources.list.d/osmc-devel.list after updating.

I’d also recommend you deactivate the staging repository. You can do so with the following command:
sudo rm /etc/apt/sources.list.d/osmc-devel.list.

Please note that we will automatically disable this update channel after 14 days on your device in case you forget to do so to ensure that your system reverts to the stable update channel.

Hi @Chillbo

Thanks, I followed your instructions and installed the updates.

The following NEW packages will be installed:
  vero364-image-4.9.113-61-osmc:arm64
The following packages will be upgraded:
  mediacenter-skin-osmc vero364-kernel-osmc:arm64

It has fixed one of the two problems. I can now navigate in the source selection dialogue. Though the same messages still appear in the kodi.log that I posted in the original post.

The other issue regarding using the second profile and random menu items disappearing or not showing is still present. Though I can work around that by logging out the secondary user, then logging back in again. Then it appears fine.

Navigating around and customising the widgets after the fix, I do notice this showing up in the logs, not sure if it’s related or an issue or not, just thought I’d mention it:

2022-01-02 18:13:53.849 T:4755  WARNING <general>: CPythonInvoker(44, /home/osmc/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): the python script "/home/osmc/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon9xbmcaddon5AddonE

I’m having this problem and currently cannot edit any widgets. It does the menu ‘freeze’ where only back works. Will the next update fix it?

It will. The update should be around the corner.

1 Like