• Frédéric Danis's avatar
    tests: Fix variant_from_dbus() for arrays of UInt32 · 9a71d7d2
    Frédéric Danis authored
    Using test-networkmanager-servic.py, I get the following error when
    trying to add manual config with a dns address:
    
        Error: g-io-error-quark: Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
            retval = candidate_method(self, *args, **keywords)
          File "tools/test-networkmanager-service.py", line 1727, in AddConnection
            return self.add_connection(con_hash)
          File "tools/test-networkmanager-service.py", line 1731, in add_connection
            con_inst = Connection(self.c_counter, con_hash, do_verify_strict)
          File "tools/test-networkmanager-service.py", line 1601, in __init__
            NmUtil.con_hash_verify(con_hash, do_verify_strict=do_verify_strict)
          File "tools/test-networkmanager-service.py", line 497, in con_hash_verify
            BusErr.raise_nmerror(e)
          File "tools/test-networkmanager-service.py", line 419, in raise_nmerror
            raise e
        Exception: Unsupported value ipv4.dns = dbus.Array([dbus.UInt32(168430090L), dbus.UInt32(218893066L)], signature=dbus.Signature('u'), variant_level=1) (Cannot convert array element to type 'u': Must be number, not Variant)
    
    https://mail.gnome.org/archives/networkmanager-list/2019-March/msg00013.html
    9a71d7d2
Name
Last commit
Last update
clients Loading commit data...
contrib Loading commit data...
data Loading commit data...
dispatcher Loading commit data...
docs Loading commit data...
examples Loading commit data...
introspection Loading commit data...
libnm Loading commit data...
libnm-core Loading commit data...
libnm-glib Loading commit data...
libnm-util Loading commit data...
m4 Loading commit data...
man Loading commit data...
po Loading commit data...
shared Loading commit data...
src Loading commit data...
tools Loading commit data...
vapi Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.examples Loading commit data...
Makefile.glib Loading commit data...
Makefile.vapigen Loading commit data...
NEWS Loading commit data...
NetworkManager.pc.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-extra.h.meson Loading commit data...
config.h.meson Loading commit data...
configure.ac Loading commit data...
linker-script-binary.ver Loading commit data...
linker-script-devices.ver Loading commit data...
linker-script-settings.ver Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
valgrind.suppressions Loading commit data...
zanata.xml Loading commit data...