開発サーバーで Python を使用して期待どおりに xapian を動作させることができますが、Web サーバーに問題があります。
私はこのエラーに遭遇し続けます:
import xapian Traceback (最新の呼び出しが最後): ファイル ""、1 行目、ファイル "/home/x/lib/python2.6/xapian/ init .py"、28 行目、_xapian = swig_import_helper() ファイル "/ home/x/lib/python2.6/xapian/ init .py"、27 行目、swig_import_helper return _mod UnboundLocalError: local variable '_mod' referenced before assignment
swig の最新コピーをインストールし、xapian コアと xapian-bindings の両方を再インストールしましたが、エラーは解決しません。
どんなアイデアでも大歓迎です。