Remedying the glib go error in ubuntu

If you encounter the glib gio error while firing an app from the commandline/shell, such as this one:

GLib-GIO:ERROR:/build/buildd/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)

Aborted

use the following script. It exports the dbus session and then runs the apps. Simply use: ed.sh <command> or if you have already used a long command and failed: use the trick “ed.sh !!” (!! replicates the last command).

Download the script from: https://gist.github.com/a664a61a49296da16e47

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s