LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: aaccdd

gDesklets 0.30 手册 ── 安装、运行遇到问题的请看

[复制链接]
发表于 2004-11-27 19:25:31 | 显示全部楼层
Crashing daemon means missing dependency.
Make sure that you have all of the gnome-python2-* stuff.
有装gnome-python2-gnomevfs吗?这个不装的话configure;make;install也通得过。
再有就是重启系统后再运行一次gdesklets start有时也有意想不到的效果。
另外gdesklets deamon不必要root级运行。
发表于 2004-11-28 16:02:43 | 显示全部楼层
我确信没有漏掉的包,因为我是用的完整安装。

虽然我认为重启没有必要,但是重启之后,结果还是一样的。

[root@fudaming ~]#
(gDesklets Shell:2966): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

这一句难道和gconf有关?或许我的设置有问题,不知道应该怎么办。
发表于 2004-11-28 19:55:50 | 显示全部楼层
这个不知对你有无帮助:
If you're running pygtk 2.4 together with gnome-python 2.0, the shell will crash.
Upgrade to gnome-python 2.6, since 2.0 is incompatible with pygtk 2.4.

或者这个:
# ./gdesklets-shell
--> crash

(gDesklets Shell:22185): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

But I figured out that by modifying the file shell/plugins/Help/__init__.py in the share/gdesklets subtree I can get rid of that crash :
replaced line 28
self.__tip = TipOfTheDay(tips, self._get_config("current_tip") or 0)
by
self.__tip = TipOfTheDay(tips,0)

以上信息来自: gDesklets
发表于 2004-12-6 14:21:12 | 显示全部楼层

gdesklets安装问题!求解!谢谢!

[root@LinuxFedora ~]# gdesklets start
Starting gdesklets-daemon...
Connecting to daemon [###          ]You must NOT run gDesklets as super user (root).
Connected to daemon in 10040 milliseconds.
Traceback (most recent call last):
  File "/usr/local/bin/gdesklets", line 126, in ?
    open_profile(profile)
  File "/usr/local/bin/gdesklets", line 55, in open_profile
    d = get_daemon()
  File "/usr/local/bin/gdesklets", line 47, in get_daemon
    daemon.set_remove_command(os.path.abspath(sys.argv[0]) + " _remove")
AttributeError: 'str' object has no attribute 'set_remove_command'
以上问题我该怎么解决,目前在网上还没找到解决的办法!请大家帮帮忙!非常感激!
发表于 2005-3-5 23:55:44 | 显示全部楼层
转载并整理到了 http://www.gnome-cn.org/documents/tutorial/gdesklets_tutorial/

希望 aaccdd 原凉我先斩后奏.
回复 支持 反对

使用道具 举报

发表于 2006-5-28 10:18:55 | 显示全部楼层
Traceback (most recent call last):
  File "/usr/X11R6/bin/gdesklets", line 3, in ?
    from main import client, DISPLAY, HOME, USERHOME
  File "/usr/X11R6/lib/gdesklets/main/__init__.py", line 3, in ?
    import utils
  File "/usr/X11R6/lib/gdesklets/utils/__init__.py", line 10, in ?
    from ErrorFormatter import ErrorFormatter
  File "/usr/X11R6/lib/gdesklets/utils/ErrorFormatter.py", line 4, in ?
    import vfs
  File "/usr/X11R6/lib/gdesklets/utils/vfs.py", line 8, in ?
    import urllib
  File "/usr/local/lib/python2.4/urllib.py", line 26, in ?
    import socket
  File "/usr/local/lib/python2.4/socket.py", line 45, in ?
    import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined symbol "__h_errno"

点解?
环境:FreeBSD6.1release+gnome2.14.1,通过ports安装。
回复 支持 反对

使用道具 举报

发表于 2006-12-29 12:54:33 | 显示全部楼层
/usr/local/lib/libgobject-2.0.so.0: undefined reference to `g_bsearch_array_destroy'
/usr/local/lib/libgobject-2.0.so.0: undefined reference to `g_bsearch_array_new'/usr/lib/libbonobo-2.so.0: undefined reference to `g_value_take_object'
/usr/local/lib/libgobject-2.0.so.0: undefined reference to `g_bsearch_array_insert'
/usr/lib/libbonobo-2.so.0: undefined reference to `g_value_take_boxed'
/usr/lib/libbonobo-2.so.0: undefined reference to `g_strv_get_type'
collect2: ld returned 1 exit status
make[2]: *** [gdesklets-display-thumbnailer] 错误 1
make[2]: Leaving directory `/home/ayida/gDesklets-0.30/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/ayida/gDesklets-0.30'
make: *** [all] 错误 2
[ayida@localhost gDesklets-0.30]$

./configure 沒出現任何問題﹐但make 出現以上錯誤﹐可以幫幫我么﹖
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表