Myosmc - Networking Add On - Unhandled Exception Caught

Im on a nfsroot install. activating the wired network connection in myosmc’s network addon triggers an Unhandled Exception Caught notification

10:19:16.862 T:1350562560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 'NoneType' object has no attribute 'GetTechnologies' Traceback (most recent call last): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 274, in onInit if not osmc_network.is_wifi_available(): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmc_network.py", line 249, in is_wifi_available return connman.is_technology_available('wifi') File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 9, in is_technology_available if get_technology_info(technology) is not None: File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 25, in get_technology_info technologies = manager.GetTechnologies() AttributeError: 'NoneType' object has no attribute 'GetTechnologies' -->End of Python script error report<-- 10:19:18.956 T:1350562560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 'NoneType' object has no attribute 'GetTechnologies' Traceback (most recent call last): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 476, in onAction elif focused_control == SELECTOR_WIRELESS_NETWORK: self.populate_wifi_panel() File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 1122, in populate_wifi_panel if osmc_network.is_wifi_available(): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmc_network.py", line 249, in is_wifi_available return connman.is_technology_available('wifi') File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 9, in is_technology_available if get_technology_info(technology) is not None: File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 25, in get_technology_info technologies = manager.GetTechnologies() AttributeError: 'NoneType' object has no attribute 'GetTechnologies' -->End of Python script error report<-- 10:19:21.848 T:1350562560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 'NoneType' object has no attribute 'GetTechnologies' Traceback (most recent call last): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 475, in onAction if focused_control == SELECTOR_WIRED_NETWORK: self.populate_wired_panel() File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 587, in populate_wired_panel if osmc_network.is_ethernet_enabled(): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmc_network.py", line 28, in is_ethernet_enabled return connman.is_technology_enabled('ethernet') or not get_nfs_ip_cmdline_value() == None File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 15, in is_technology_enabled if get_technology_info(technology) is not None: File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 25, in get_technology_info technologies = manager.GetTechnologies() AttributeError: 'NoneType' object has no attribute 'GetTechnologies' -->End of Python script error report<-- 10:46:16.360 T:1350562560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 'NoneType' object has no attribute 'GetTechnologies' Traceback (most recent call last): File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 478, in onAction elif focused_control == SELECTOR_TETHERING: self.populate_tethering_panel() File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/networking_gui.py", line 1602, in populate_tethering_panel wifi_tethering = osmc_network.is_tethering_wifi() File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmc_network.py", line 464, in is_tethering_wifi return connman.is_technology_tethering('wifi') File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 69, in is_technology_tethering if get_technology_info(technology) is not None: File "/usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/connman.py", line 25, in get_technology_info technologies = manager.GetTechnologies() AttributeError: 'NoneType' object has no attribute 'GetTechnologies' -->End of Python script error report<--

Thanks for letting us know
It’s not possible to control the Wired Network via My OSMC when using an NFS root installation; as the connection is set up at boot time via initramfs from cmdline parameters.

Well it was always activated in the past in connman was working.
systemctl -l status connman
connman.service - Connman connection service
Loaded: loaded (/lib/systemd/system/connman.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2018-06-23 15:48:24 CEST; 249ms ago
Process: 13045 ExecStopPost=/bin/sleep 2 (code=exited, status=0/SUCCESS)
Process: 13037 ExecStart=/usr/bin/start-network (code=exited, status=1/FAILURE)
Main PID: 13037 (code=exited, status=1/FAILURE)

A post was split to a new topic: Files on USB drives not shpwing