Loading NM with gi breaks our ipc communication
Hi all,
I'm trying to use pygobject in addition to use NetworkManager API. I have used the show-wifi-networks.py
example from NetworkManager-1.36.2. It works without any issues, but if I adapt this code in our project, I have an issue with an IPC communication between our daemon and client. The problem is that when I'm having on the side of the daemon this lines of code:
import gi gi.require_version("NM", "1.0") from gi.repository import NM
than the communication breaks. If I comment out the second and third lines everything is back to normal, but it is not possible to use from NetworkManager API through gi. Now I'm wondering how can it be solved. I have tested python-networkmanager package, but uses dbus API and lacks of some additional functions which are available in libnm.so
.
Question is does any of you have met this kind of problems and knows how to solve them?