2015 深度终端无法打开
Tofloor
poster avatar
LightQuantum
deepin
2016-01-01 22:24
Author
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] 没有那个文件或目录

确认python平台版本 2.7.11 已经尝试 sudo apt-get install deepin-terminal --reinstall 重新安装,问题无法解决

Reply Favorite View the author
All Replies
cxbii
deepin
2016-01-04 21:49
#1
是不是修改了系统的python版本?
Reply View the author
LightQuantum
deepin
2016-01-15 03:28
#2
https://bbs.deepin.org/post/35096
是不是修改了系统的python版本?

劳烦大大了,系统大姨妈,重启恢复了,感谢热心回复
Reply View the author
cxbii
deepin
2016-01-15 05:21
#3
https://bbs.deepin.org/post/35096
劳烦大大了,系统大姨妈,重启恢复了,感谢热心回复

{:4_88:} 无言以对
Reply View the author