每当我尝试打开时recoll
,都会弹出一个带有以下消息的弹出框:
Configuration problem: Configuration could not be built:
Explicitly specified configuration must exist (won't be automatically created)
我得到这个作为 stderr:
$ recoll
Got bus address: "unix:abstract=/tmp/dbus-GO0LJ4yYcr,guid=e695867e0d6df401c0df2baf0000dd87"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-GO0LJ4yYcr,guid=e695867e0d6df401c0df2baf0000dd87"
Registered DEC: true
:4:main.cpp:143:recollCleanup: writing settings
我尝试删除该.recoll
文件夹并运行sudo apt-get purge recoll && sudo apt-get install recoll
,但没有帮助。
更新:版本信息。
$ apt-cache policy recoll
recoll:
Installed: 1.16.2-1
Candidate: 1.16.2-1
Version table:
*** 1.16.2-1 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
更新 2:创建错误报告。
https://bitbucket.org/medoc/recoll/issue/168/recoll-wont-load-even-after-removing
附录:问题是我在我的~/.profile
:
export RECOLL_CONFDIR='~/.recoll'
由于该~/.recoll
文件夹在我的系统中尚不存在,因此recoll
很合理地显示错误。
答案1
取消设置 RECOLL_CONFDIR,或创建目标目录。Recoll 不会创建通过环境或命令行指定的配置目录(仅会自动创建隐式定义的默认配置目录)。