Reputation: 1976
Recently I am facing a problem and can't open my Sublime Text. It worked for me since few days ago. But now it's not working. When I type
sudo sublime
then it shows the following error. And it's not openning.
(sublime:16435): GLib-GObject-WARNING **: cannot register existing type `GSimpleAsyncResult'
(sublime:16435): GLib-GObject-WARNING **: cannot register existing type `GAsyncResult'
(sublime:16435): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(sublime:16435): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(sublime:16435): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(sublime:16435): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(sublime:16435): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
I am using Ubuntu 12.04 LTS. Thanks in advance.
Upvotes: 0
Views: 336
Reputation: 11
I faced a similar situation in an old Ubuntu 12.04 installation.
The solution in my case was found by running:
sudo apt-get install libglib2.0-dev
Upvotes: 1