cur.execute("SELECT * FROM "+source+" LIMIT %s, 300", (i))
rows = cur.fetchall()
curBB.executemany("INSERT INTO "+dest+" (id, bookmakerId, playTypeId, marketTypeId, resultTypeId, competitionId, competition, runner_id, runnerName, datetime, team1, team2, koef, url, link_attr_name, link_attr_value, created_at, updated_at) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", rows)
Приводит к ошибке
TypeError: not all arguments converted during string formatting
Как с этим справиться?