Hi guys,

I've got a problem with my Pootle (2.1.9) installation: certain strings cannot 
be found which is kind of annoying.

We're running Pootle on Bitnami and I've installed everything according to 
their documentation 
http://wiki.bitnami.com/Applications/BitNami_Pootle#How_to_install_Xapian_to_enable_search_feature.3f

Also got the translation-tools package btw.

It seems like the issue is that only strings that were added after the 
installation of Pootle and Xapian cannot be found. Strings that were present in 
our .po files prior to that date do show up in the search. 

See the screenshot for a scenario. Pootle will find "Kursseiten", but when I 
search for "Nachname" (which is visible in the bottom of the screenshot) I will 
not get any results. "Nachname" was added 2 weeks after I initially set up 
Xapian and Pootle. Other strings that cannot be found are also added to the po 
files days or weeks after the initial setup.

I suspect it to be something related to this, e.g. the indexer not running or 
working properly. I've ran the tests as mentioned on 
http://docs.translatehouse.org/projects/pootle/en/stable-2.5.0/server/indexing.html
 and this is the output:

bitnami@ip-10-235-7-44:/opt/bitnami/apps/pootle$ xapian-check --version
xapian-check - xapian-core 1.2.12

bitnami@ip-10-235-7-44:/opt/bitnami/apps/pootle$ sudo python 
/opt/bitnami/python/lib/python2.7/site-packages/translate/search/indexing/test_indexers.py
************ running tests for 'XapianIndexer' *****************
************ SKIPPING tests for 'PyLuceneIndexer' *****************
************ SKIPPING tests for 'PyLuceneIndexer1' *****************
bitnami@ip-10-235-7-44:/opt/bitnami/apps/pootle$

So Xapian is there, but tests for XapianIndexer do not show any output?

I've noticed some errors in the apache error_log:

[Fri Jun 28 11:01:43 2013] [error] 2013-06-28 11:01:43,285 WARNING Stale lock 
found in 
/opt/bitnami/apps/pootle/var/lib/pootle/po/one/de_DE/.translation_index/xapian, 
removing.
[Fri Jun 28 11:01:43 2013] [error] 2013-06-28 11:01:43,887 ERROR Error opening 
indexer for /de_DE/one/:
[Fri Jun 28 11:01:43 2013] [error] Unable to handle query type: <type 'long'>

So that indicates an issues with opening the indexer, but I've got no idea 
where to find that file. 

bitnami@ip-10-235-7-44:/opt/bitnami$ sudo ls -alR | grep 'de_DE/one'

Doesn't retrieve anything.

I had issues before with permissions not being correct (it made git not commit 
and pull) and walked through all Pootle folders and permissions appear to be 
okay. So I'm a bit out of options. 

Hope anyone of you can be of help here :)

Vincent Oord
Technical Product Manager 
Springest.com | Rokin 75 | 1012 KL Amsterdam


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to