Hi Alaa,
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.
I applied the path (but changed the print-command to a logging.warning-call). Enclosed you can find the log-file. I reset the values for TranslationStoreFieldFile._store_cache.maxsize and TranslationStoreFieldFile._store_cache.cullsize in refresh_stats.py back to 2/2. I tried other combinations (8/2, 8/8, 10/10, 40/10) but this had no effects to the error-logging. But it effects how many xliff-files will be refreshed in stats.db when recomputing the files. With 2/2 about 16 of 22 files per directory couldn't be read. I got the read exclamation marks with the corresponding message. Currently I'm using 40/10 and now the exclamations marks disappeared completely.
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).
I used PyLucene 2.3.1 because it is included in the ubuntu repository. This was installed under python2.5, so I created a symlink for python2.6. I think it is properly installed. In Python2.6 console I can execute "import lucene" and "lucene.initVM(lucene.CLASSPATH) ==> <jcc.JCCEnv object at 0x7f8692fb30d8>" without errors. How can I retrieve the java-lucene-version?

I although tried to install the current PyLucene release 3.0.0 but I failed because of the complicated build/installation procedure...

Greets

Johannes

Attachment: refresh_stats.log.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to