如题,启动ubuntu-tweak出错,详细如下:
read@read:~$ ubuntu-tweak
Traceback (most recent call last):
File "/usr/bin/ubuntu-tweak", line 92, in on_startup
from ubuntutweak.main import UbuntuTweakWindow
File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 32, in <module>
from ubuntutweak.apps import AppsPage
File "/usr/lib/python2.7/dist-packages/ubuntutweak/apps/__init__.py", line 17, in <module>
from ubuntutweak.utils.package import AptWorker
File "/usr/lib/python2.7/dist-packages/ubuntutweak/utils/package.py", line 5, in <module>
import aptdaemon.client
File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 43, in <module>
_GObject = GObject.GObject
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 62, in __getattr__
raise AttributeError(_static_binding_error)
AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See:
https://bugzilla.gnome.org/show_bug.cgi?id=709183TypeError: can't convert return value to desired type
/usr/bin/ubuntu-tweak:123: Warning: g_value_copy: assertion 'G_IS_VALUE (src_value)' failed
app.run(sys.argv)
/usr/bin/ubuntu-tweak:123: Warning: g_value_reset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)
/usr/bin/ubuntu-tweak:123: Warning: g_value_unset: assertion 'G_IS_VALUE (value)' failed
app.run(sys.argv)
贴出uname
read@read:~$ uname -a
Linux read 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
贴出ubuntu-tweak安装详细
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
在更新后启动ubuntu-tweak突然如此,试过卸载从新立得重新安装,如旧。
本人小白一个,诚请高手指点,不胜感激!