5fd31e6dbc9571351.jpg_fo742.jpg

运行报错
软件官网:http://niftyrec.scienceontheweb.net/wordpress/
编译没有问题,但是在执行时报错:
python niftyrec_gui.py
niftyrec_gui.py:66: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.wTree = gtk.glade.XML(path+"//"+self.gladefile)
Traceback (most recent call last):
File "niftyrec_gui.py", line 811, in
hello = MainWindow()
File "niftyrec_gui.py", line 119, in init
self.initializeScriptArea()
File "niftyrec_gui.py", line 170, in initializeScriptArea
self.python_view = IPythonView()
File "/home/gentai/test/NiftyRec-1.6.9/apps/niftyrec_gui/ipython_view.py", line 442, in init
input_func=self.raw_input)
File "/home/gentai/test/NiftyRec-1.6.9/apps/niftyrec_gui/ipython_view.py", line 66, in init
IPython.iplib.raw_input_original = input_func
AttributeError: 'NoneType' object has no attribute 'iplib'

网上找到的解决办法:
https://blueprints.launchpad.net/ubuntu/+spec/spinbutton-adjustment-warnings

Many GNOME-based applications print the following to the console.
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
This is generally due to the form being created with an obsolete version of Glade. The function gtk_adjustment_configure()
is called from a glade element looking like "0 0 999 1 10 10"; the fix is to
change the last value to zero, like "0
0 999 1 10 0
".

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code