ztps
2012-08-02 08:33 deepin
[list:2nqr5f0n][/list:u:2nqr5f0n]liu@liu-R428:~$ INFO Loading application theme...
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
[color=#FF0000:2nqr5f0n]/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:89: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed[/color:2nqr5f0n]
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:72: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
Traceback (most recent call last):
File "/usr/bin/deepin-music-player", line 245, in
DeepinMusicApp()
File "/usr/bin/deepin-music-player", line 57, in __init__
self.__init()
File "/usr/bin/deepin-music-player", line 194, in __init
from widget.instance import DeepinMusic
File "/usr/share/deepin-music-player/src/widget/instance.py", line 42, in
from widget.preference import PreferenceDialog
File "/usr/share/deepin-music-player/src/widget/preference.py", line 45, in
from widget.global_keys import global_hotkeys
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 121, in
global_hotkeys = GlobalHotKeys()
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 69, in __init__
self.__bind(keystr, field)
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 85, in __bind
self.keybinder.bind(key, lambda : self.__handle_callback(key,
File "/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py", line 72, in bind
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
TypeError: 'NoneType' object has no attribute '__getitem__'
[1]+ 退出 1 deepin-music-player
上面是普通用户执行结果。
关键是GtkWarning的问题?
换做root用户就可以正常启动
root@liu-R428:~# deepin-music-player &
[1] 29556
root@liu-R428:~# INFO Loading application theme...
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
INFO Start quit...
INFO Exiting...
INFO Exit successful.
[1]+ 完成 deepin-music-player
问题究竟出在哪里呢?
熬夜找答案啊谷歌一把没解决,没办法了,上来求助。
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
[color=#FF0000:2nqr5f0n]/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:89: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed[/color:2nqr5f0n]
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:72: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
Traceback (most recent call last):
File "/usr/bin/deepin-music-player", line 245, in
DeepinMusicApp()
File "/usr/bin/deepin-music-player", line 57, in __init__
self.__init()
File "/usr/bin/deepin-music-player", line 194, in __init
from widget.instance import DeepinMusic
File "/usr/share/deepin-music-player/src/widget/instance.py", line 42, in
from widget.preference import PreferenceDialog
File "/usr/share/deepin-music-player/src/widget/preference.py", line 45, in
from widget.global_keys import global_hotkeys
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 121, in
global_hotkeys = GlobalHotKeys()
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 69, in __init__
self.__bind(keystr, field)
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 85, in __bind
self.keybinder.bind(key, lambda : self.__handle_callback(key,
File "/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py", line 72, in bind
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
TypeError: 'NoneType' object has no attribute '__getitem__'
[1]+ 退出 1 deepin-music-player
上面是普通用户执行结果。
关键是GtkWarning的问题?
换做root用户就可以正常启动
root@liu-R428:~# deepin-music-player &
[1] 29556
root@liu-R428:~# INFO Loading application theme...
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
INFO Start quit...
INFO Exiting...
INFO Exit successful.
[1]+ 完成 deepin-music-player
问题究竟出在哪里呢?
熬夜找答案啊谷歌一把没解决,没办法了,上来求助。
Reply Like 0 View the author
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:89: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py:72: GtkWarning: IA__gdk_keymap_get_entries_for_keyval: assertion `keyval != 0' failed
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
Traceback (most recent call last):
File "/usr/bin/deepin-music-player", line 245, in
DeepinMusicApp()
File "/usr/bin/deepin-music-player", line 57, in __init__
self.__init()
File "/usr/bin/deepin-music-player", line 194, in __init
from widget.instance import DeepinMusic
File "/usr/share/deepin-music-player/src/widget/instance.py", line 42, in
from widget.preference import PreferenceDialog
File "/usr/share/deepin-music-player/src/widget/preference.py", line 45, in
from widget.global_keys import global_hotkeys
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 121, in
global_hotkeys = GlobalHotKeys()
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 69, in __init__
self.__bind(keystr, field)
File "/usr/share/deepin-music-player/src/widget/global_keys.py", line 85, in __bind
self.keybinder.bind(key, lambda : self.__handle_callback(key,
File "/usr/lib/python2.7/dist-packages/dtk/ui/global_key.py", line 72, in bind
keycode = gtk.gdk.keymap_get_default().get_entries_for_keyval(keyval)[0][0]
TypeError: 'NoneType' object has no attribute '__getitem__'
[1]+ 退出 1 deepin-music-player
上面是普通用户执行结果。
关键是GtkWarning的问题?
换做root用户就可以正常启动
root@liu-R428:~# deepin-music-player &
[1] 29556
root@liu-R428:~# INFO Loading application theme...
INFO Loading settings...
INFO Loading MediaDB...
INFO Initialize Gui...
Xlib.protocol.request.QueryExtension
INFO Start quit...
INFO Exiting...
INFO Exit successful.
[1]+ 完成 deepin-music-player
问题究竟出在哪里呢?