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 | |--------------|-----------------|-----------|------------|-----------|------------|-----------|--------| | Chloe | Escassut | 1107 | 2025-02-03 | 5 | 211 | 296 | 4986 | | Chloe | Escassut | 1107 | 2025-01-29 | 4 | 522 | 533 | 4986 | | Diadie | Drame | 1108 | 2025-01-30 | 4 | 1 | 213 | 4968 | | Maedeh | Hadadian | 1026 | 2025-01-29 | 4 | 2 | 137 | 4968 | | Chloe | Escassut | 1107 | 2025-01-20 | 3 | 1214 | 1365 | 4986 | | Arthur | DONGMO Solefack | 1092 | 2025-01-12 | 2 | 1 | 3 | 306 | | Arthur | DONGMO Solefack | 1092 | 2025-01-12 | 2 | 246 | 317 | 4357 | | Diadie | Drame | 1108 | 2025-01-15 | 2 | 19 | 30 | 4357 | | Maedeh | Hadadian | 1026 | 2025-01-18 | 2 | 1 | 1 | 4357 | | Samir | Rahani | 879 | 2025-01-15 | 2 | 1495 | 1729 | 4357 | | Arthur | DONGMO Solefack | 1092 | 2025-01-09 | 1 | 143 | 190 | 4357 | 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.30user 0.09system 9:37.23elapsed 0%CPU (0avgtext+0avgdata 31516maxresident)k 16384inputs+8outputs (963major+7211minor)pagefaults 0swaps