0

最近我遇到一个问题,无法打开我的 Sublime Text。它从几天前开始对我有用。但现在它不起作用。当我输入

sudo sublime

然后它显示以下错误。而且它没有打开。

(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

我正在使用 Ubuntu 12.04 LTS。提前致谢。

4

1 回答 1

1

我在旧的 Ubuntu 12.04 安装中遇到了类似的情况。

我的解决方案是通过运行找到的:

sudo apt-get install libglib2.0-dev
于 2014-12-31T03:15:54.447 回答