Closed Insoleet closed 9 years ago
Looks like some problem with updating Whoosh index. Maybe it's corrupted or it's having some problems in multi threaded environment.
Can you please try:
Should I commit the translations status before rebuilding index so that it wont be lost ?
Not needed - it's just fulltext index, it does not anyhow affect content.
Thanks.
So here are the results :
./manage.py rebuild_index --clean --all
Didn't fix the problem, I still can't see the portuguese language. I set "OFFLOAD_INDEXING = True", restarted the webserver, the language is still not detected.
EDIT : using loadpo, I was able to get the new language in weblate. I'll see in the next updates if that happens again or not. Thanks !
Great, please monitor the logs if you will get the error again...
We are seeing the same issue with Weblate 2.3 after adding a new language to two components within the same project; the new language showed up in only one of the two components and pulling the repos wouldn't help with the other. ./manage.py rebuild_index
didn't solve the issue, but manage.py loadpo --all --lang xx-XX
did.
Did you get same error? If so, the rebuild_index won't make the languages appear, it will just fix the error. Still I wonder why the index got corrupt, but maybe Whoosh isn't really good for this size of data (see #800).
We get ocassional Permission denied
lock errors during normal usage and 'NoneType' object has no attribute '__getitem__'
errors when memcached is restarted, but other than that I didn't see any particular error in this case, only the language didn't show up when it should have.
We reproduced this again today, we got a fatal: There is no merge to abort (MERGE_HEAD missing)
error after pulling the updates repos via weblate, and after manually pulling them directly from the local copy of the repos, we had to use manage.py
to add the new languages.
Can you please open separate issues for these? I haven't seen either of them so far, so it would be worth of further investigation.
Hello,
We are using weblate for ucoin project, and it's a great tool. Nice job !
Today, I wanted to add the portuguese-brazil language. Weblate did detect the update of the other .ts files, but didn't detect the new pt_BR.ts file. I checked and the file is present in the filesystem. The ts files are the following files :
Weblate did receive the github hook, but maybe I forced a pull too early ?
How can I force weblate to detect the new language again ?
Here are the logs :
And here are the versions I use :