Skip to content

Sqlite query in get_jobs will fail is you have more than 999 jobs.

Created by: sc-jumper

I have submitted a large number of smaller jobs and if you call communicate...which calls *.get_jobs (this will fail for local and SGE), sqlite pukes. It should "chunk" the list and not fall over. Sqlite has a limitation when constructing the SQL query for finding a list of jobs. the "in" list must be limited to 999 items.

My fork has a similar "chunking" approach, but my fork is rather messy with local changes.

Edited by Amir MOHAMMADI