firecat53 / networkmanager-dmenu

Control NetworkManager via dmenu
MIT License
783 stars 74 forks source link

Unable to run application - problem with NM.Client #129

Closed kamilkrz closed 6 months ago

kamilkrz commented 7 months ago

  File "/home/kamkrz/bin/networkmanager_dmenu", line 1015, in <module>
    main()
  File "/home/kamkrz/bin/networkmanager_dmenu", line 1007, in main
    CLIENT = NM.Client.new(None)
             ^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: Could not connect: No such file or directory (1)```

I am a bit lost what file I am missing. 

This worked before but after some updates on my system it stopped.

Thanks in advance
firecat53 commented 7 months ago

From the README:

  1. Python gobject (PyGObject, python-gobject, etc.)
  2. (Debian/Ubuntu based distros) libnm0 (libnm-util-dev on older distributions) and gir1.2-nm-1.0 (you have to explicitly install the latter on Debian Sid)

Beyond that, it's hard to say without knowing your distro.

firecat53 commented 7 months ago

Did you ever solve this or can you give me some more information? Thanks!

firecat53 commented 6 months ago

Closing for now. Feel free to reopen with more information. Thanks!