python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py -T message -J last -I 10 -cs -q -DS 3073,3142,3385,3980,3981,4189,4197,4311,4323,4346,4887,4891 -C 533,4310,4489,4892 ' -s temps_de_traitement -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 Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 68, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1054, "Unknown column 'None' in 'where clause'") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 600, in print(LastDayCheck(context,nombre_de_dashboard)) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 323, in LastDayCheck return CheckUploads(res,date.today() - timedelta(days= lastday), entry_day,nombre_de_dashboard) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 212, in CheckUploads CreateRunsDictionary(entry_day) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 73, in CreateRunsDictionary batches[basename] = RunsList(run[1]) File "/home/admin/workarea/git/Velours/python/prod/suivi_dashboard.py", line 65, in RunsList runslist = context.gq.select(jjj) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 79, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1054, "Unknown column 'None' in 'where clause'") Command exited with non-zero status 1 1.29user 0.95system 0:01.64elapsed 136%CPU (0avgtext+0avgdata 102364maxresident)k 144inputs+0outputs (0major+21010minor)pagefaults 0swaps