deepin-scrot在arch终端下运行报错,求帮助
Tofloor
poster avatar
xuzizzz
deepin
2012-06-29 21:53
Author
我的arch已经支持终端鼠标,但是我运行时还是报如下错误,不知道在archlinux下是否需要额外的设置,求帮助
** (process:1432): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:1432): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:1432): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/share/deepin-scrot/src/window.py:27: GtkWarning: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  (screenWidth, screenHeight) = gtk.gdk.get_default_root_window().get_size()
Traceback (most recent call last):
  File "./deepinScrot.py", line 25, in
    from mainscrot import MainScrot
  File "/usr/share/deepin-scrot/src/mainscrot.py", line 28, in
    from action import *
  File "/usr/share/deepin-scrot/src/action.py", line 25, in
    from draw import *
  File "/usr/share/deepin-scrot/src/draw.py", line 32, in
    from window import screenWidth, screenHeight
  File "/usr/share/deepin-scrot/src/window.py", line 27, in
    (screenWidth, screenHeight) = gtk.gdk.get_default_root_window().get_size()
AttributeError: 'NoneType' object has no attribute 'get_size'
Reply Favorite View the author
All Replies
lovesnow
deepin
2012-06-29 23:43
#1
不是你的问题, 是deepin-screenshot不支持终端截图  sorry 8-)
Reply View the author