2015版本 使用中终端突然崩溃然后无法打开,使用Gnome Terminal执行之后返回
➜ ~ deepin-terminal
/usr/lib/python2.7/dist-packages/dtk/ui/constant.py:60: GtkWarning: 无法在模块路径中找到主题引擎:“adwaita”,
font_test_window = gtk.Window(gtk.WINDOW_POPUP)
Traceback (most recent call last):
File "/usr/bin/deepin-terminal", line 38, in
from dtk.ui.menu import Menu
File "/usr/lib/python2.7/dist-packages/dtk/ui/menu.py", line 27, in
from window import Window
File "/usr/lib/python2.7/dist-packages/dtk/ui/window.py", line 30, in
from deepin_utils.xutils import set_window_property_by_id
File "/usr/lib/python2.7/dist-packages/deepin_utils/xutils.py", line 39, in
@init_xlib
File "/usr/lib/python2.7/dist-packages/deepin_utils/xutils.py", line 31, in init_xlib
xlib_display = display.Display()
File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 62, in __init__
display.Display.__init__(*(self, ) + args, **keys)
File "/usr/lib/python2.7/dist-packages/Xlib/protocol/display.py", line 58, in __init__
self.socket = connect.get_socket(name, host, displayno)
File "/usr/lib/python2.7/dist-packages/Xlib/support/connect.py", line 76, in get_socket
return mod.get_socket(dname, host, dno)
File "/usr/lib/python2.7/dist-packages/Xlib/support/unix_connect.py", line 78, in get_socket
s.connect('/tmp/.X11-unix/X%d' % dno)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 2] 没有那个文件或目录
➜ ~ deepin-terminal
/usr/lib/python2.7/dist-packages/dtk/ui/constant.py:60: GtkWarning: 无法在模块路径中找到主题引擎:“adwaita”,
font_test_window = gtk.Window(gtk.WINDOW_POPUP)
Traceback (most recent call last):
File "/usr/bin/deepin-terminal", line 38, in
from dtk.ui.menu import Menu
File "/usr/lib/python2.7/dist-packages/dtk/ui/menu.py", line 27, in
from window import Window
File "/usr/lib/python2.7/dist-packages/dtk/ui/window.py", line 30, in
from deepin_utils.xutils import set_window_property_by_id
File "/usr/lib/python2.7/dist-packages/deepin_utils/xutils.py", line 39, in
@init_xlib
File "/usr/lib/python2.7/dist-packages/deepin_utils/xutils.py", line 31, in init_xlib
xlib_display = display.Display()
File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 62, in __init__
display.Display.__init__(*(self, ) + args, **keys)
File "/usr/lib/python2.7/dist-packages/Xlib/protocol/display.py", line 58, in __init__
self.socket = connect.get_socket(name, host, displayno)
File "/usr/lib/python2.7/dist-packages/Xlib/support/connect.py", line 76, in get_socket
return mod.get_socket(dname, host, dno)
File "/usr/lib/python2.7/dist-packages/Xlib/support/unix_connect.py", line 78, in get_socket
s.connect('/tmp/.X11-unix/X%d' % dno)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 2] 没有那个文件或目录
确认python平台版本 2.7.11 已经尝试 sudo apt-get install deepin-terminal --reinstall 重新安装,问题无法解决