Created attachment 1791236 [details] Simple workaround (mimicking test in SignalDispatcher) Description of problem: Version-Release number of selected component (if applicable): python3-networkmanager-2.2-1.fc34.noarch python-networkmanager-doc-2.2-1.fc34.noarch How reproducible: Always Steps to Reproduce: 1. run 'python3 /usr/share/doc/python-networkmanager-doc/examples/info.py' Actual results: Traceback (most recent call last): File "/usr/share/doc/python-networkmanager-doc/examples/info.py", line 9, in <module> print("%-30s %s" % ("Version:", NetworkManager.NetworkManager.Version)) File "/usr/lib/python3.9/site-packages/NetworkManager.py", line 164, in get_func data = self.proxy.Get(interface, name, dbus_interface='org.freedesktop.DBus.Properties') File "/usr/lib/python3.9/site-packages/NetworkManager.py", line 263, in proxy self._proxy = dbus.SystemBus().get_object(self.dbus_service, self.object_path, follow_name_owner_changes=True) File "/usr/lib64/python3.9/site-packages/dbus/bus.py", line 225, in get_object self._require_main_loop() # we don't get the signals otherwise RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...) Expected results: Version: 1.30.4 ... rest of output deleted Additional info:
Upstream issue: https://github.com/seveas/python-networkmanager/issues/84 Workaround: https://github.com/seveas/python-networkmanager/issues/84#issuecomment-817099962
Upstream pull request: https://github.com/seveas/python-networkmanager/pull/85
FEDORA-2022-1f04b2fa4f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1f04b2fa4f
FEDORA-2022-1f04b2fa4f has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-b380e1bff1 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b380e1bff1
FEDORA-2022-89c76c9db1 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-89c76c9db1
FEDORA-2022-89c76c9db1 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-89c76c9db1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-89c76c9db1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-b380e1bff1 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-b380e1bff1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b380e1bff1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-89c76c9db1 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-b380e1bff1 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.