Hello,
I have installed Networ-manager on ubuntu 12.04 minimal install.
Network Manager add-on is not listing my wireless connections
Try to add this to: /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla:
Action=org.freedesktop.network-manager-settings.*;org.freedesktopesktop.DBus.*
And also add xbmc user to the netdev group
But it did not help.
Here the Debug log:
Code:
15:25:26 T:139779156989696 DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.linux.nm/default.py
15:25:26 T:139779156989696 DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.linux.nm:/home/xbmc/.xbmc/addons/script.module.xbmcswift/lib:/home/xbmc/.xbmc/addons/script.module.pyamf/lib:/usr/share/xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.xmltodict/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.common.plugin.cache/lib:/home/xbmc/.xbmc/addons/script.module.simple.downloader/lib:/home/xbmc/.xbmc/addons/script.module.buggalo/lib:/home/xbmc/.xbmc/addons/script.module.parsedom/lib:/home/xbmc/.xbmc/addons/script.module.xbmcswift2/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:
15:25:26 T:139779156989696 DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.linux.nm
15:25:26 T:139779156989696 DEBUG: Instantiating addon using automatically obtained id of "script.linux.nm" dependent on version 2.0 of the xbmc.python api
15:25:26 T:139779156989696 NOTICE: [SCRIPT] 'script.linux.nm: version 0.1.4' initialized!
15:25:26 T:139780487141248 ERROR: ClearBlock: Trying to clear non existent block /home/xbmc/.xbmc/addons/script.linux.nm
15:25:26 T:139780487141248 DEBUG: ------ Window Init (/home/xbmc/.xbmc/addons/script.linux.nm/resources/skins/default/720p/script_linux_nm-main.xml) ------
15:25:26 T:139780487141248 INFO: Loading skin file: /home/xbmc/.xbmc/addons/script.linux.nm/resources/skins/default/720p/script_linux_nm-main.xml
15:25:26 T:139779156989696 NOTICE: updating list
15:25:26 T:139779156989696 ERROR: ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/NetworkManager/Settings: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=1620 comm="/usr/lib/xbmc/xbmc.bin --standalone ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=861 comm="NetworkManager ")
15:25:26 T:139779156989696 NOTICE: .
15:25:26 T:139779156989696 ERROR: ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=1620 comm="/usr/lib/xbmc/xbmc.bin --standalone ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=861 comm="NetworkManager ")
15:25:26 T:139779156989696 NOTICE: .
15:25:26 T:139779156989696 ERROR: Exception in python script callback execution
15:25:26 T:139779156989696 ERROR: Traceback (most recent call last):
15:25:26 T:139779156989696 ERROR: File "/home/xbmc/.xbmc/addons/script.linux.nm/resources/lib/gui.py", line 39, in onInit
15:25:26 T:139779156989696 ERROR: devlist = qfpynm.list_wifi_devices()
15:25:26 T:139779156989696 ERROR: File "/home/xbmc/.xbmc/addons/script.linux.nm/resources/lib/qfpynm.py", line 169, in list_wifi_devices
15:25:26 T:139779156989696 ERROR: devices = nm_iface.GetDevices()
15:25:26 T:139779156989696 ERROR: File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
15:25:26 T:139779156989696 ERROR: return self._proxy_method(*args, **keywords)
15:25:26 T:139779156989696 ERROR: File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
15:25:26 T:139779156989696 ERROR: **keywords)
15:25:26 T:139779156989696 ERROR: File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
15:25:26 T:139779156989696 ERROR: message, timeout)
15:25:26 T:139779156989696 ERROR: File "/usr/lib/python2.7/dist-packages/dbus/exceptions.py", line 45, in __init__
15:25:26 T:139779156989696 ERROR: if name is not None or getattr(self, '_dbus_error_name', None) is None:
15:25:26 T:139779156989696 ERROR: TypeError
15:25:26 T:139779156989696 ERROR: :
15:25:26 T:139779156989696 ERROR: 'NoneType' object is not callable
Can someone help here. For me it look like some rights missing
CU Online