eonpatapon / mpDris2

MPRIS V2.1 support for mpd
GNU General Public License v3.0
210 stars 46 forks source link

GLib has no MainLoop() #147

Closed nfrid closed 2 years ago

nfrid commented 2 years ago

Recently mpDris2 stopped working in my system after one of the updates. Whenever I try to run it, I get this error:

Traceback (most recent call last):
  File "/usr/local/bin/mpDris2", line 1482, in <module>
    loop = GLib.MainLoop()
AttributeError: module 'glib' has no attribute 'MainLoop'

I use Manjaro Linux w/ fresh packages.

nfrid commented 2 years ago

As always, the problem were updated libraries - libffi was updated to version 8 while gi depends on version 7. Installing it from aur solved the issue.