(In reply to comment #0)
> Jun 5 08:00:19 ubuntu ubiquity[3109]: dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.UnknownMethod: Method "AddAndActivateConnection"
> with signature "a{sa{sv}}ss" on interface "(null)" doesn't exist
For D-Bus calls to be reliable, you should specify an interface (use dbus_interface=... in the call, or call the method via a dbus.Interface wrapper). I don't know whether that's what causes this signature mismatch or not, though; it's just best-practice.
When you introspect the object represented by self.manager, what do you get? (To find out, run "gdbus introspect --system -d org.freedesktop.NetworkManager -o /org/freedesktop/NetworkManager -x", assuming self.manager represents the /org/freedesktop/NetworkManager object on org.freedesktop.NetworkManager on the system bus.) I get this, among other things:
(In reply to comment #0) .DBusException: .DBus.Error. UnknownMethod: Method "AddAndActivate Connection"
> Jun 5 08:00:19 ubuntu ubiquity[3109]: dbus.exceptions
> org.freedesktop
> with signature "a{sa{sv}}ss" on interface "(null)" doesn't exist
For D-Bus calls to be reliable, you should specify an interface (use dbus_interface=... in the call, or call the method via a dbus.Interface wrapper). I don't know whether that's what causes this signature mismatch or not, though; it's just best-practice.
When you introspect the object represented by self.manager, what do you get? (To find out, run "gdbus introspect --system -d org.freedesktop .NetworkManager -o /org/freedeskto p/NetworkManage r -x", assuming self.manager represents the /org/freedeskto p/NetworkManage r object on org.freedesktop .NetworkManager on the system bus.) I get this, among other things:
... ivateConnection "> object" type="o" direction="in"/> connection" type="o" direction="out"/>
<method name="AddAndAct
<arg name="connection" type="a{sa{sv}}" direction="in"/>
<arg name="device" type="o" direction="in"/>
<arg name="specific_
<arg name="path" type="o" direction="out"/>
<arg name="active_
</method>
...