GNOME Bugzilla – Bug 744811
Core dump when calling GUdev.Enumerator()
Last modified: 2015-05-23 19:17:49 UTC
I'm still very new to gobject introspection and when I mistakenly tried this code: from gi.repository import GUdev; e = GUdev.Enumerator() core was dumped with this message: GUdev:ERROR:../src/gudev/gudevenumerator.c:126:g_udev_enumerator_constructed: assertion failed: (G_UDEV_IS_CLIENT (enumerator->priv->client)) [I now realize that I should have done it like this: e = GUdev.Enumerator.new(client)] I don't know if this is a duplicate of bug 675581.
(In reply to Damon Lynch from comment #0) > ... > [I now realize that I should have done it like this: > e = GUdev.Enumerator.new(client)] > > I don't know if this is a duplicate of bug 675581. Hi, Not exactly of dup of bug 675581, more like bug 649662. The idea is we need the ability to mark required construction properties. *** This bug has been marked as a duplicate of bug 649662 ***