1

在 ubuntu 12.04 LTS 上运行 python 解释器并输入命令 >>help('modules') 它崩溃,我无法确定导致崩溃的模块。我想我已经添加了大约三个模块,其中一些是 python-twitter,feedparser,但我现在无法获得那里的内容。我的一些代码也定期运行。

这是崩溃的样子......

/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  from gtk import _gtk

** (python:23199): CRITICAL **: pyg_register_boxed: assertion `boxed_type != 0' failed
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type `GdkDevice'
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
  from gtk import _gtk
Segmentation fault (core dumped)
root@m:~/Settings# python -V
Python 2.7.3
4

0 回答 0