python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/Velours/python/mtr/utils/cdn/migration_s3_ovh/delete_photo_id_s3.py -j delete_by_right --right 13580 --limit 1000 --multi 1 --max_threads 20' -s delete_13580 -M 0 -S 0 -U 90,80,95 import MySQLdb succeeded Import error (python version) warning , we can't find thcl infos in json_data warning , we can't find pdt infos in json_data Starting time : 1770035793.902015 we keep the photo whose id end with 00 select photos undeleted TO DELETEElapsed time : 2.390270709991455 Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/utils/cdn/migration_s3_ovh/delete_photo_id_s3.py", line 724, in delete_photos_by_right(context,s3,desc,x.delete,x.verbose,x.storage_server, x.right, limit = x.limit, multi=x.multi, max_threads=x.max_threads,save_one_percent_photos = bool(x.save_one_percent_photos) ) File "/home/admin/workarea/git/Velours/python/mtr/utils/cdn/migration_s3_ovh/delete_photo_id_s3.py", line 615, in delete_photos_by_right photos = [photo for photo in photos if "photo_id" % 100 != 0 ] File "/home/admin/workarea/git/Velours/python/mtr/utils/cdn/migration_s3_ovh/delete_photo_id_s3.py", line 615, in photos = [photo for photo in photos if "photo_id" % 100 != 0 ] TypeError: not all arguments converted during string formatting Command exited with non-zero status 1 1.26user 1.52system 0:04.39elapsed 63%CPU (0avgtext+0avgdata 114760maxresident)k 352inputs+0outputs (5major+23351minor)pagefaults 0swaps