Hi folks!

I'm trying to connect to a self-compiled libvirt 9.10.0 from python, but get the following error:

Python 3.12.0 (main, Oct  3 2023, 19:47:47) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import libvirt as lv
>>> conn = lv.openReadOnly(None)
libvirt: DBus Utils error : error from service: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.libvirt.unix.monitor is not registered
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/user/sw/python3/lib/python3.12/site-packages/libvirt.py", line 349, in openReadOnly
   raise libvirtError('virConnectOpenReadOnly() failed')
libvirt.libvirtError: error from service: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.libvirt.unix.monitor is not registered

What is the issue here? Also, I've grepped the error in any source but found nothing!

Greetings,
Fabiano
_______________________________________________
Users mailing list -- users@lists.libvirt.org
To unsubscribe send an email to users-le...@lists.libvirt.org

Reply via email to