python /home/admin/mtr/script_for_cron.py -j default -m 16 -a 'python3 ~/workarea/git/Metolour/sql/script/suivilab.py -u 879,1026,995,1046,732,1092,1093,1107,1108' -s suivilab -M 0 -S 0 -U 120,120,120 import MySQLdb succeeded *************** nombre de crops dans 7 MONTHS *************** | first_name | last_name | user_id | date | semaine | nb_photo | nb_crop | type | |--------------|-------------|-----------|------------|-----------|------------|-----------|--------| | Samir | Rahani | 879 | 2025-03-05 | 9 | 27 | 473 | 4990 | | Diadie | Drame | 1108 | 2025-02-08 | 5 | 1 | 61 | 4968 | Catched exception ! *************** nombre de photos inserees dans 7 MONTHS *************** Traceback (most recent call last): File "/home/admin/workarea/git/Metolour/sql/script/suivilab.py", line 91, in print(tabulate(data_nb_crops["result"], headers=data_nb_crops["column"],tablefmt='github')) TypeError: 'NoneType' object is not subscriptable Command exited with non-zero status 1 0.27user 0.23system 9:35.24elapsed 0%CPU (0avgtext+0avgdata 31628maxresident)k 25136inputs+16outputs (1899major+7231minor)pagefaults 0swaps