LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2004-10-30 15:29:19 | 显示全部楼层
[root@localhost soft]# gdesklets
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 10, in ?
    from main import init
  File "/usr/share/gdesklets/main/__init__.py", line 37, in ?
    from utils.i18n import Translator
  File "/usr/share/gdesklets/utils/__init__.py", line 2, in ?
    from GConfWatcher import GConfWatcher
  File "/usr/share/gdesklets/utils/GConfWatcher.py", line 3, in ?
    import gconf
ImportError: No module named gconf
发表于 2004-10-31 08:32:22 | 显示全部楼层
我congiure的时候能不能通过,但make的时候出现错误,好像是Python.h: No such file or directory
发表于 2004-11-17 02:16:07 | 显示全部楼层
我在FC3上编译安装成功了,可是当我执行gdesklets start 时.就显示为:Cannot establish connection to daemon : timeout
发表于 2004-11-17 16:19:24 | 显示全部楼层
[root@fudaming clock-desklet-0.40]# gdesklets start
Starting gdesklets-daemon...
Connecting to daemon [###          ]You must NOT run gDesklets as super user (root).
Connected to daemon in 10026 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'
[root@fudaming clock-desklet-0.40]#

FC3 完全安装,配置,编译正常,安装正常,gdesklets的shell出现,但是一片空白,随后自己就结束了。终端上运行结果如上。
发表于 2004-11-17 16:20:56 | 显示全部楼层
[root@fudaming clock-desklet-0.32]# gdesklets start
Starting gdesklets-daemon...
Connecting to daemon [###          ]You must NOT run gDesklets as super user (root).
Connected to daemon in 10030 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'
[root@fudaming clock-desklet-0.32]#


换成0.32的clock,也是不行。
发表于 2004-11-17 22:36:10 | 显示全部楼层
天哪,它和superkarama一样,都是用python实现的?
我的内存.....
发表于 2004-11-18 10:29:51 | 显示全部楼层
[root@fudaming ~]# gdesklets start
Starting gdesklets-daemon...
Connecting to daemon [###          ]You must NOT run gDesklets as super user (root).
Connected to daemon in 10020 milliseconds.
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 126, in ?
    open_profile(profile)
  File "/usr/bin/gdesklets", line 55, in open_profile
    d = get_daemon()
  File "/usr/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'



[root@fudaming ~]# gdesklets shell
[root@fudaming ~]#
(gDesklets Shell:2966): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
/usr/share/gdesklets/shell/BookmarkList.py:19: DeprecationWarning: use gtk.ComboBox
  self.__optmenu = gtk.OptionMenu()
Traceback (most recent call last):
  File "/usr/share/gdesklets/gdesklets-shell", line 10, in ?
    shell = registry.get_plugin("UI_Shell")
  File "/usr/share/gdesklets/shell/PluginRegistry.py", line 59, in get_plugin
    result = self.get_plugins_by_pattern("name", name)
  File "/usr/share/gdesklets/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
    plugin.init()
  File "./Shell/__init__.py", line 77, in init
  File "/usr/share/gdesklets/shell/Plugin.py", line 25, in _get_plugins_by_pattern
    return registry.get_plugins_by_pattern(key, pattern)
  File "/usr/share/gdesklets/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
    plugin.init()
  File "./Profiles/__init__.py", line 19, in init
  File "/usr/share/gdesklets/shell/Plugin.py", line 31, in _get_plugin
    plugin = registry.get_plugin(name, *interfaces)
  File "/usr/share/gdesklets/shell/PluginRegistry.py", line 59, in get_plugin
    result = self.get_plugins_by_pattern("name", name)
  File "/usr/share/gdesklets/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
    plugin.init()
  File "./gDeskletsClient/__init__.py", line 23, in init
  File "./gDeskletsClient/__init__.py", line 31, in __get_daemon
AttributeError: 'str' object has no attribute 'set_remove_command'

[root@fudaming ~]#
发表于 2004-11-27 13:26:39 | 显示全部楼层

我想下面的几个解决问题的方法可能对各位有所帮助

1.Starterbar错误提示:
=====================
Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 74, in create_sensor
os.chdir(path)
OSError: [Errno 2] No such file or directory: '/usr/local/share/gdesklets/Sensors/StarterBar'

OR

Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 75, in create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'

解决方法:
1) Install ALL gnome devel packages.
2) Install ALL gnome-python2 packages (just for good measure)
3) Install pyxdg ( http://www.freedesktop.org/softw ... es/pyxdg-0.8.tar.gz )
4) Recompile gDesklets.
5) Extract/Install the StarterBar package
6) gdesklets open starterbar.display

2.GoodWeather display错误提示:
================================
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/DisplayFactory.py", line 91, in create_display
File "/usr/share/gdesklets/display/Display.py", line 200, in new_child
File "/usr/share/gdesklets/display/TargetGroup.py", line 67, in new_child
File "/usr/share/gdesklets/display/ContainerTarget.py", line 75, in new_child
File "/usr/share/gdesklets/display/targetregistry.py", line 58, in create
KeyError: u'Unknown target type "metha".'

解决方法:
Just edit the Goodweather.display, search for "metha" and replace with "meta".

3.GoodWeather display显示时间与本地时间不符:
============================================
在timezone中输入:Asia/Shanghai


4. 奇怪错误的另类解决办法:
Quit gDesklets and restart it, then try loading the display again. For whatever reason this seems to work.

我的FC3桌面


我的WinXP桌面
发表于 2004-11-27 14:13:11 | 显示全部楼层
楼上的桌面确实很漂亮,就是不知道速度怎么样。
这个最少要多少内存?
发表于 2004-11-27 15:35:34 | 显示全部楼层
duleell你好,我还没有加载任何display,只是想运行shell就出现了上面的错误提示,不知道有没有什么建议。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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