GNOME Bugzilla – Bug 172420
Crash when loading a Input Dialog from a glade file
Last modified: 2005-04-06 23:47:29 UTC
Crash when loading a Input Dialog from a glade file created in Gazpacho. 1) Create new Input Dialog 2) Save and exit 3) Open gazpacho and load the glade file Traceback (most recent call last):
+ Trace 57623
sys.exit(main(sys.argv))
launch(filenames)
gazpacho.open_project(filename)
prj = project.Project.open(path, self)
ObjectGlue(prj))
self.load_from_file(path)
self._read_xml_tree(doc.documentElement)
widget = self._build_object(child_node)
self._fill_object_from_node(obj, xml_node)
child = self._build_child_object(obj, child_node)
while gic(ancestor, internal_child) is None:
widget_class = widget_registry.get_by_type(ancestor.__gtype__)
Created attachment 39588 [details] Glade file that causes the crash
Now it does not crash but note that in the glade file not a lot of things are saved actually. That's because we don't have a post_create function for this widget that create Gazpacho Wrappers for the combos and the notebook. I read the documentation of this Dialog and it says that it is a too specialized widget that eventually will be out of pygtk. Also I can't think on any use case of customizing this dialog by adding more widgets to it. Many users do not know what an Input Dialog is (me included) because they don't know what is that buzzword XInput. So I think it is confusing and I'm going to remove it from the palette. At least this help us to find a bug in widgetclass.py :-)