Unhandled exception when manually setting up network

Installed OSMC on my raspberry pi 3 B+. Needed to manually set an IP address but when i did so using My OSMC’s networking settings, an error appeared: unhandled exception please check log.

Found the exception:

2026-04-06 07:12:33.772 T:468 debug : ProcessMouse: trying mouse action leftclick
2026-04-06 07:12:33.792 T:569 debug : script.module.osmcsetting.networking[networking_gui] : Unhandled Exception thrown in Networking GUI
Traceback (most recent call last):
File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/networking_gui.py”, line 425, in onClick
self.handle_wired_selection(controlID)
File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/networking_gui.py”, line 1034, in handle_wired_selection
osmc_network.apply_network_changes(self.current_network_config,
File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/osmc_network.py”, line 169, in apply_network_changes
service.SetProperty(‘IPv4.Configuration’, ipv4_configuration)
File “/usr/lib/python3/dist-packages/dbus/proxies.py”, line 72, in call
return self._proxy_method(*args, **keywords)
File “/usr/lib/python3/dist-packages/dbus/proxies.py”, line 141, in call
return self._connection.call_blocking(self._named_service,
File “/usr/lib/python3/dist-packages/dbus/connection.py”, line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: net.connman.Error.NotSupported: Not supported

wireless adapter and bluetooth are off, all updates are installed. any way to fix this?

also found this in the log

2026-04-06 07:11:27.377 T:569 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <class ‘PermissionError’>
    Error Contents: [Errno 13] Permission denied: ‘/etc/default/crda’
    Traceback (most recent call last):
    File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/networking_gui.py”, line 359, in onInit
    self.set_crda_region_code()
    File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/networking_gui.py”, line 1838, in set_crda_region_code
    self._set_crda_region_code()
    File “/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/networking_gui.py”, line 1827, in _set_crda_region_code
    with open(self._crda_file, ‘w’, encoding=‘utf-8’) as file_handle:
    PermissionError: [Errno 13] Permission denied: ‘/etc/default/crda’

Little bitty out of context chunks of the log are unlikely to help much. You really need to turn on debug logging, duplicate the issue, then use the myOSMC app to upload that log and post the link it creates here.

https://paste.osmc.tv/wihatizaxa.xml osmc itself said “could not retrieve URL” so i copied to sd card then pasted on the website myself

Did you use pre-seeding networking in the OSMC installer or a fresh install?

Sam

fresh install

Ended up changing the ip using connman from this post: Impossible to change static ip in wired connection - #45 by JimKnopf

1 Like