当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助!ubuntu启动ubuntu-tweak出错
帖子发表于 : 2015-04-22 21:18 

注册: 2014-03-08 11:08
帖子: 15
系统: ubuntu12.04
送出感谢: 5
接收感谢: 0 次
如题,启动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=709183
TypeError: 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突然如此,试过卸载从新立得重新安装,如旧。
本人小白一个,诚请高手指点,不胜感激!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助!ubuntu启动ubuntu-tweak出错
帖子发表于 : 2015-04-23 6:07 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
https://bugzilla.gnome.org/show_bug.cgi?id=709183#c6
這是一個 Bug
https://bugzilla.gnome.org/attachment.c ... ction=diff
這裡有補救方法

http://blog.ubuntu-tweak.com/2014/04/21 ... ready.html

補充
http://packages.ubuntu.com/search?suite ... chon=names
Ubuntu 套件庫已經沒有 ubuntu-tweak

建議
unity 桌面 安裝/使用 unity-tweak-tool
http://packages.ubuntu.com/search?suite ... chon=names
其它 gnome 桌面 安裝/使用 gnome-tweak-tool
http://packages.ubuntu.com/search?suite ... chon=names

如果還有問題
說明你的 Ubuntu 版本 及 登入桌面


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助!ubuntu启动ubuntu-tweak出错
帖子发表于 : 2015-04-23 6:09 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
viewtopic.php?p=3131473#p3131473


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助!ubuntu启动ubuntu-tweak出错
帖子发表于 : 2015-04-23 20:33 

注册: 2014-03-08 11:08
帖子: 15
系统: ubuntu12.04
送出感谢: 5
接收感谢: 0 次
poloshiao 写道:
https://bugzilla.gnome.org/show_bug.cgi?id=709183#c6
這是一個 Bug
https://bugzilla.gnome.org/attachment.c ... ction=diff
這裡有補救方法

http://blog.ubuntu-tweak.com/2014/04/21 ... ready.html

補充
http://packages.ubuntu.com/search?suite ... chon=names
Ubuntu 套件庫已經沒有 ubuntu-tweak

建議
unity 桌面 安裝/使用 unity-tweak-tool
http://packages.ubuntu.com/search?suite ... chon=names
其它 gnome 桌面 安裝/使用 gnome-tweak-tool
http://packages.ubuntu.com/search?suite ... chon=names

如果還有問題
說明你的 Ubuntu 版本 及 登入桌面



谢谢你的的回复,
是不是说ubuntu-tweak这个软件已经没有维护了啊?
我先试试你推荐的两个软件。
谢谢!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译