GNOME Bugzilla – Bug 680692
ValueError: invalid enum value: 4294967296
Last modified: 2012-08-20 09:24:44 UTC
Originally filed here: https://bugzilla.redhat.com/show_bug.cgi?id=841596 --- [root@hamzy-fedora17-build ~]# uname -a Linux hamzy-fedora17-build.localdomain 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux [root@hamzy-fedora17-build ~]# yum install -y pygobject3 [root@hamzy-fedora17-build ~]# cat << __EOF__ | python - #!/usr/bin/python from gi.repository import NMClient if __name__ == "__main__": client = NMClient.Client.new() for con in client.get_active_connections(): print con device = con.get_devices()[0] print device print device.get_device_type() __EOF__ <ActiveConnection object at 0x7f5a611291e0 (NMActiveConnection at 0xe06010)> <DeviceEthernet object at 0x7f5a61129230 (NMDeviceEthernet at 0xe0b000)> <enum NM_DEVICE_TYPE_ETHERNET of type DeviceType> [root@hamzy-fedora17-build ~]# nmcli con NAME UUID TYPE TIMESTAMP-REAL Boot Disk f4b02c17-5a5c-49aa-bc30-b4ad5926b8d3 802-3-ethernet Thu 19 Jul 2012 08:56:12 AM CDT [root@bluebill ~]# uname -a Linux bluebill.rchland.ibm.com 3.3.4-5.fc17.ppc64 #1 SMP Mon May 14 10:18:37 MST 2012 ppc64 ppc64 ppc64 GNU/Linux [root@bluebill ~]# yum install -y pygobject3 [root@bluebill ~]# cat << __EOF__ | python - > #!/usr/bin/python > from gi.repository import NMClient > > if __name__ == "__main__": > client = NMClient.Client.new() > > for con in client.get_active_connections(): > print con > device = con.get_devices()[0] > print device > print device.get_device_type() > __EOF__ <ActiveConnection object at 0xfffa02a6190 (NMActiveConnection at 0x1003002c800)> <DeviceEthernet object at 0xfffa02a61e0 (NMDeviceEthernet at 0x10030034000)> Traceback (most recent call last):
+ Trace 230595
return info.invoke(*args, **kwargs)
[root@bluebill ~]# nmcli con NAME UUID TYPE TIMESTAMP-REAL Wired connection 1 34edb1f4-82bc-4471-ab69-4d01893d3293 802-3-ethernet Fri 13 Jul 2012 01:57:48 AM CDT Boot Disk bd10e0ca-184a-45d2-aa2a-769f973d54b6 802-3-ethernet Thu 19 Jul 2012 09:03:57 AM CDT
(this is on ppc64)
See Fedora bug for the details. Fixed in trunk now: http://git.gnome.org/browse/pygobject/commit/?id=1c5d497d3c354f4d02f1d4570df2c61d6f47300c