Custom GObject properties seem to be broken with python (original) (raw)

Hi!
I’m having troubles with the gnome nightly runtime and GObject properties. When I define a new property with something like this GObject.Property(type=int, default=-1) I’ll get errors like this:

TypeError: Method do_get_property() on class Gtk.Box is ambiguous with methods in base classes GObject.InitiallyUnowned and GObject.Object

Last week the same code ran just fine and with the stable runtime (v47) it still does. Has someone an idea what I’m doing wrong here?

ebassi (Emmanuele Bassi) March 3, 2025, 9:57am 2

Please, file a bug against pygobject.

SoongNoonien (Martin Wagner) March 3, 2025, 10:11pm 3

SoongNoonien (Martin Wagner) March 5, 2025, 2:57pm 4

Apparently it’s not just a pygobject bug.

system (system) Closed April 4, 2025, 2:57pm 5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.