Hi

Dne Wed, 2 Oct 2013 11:32:43 +0300
Marius Gedminas <[email protected]> napsal(a):

> On Tue, Oct 01, 2013 at 04:29:59PM +0900, Hamid F wrote:
> > My translation po file has 6K lines and using sqlite. Is that because of
> > sqlite or the query is a single big one?
> > 
> > DatabaseError at /admin/trans/subproject/add/
> > 
> > too many SQL variables
> 
> I had this error with SQLite.  I switched to PostgreSQL.  The error went
> away.

Indeed SQLite is not really good for anything else than testing.

> I did not have time to determine the root cause.

The problem is in deleting stale units, which can produce quite big
queries for big translations. I've at least documented it in the code:

https://github.com/nijel/weblate/commit/cec144a

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Weblate mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate

Reply via email to