尝试运行 gnome-activity-journal 后(从清除然后重新安装)发生以下情况
$ gnome-activity-journal &
[1] 5252
$ /usr/share/themes/Orta/gtk-2.0/Styles/Panel/panel-dark-default.rc:20: Unable to locate image file in pixmap_path: "/Panel/panel-dark.png"
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/gnome-activity-journal", line 94, in <module>
from src.main import PortalWindow
File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer
File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 35, in <module>
from store import ContentStruct, CLIENT
File "/usr/share/gnome-activity-journal/src/store.py", line 504, in <module>
STORE = Store()
File "/usr/share/gnome-activity-journal/src/store.py", line 367, in __init__
days_population = ZeitgeistDBusInterface().get_extension("Log", "journal/activity").GetHistogramData()
File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 83, in __getattr__
raise TypeError("Unknown method name: %s" % name)
TypeError: Unknown method name: GetHistogramData
我将假设面板图像缺失错误无关紧要(我删除了它,这样我就可以拥有一个透明面板)。无论如何,我很好奇是否有办法解决这些错误,以便我可以真正运行 gnome-activity-journal。
编辑:这是从安装 gnome-activity-journal 开始的。
Unpacking gnome-activity-journal (from .../gnome-activity-journal_0.5.0.1-0ubuntu1_all.deb) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
gtk-update-icon-cache: The generated cache was invalid.
WARNING: icon cache generation failed
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Processing triggers for python-support ...
Setting up gnome-activity-journal (0.5.0.1-0ubuntu1) ...
Processing triggers for python-support ...
答案1
我发现已经有关于此的错误报告:
https://bugs.launchpad.net/ubuntu/+source/gnome-activity-journal/+bug/638217
您可以尝试运行zeitgeist-daemon --replace
答案2
当您安装 GNOME Activity Journal 更新时,Zeitgeist 正在运行(因为您使用了 GNOME Activity Journal、Sezen、Unity、与 Zeitgeist 集成的应用程序或其他)。
最新的 GNOME Activity Journal 包含(并需要)Zeitgeist 的扩展,该扩展提供 GetHistogramData 方法。但是,由于 Zeitgeist 已在运行(并且扩展仅在 Zeitgeist 启动时加载),因此当您尝试启动 Activity Journal 时它尚未被使用。
后重启时代精神(手动/关闭会话/重新启动计算机/等等)扩展将在 Zeitgeist 下次启动时被采用,因此这个问题应该不会再发生。
答案3
确保你的 .local/share/zeitgeist/extensions 目录中有一个名为“gnome_activity_journal.py”的文件。如果没有,请从以下位置下载http://bazaar.launchpad.net/~gnome-zeitgeist/gnome-activity-journal/trunk/download/head%3A/gnome_activity_journ-20100726164417-6eyauzy3rk1f1i05-2/gnome_activity_journal.py 将此文件放在上面提到的目录中,然后通过执行“zeitgeist-daemon --replace”重新启动 zeitgeist