在Fedora上使用python空闲问题

时间:2012-07-03 02:56:09

标签: python keyboard fedora python-idle x11

在我的fedora机器上运行python idle时,有时键盘会突然冻结,我不得​​不再次重新启动空闲状态。

所以我尝试了“idle -n”,并收到如下错误消息:

"
Gdk-ERROR **: The program 'newsift.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 15131 error_code 3 request_code 15 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)
[root@poodle tmp]# idle -n

Warning (from warnings module):
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 122
    set_interactive(1)
RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
"

有谁能告诉我发生了什么?我该如何解决这个问题呢?非常感谢你!

0 个答案:

没有答案