我只是在我的root用户和最终我的其他用户上使用django-haystack和xapian进行了一点安装过程,所有的响应似乎都是正常的。即使当我在shell中的other_user中运行import xapian和import haystack时,它也能正常运行。The 'xapian' backend requires the installation of 'xapian</em
我正在用xapian/haystack索引一个模型。当我在本地机器上测试它时,一切都很好,但是当我试图在服务器上保存模型时,Xapian抛出了一个DatabaseLockErrorExceptionLocation: /opt/python2.6/lib/python2.6/site-packages/xapian.py in __init__, line 2886
2886: _xapian