NiftyRec 1.6

  未分类

运行报错
软件官网: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
“.

LEAVE A COMMENT

Captcha Code