the original error is not related to indexing (deque is used for the
file parse pool, used to avoid reparsing the same file multiple times).

I need more info to figure this out, attached is a patch will will
display a full traceback instead of just the warning, please apply it,
switch back to Xapian (you'll need to delete the lucene index
directories) and run refresh_stats again.

as for the pylucene problem, it is probably related to version (being
a pain to install and not commonly packaged PyLucene doesn't get much
testing outside my machine). do you know what version of lucene you are
using (I'll need both the python api and the java lucene version).

cheers,
Alaa


diff --git a/Pootle/local_apps/pootle_app/models/translation_project.py b/Pootle/local_apps/pootle_app/models/translation_project.py
index ff5b983..58eaa83 100644
--- a/Pootle/local_apps/pootle_app/models/translation_project.py
+++ b/Pootle/local_apps/pootle_app/models/translation_project.py
@@ -181,6 +181,9 @@ class TranslationProject(models.Model):
                     self.non_db_state._index_initialized = True
                 return indexer
             except Exception, e:
+                import traceback
+                tb = traceback.format_exc()
+                print tb
                 logging.warning("Could not initialize indexer for %s in %s: %s", self.project.code, self.language.code, str(e))
                 self.non_db_state._indexing_enabled = False
                 return None
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to