Description:
After opening a saved model in mysql-workbench, I noticed that I could not edit the columns of tables and tables were not displayed at all. That means no matter what I tried, nothing helped: deleting config files, running with diffrent user.
I was finally starting mysql-workbench from command line and got following output:
$ mysql-workbench -v --log-level=debug3
[...]
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init
(mysql-workbench-bin:2108): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed
(mysql-workbench-bin:2108): Gtk-CRITICAL **: IA__gtk_icon_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed
After finally downgrading glib to version 2.34.3, I could see those missing panels and items in mysql-workbench. That means that the upgrade is causing all this pain.
Also posted as bug to gentoo bugtracker:
https://bugs.gentoo.org/show_bug.cgi?id=460602
GLib is available under the following source:
https://developer.gnome.org/glib/
Today I updated mysql-workbench to version 5.2.47, but yet no support for given glib version (2.35.8). Still the same error messages, one if them is as follows:
(mysql-workbench-bin:4472): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed
How to repeat:
1) Update to latest available GLib version 2.35.8
2) Open or Create any model and try to create a table or edit columns of a table in an EER diagram