Workbench not showing tables or query results in raring

Bug #1155571 reported by Nick Featch
174
This bug affects 34 people
Affects Status Importance Assigned to Milestone
mysql-workbench (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Workbench not showing tables or query results in raring. When running via the terminal i see the following errors.

 (mysql-workbench-bin:10545): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

affects: ubiquity (Ubuntu) → mysql-workbench (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-workbench (Ubuntu):
status: New → Confirmed
Changed in mysql-workbench (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mirko Brankovic (mirkobrankovic) wrote :

I'm still having this issue on 13.04

Revision history for this message
Bruno Iks (ognjanovic) wrote :

i have same problem after upgrading to 13.04

Revision history for this message
Nick Featch (nick-featch) wrote :

Hmm maybe i should re-open the ticket? Could you confirm that you are getting the following error when you run "mysql-workbench" in the terminal

 (mysql-workbench-bin:10545): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

I just want to double check that it's the same error. Mine works but I have a fresh install due to getting an SSD :-)

Sometimes you need to run "mysql_upgrade -u root -p" in a terminal for mysql-workbench to display schema results if you dump from a different version of mysql. You might want to try doing this if you are not getting the error above.

Revision history for this message
Bruno Iks (ognjanovic) wrote :

ssd is great upgrade :)

anyways mysql_upgrade outputs :
home@e6520:~$ mysql_upgrade -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.5.31, use --force if you still need to run mysql_upgrade

i tryed to install mysql-workbench from website instead of apt-get, version 5.2.47 and i had to manually install libctemplate0.
apt-get version uses libctemplate2 as far as i can notice.

with website version and libctemplate0 instead of libctemplate2 i could see schemas, but still could not get output for any query

errors that i get are:

(mysql-workbench-bin:14621): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:14621): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:14621): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:14621): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:14621): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:14621): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

Revision history for this message
Bruno Iks (ognjanovic) wrote :

yes, i can confirm that in version from apt-get i cannot see nor schemas nor query results.

errors that i get on that version are :

(mysql-workbench-bin:19862): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:19862): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:19862): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:19862): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:19862): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

Revision history for this message
Mirko Brankovic (mirkobrankovic) wrote :

I tried mysql_upgrade and got same output as @ognjanovic

here is my output starting from terminal and connecting to mysql server
http://pastebin.com/gVnhqGRe

Revision history for this message
Mirko Brankovic (mirkobrankovic) wrote :

Relevant installed versions:

# dpkg -l libc6
ii libc6-dev:i386 2.17-0ubuntu4 i386 Embedded GNU C Library: Development Libraries and Header Files

# dpkg -l libctemplate2
ii libctemplate2 2.2-3 i386 Simple but powerful template language for C++

# dpkg -l libctemplate0
ii libctemplate0 1.0-1 i386 Simple but powerful template language for C++

Tell me if you need more info

Revision history for this message
Mirko Brankovic (mirkobrankovic) wrote :

Here is core dump when I removed libctemplate0 and reinstalled MySQL-WB from apt repo.
Hope it helps,
Mirko

Revision history for this message
Alexsandro Felix (asfelix) wrote :
Download full text (3.5 KiB)

Same trouble with Kubuntu 14.10 and MySQL Workbench 6.1.7

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->model != NULL' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:30405): Gtk...

Read more...

Revision history for this message
odror (ozdror) wrote :

I have this bug on UBUNTU 14.10

Revision history for this message
Steffen Rusitschka (rusi) wrote :

I'm also experiencing this on 14.10 - on 14.04 it worked fine...

Revision history for this message
Tal Dubov (tal-y) wrote :

I have the same bug on 14.10 + any version of mysql-workbench
can`t view any results of query + action/text output

shell output:

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->model != NULL' failed

(mysql-workbench-bin:7496): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:7496): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:7496): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:7496): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion 'model == NULL || GTK_IS_TREE_MODEL (model)' failed

Revision history for this message
Carlos Corbacho (carlos.corbacho) wrote :

The problem on 14.10 is a known issue upstream - glib 2.42 broke Workbench.

http://bugs.mysql.com/bug.php?id=74147

There is a patch on the bug - that needs to be folded into 14.10's Workbench, or revert glib back to 2.40 (this bug may affect applications other than Workbench).

Revision history for this message
Bart (bart-swennen) wrote :

Experiencing the same bug on Kubuntu 14.10

Revision history for this message
Patrik Kullman (nomego) wrote :

Affects me too.

Revision history for this message
Piotr Antosik (piotrantosik) wrote :

I have the same bug.

Revision history for this message
Panagiotis Mirmigkis (panagiotis-mirmigkis) wrote :

After upgrading from 14.04 to 14.10 I have the same problem here. So probably is this some compatibility issue?

Revision history for this message
Andrei (andrei-doom) wrote :

Can we get some more traction on this matter regarding glib 2.42 ? This needs to get done, as a fix already exists.

Revision history for this message
Bart Willemsen (b-willemsen8) wrote :

It affects me too. Tried installing the latest MySQL Workbench from the official website but that didn't solve it. Their bugtracker redirects to this bugreport too..

Revision history for this message
Kurt Zhong (kurtzhong520) wrote :

Is there any quick fix for this bug, I so need MySQL Workbench get working.

Revision history for this message
Andrei (andrei-doom) wrote :

This still appears as Fix Released from last year. This isn't true. The issue reappeared on 14.10. Does anybody even look at this issue anymore in order to change the status to Confirmed ? Pretty pathetic way of managing the issues, as this isn't the first time I've seen this happened. Get your shit together.

Revision history for this message
Michael Petch (mpetch) wrote :

@Andrei: This bug was never associated with Utopic however a new bug was created here:

https://bugs.launchpad.net/ubuntu/+source/mysql-workbench/+bug/1376154

The bug also has a patch and a version released to utopic-proposed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.