无法在 Evolution 中创建 CouchDB 地址簿?

无法在 Evolution 中创建 CouchDB 地址簿?

我似乎无法在 evolution 中创建新的 couchDB 地址簿或打开进化论认为我拥有的那些。.我尝试过这些建议无济于事:

$ killall beam.smp beam
beam: no process found
$ rm /home/amanda/.config/desktop-couch/desktop-couchdb.ini 
$ dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

下一个建议是killall -9 e-addressbook-factory然后export COUCHDB_DEBUG_MESSAGES=1重新启动/usr/lib/evolution/e-addressbook-factory&

e-addressbook-factory 未运行,但重新启动它似乎一切正常。当我尝试查看我的 CouchDB 地址簿时(我尝试创建第二个地址簿,所以我现在有两个),我得到了以下信息:

** (e-addressbook-factory:6491): WARNING **: Couldn't get port for desktopcouch: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/desktopcouch/desktopcouch-service", line 73, in getPort
    port = int(desktopcouch._direct_access_find_port())
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 193, in __find_port__linux
    return __find_port__linux(pid, ctx, retries_left - 1)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 193, in __find_port__linux
    return __find_port__linux(pid, ctx, retries_left - 1)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 193, in __find_port__linux
    return __find_port__linux(pid, ctx, retries_left - 1)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 194, in __find_port__linux
    raise RuntimeError("Unable to find listening port")
RuntimeError: Unable to find listening port


** (e-addressbook-factory:6491): WARNING **: Could not create DesktopcouchSession object

最后一个建议是——停止desktopcouch并删除.ini文件和缓存的couchdb.html——但效果并没有任何改善。

** (e-addressbook-factory:6680): WARNING **: Couldn't get port for desktopcouch: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (e-addressbook-factory:6680): WARNING **: Could not create DesktopcouchSession object

我其实不需要我的数据,我已经有了。不过我想开始使用 UbuntuOne 的联系人同步。这里显然缺少了一些东西。

答案1

我注意到您 Rm 了您的 desk.ini 文件。

当您重新启动 Couch 时,可能尚未成功重新安装文件。我遇到过这个问题一段时间。

尝试 /usr/lib/desktopcouch/desktopcouch-service

dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort

xdg-打开文件:///home/amanda/.local/share/desktop-couch/couchdb.html

这将重新创建 ini 文件,随机化端口并完全重启系统。完成后,它会在 Apache 服务器上显示您的详细信息

相关内容