From da40cfd17a8500ddbdccd7d9d8f1fffb4b04f638 Mon Sep 17 00:00:00 2001 From: cherif Date: Thu, 25 May 2023 17:42:49 +0200 Subject: [PATCH] 25/05/23 - 18h --- .idea/workspace.xml | 21 +-- Log/log_file.log | 316 +++++++++++++++++++++++++++++++++++++++++++ Session_Formation.py | 14 +- business_prices.py | 4 +- 4 files changed, 338 insertions(+), 17 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 394e8b0..388f8b6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,14 +1,11 @@ - + - - - - - + + @@ -285,6 +289,7 @@ - \ No newline at end of file diff --git a/Log/log_file.log b/Log/log_file.log index 7906bd8..6fb93e9 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1584608,3 +1584608,319 @@ WARNING:werkzeug: * Debugger is active! INFO:werkzeug: * Debugger PIN: 710-830-086 INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading INFO:werkzeug: * Restarting with stat +INFO:root:2023-05-25 17:26:27.019005 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-05-25 17:26:27.019005 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-05-25 17:26:27.019005 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-05-25 17:26:27.019005 : ++ FLASK PORT 5001 ++ +INFO:root:2023-05-25 17:26:27.019005 : ++ LMS_BAS_URL mysy-training.fr/ ++ +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-05-25 17:26:38.951404 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-05-25 17:26:38.951404 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-05-25 17:26:38.951404 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-05-25 17:26:38.951404 : ++ FLASK PORT 5001 ++ +INFO:root:2023-05-25 17:26:38.951404 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 102-526-997 +INFO:root:2023-05-25 17:26:46.832624 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:46.835163 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:46.836161 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:46] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:47] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:47] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.034900 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.037919 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.549249 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.551266 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.555050 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.764003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.772102 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.779558 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.784579 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.790298 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.793536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.810476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.819894 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.824254 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.829374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.836767 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.843108 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.853960 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.864972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.873365 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.879206 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.886759 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.896165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:48.904114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:48.910134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:50.743129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:50.745131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:50] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:51.503439 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.504874 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.508400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.514779 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:51.522153 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:51.530148 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:51.833062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.836321 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:51.843578 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.845574 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.850028 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:51.853011 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:52.157792 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:52.160016 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:52.172037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:52.174541 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:52.175945 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:52.176963 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:26:52.484770 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:26:52.486131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:26:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:27:39.948163 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:41.183300 : partner_login Connexion partnair contact@mysy-training.com : OK, Date : 2023-05-25 17:27:39.949452 , _id = 641c21666cad03956ab28252 +INFO:root:2023-05-25 17:27:41.199429 : partner_login Connexion partener_token : OK , _id = 641c23520d5d7f136a823b3c +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:27:41.477370 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:41.482972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:41.487054 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:27:41.495381 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:41.505384 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:27:41.915460 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:27:56.829328 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:56.835679 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:27:56.841366 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:56] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:27:56] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:00.180400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:00] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:00.185789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:00.189331 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:00] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:00] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:04.001902 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:04.005923 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:04] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:04.010894 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:04] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:04.019337 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:04] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:04] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:23.915656 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:23.920880 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:23.927874 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:23.936147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:28:23.940180 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:23] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:23] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:23] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:23] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:23] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:28:26.132770 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:28:26] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:04.867844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:04] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:05.813848 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:05] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:19.114414 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:29:19.118866 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:19] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:19.126883 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:19] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:19] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:22.861310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:29:22.867685 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:22] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:22.874459 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:22] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:22.893561 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:22] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:22] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:51.122874 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:51] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:29:52.358761 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:29:52] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:02.740388 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:02.742644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:02.745127 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:02] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:02] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:07.780961 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:07.785015 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:07.791160 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:07.796189 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:28.819818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:28.822147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:28.829763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:28.838168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:28] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:28] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:28.846216 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:28] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:28] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:28] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:30:30.806113 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:30:30.837813 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:30:30] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:31:46.314812 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:31:46.351254 : Add_Update_SessionFormation - Impossible de créer/mettre à jour la session de formation : La date debut 13/08/2023 24:00:00 est postérieur à la date de fin 22/05/2023 24:00:00 +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:31:46] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\business_prices.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-05-25 17:33:57.214556 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-05-25 17:33:57.215726 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-05-25 17:33:57.215726 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-05-25 17:33:57.215726 : ++ FLASK PORT 5001 ++ +INFO:root:2023-05-25 17:33:57.215726 : ++ LMS_BAS_URL mysy-training.fr/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 102-526-997 +INFO:root:2023-05-25 17:34:13.778826 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:13] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:14.692309 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:14] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:20.618710 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:20.625577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:20.626581 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:20] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:20] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:25.271999 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:25.280629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:25.283772 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:25.300217 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:25] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:25] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:25] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:38.792973 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:38.795764 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:38.798786 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:38] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:38] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:41.146198 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:34:41.461542 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:41.462526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:34:41.466845 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:41] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:34:41] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:35:13.586842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:35:13.589407 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:35:13.593186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:35:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:35:13] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:35:13] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:36:06.042289 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:36:06.050515 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:36:06.053536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:06] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:06] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:36:13.730790 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:36:14.043580 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:36:14.045760 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:14] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:36:14] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:37:50.469956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:37:50.472401 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:37:50.475412 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:50] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:50] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:50] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:37:51.486746 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:37:51.490241 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:37:51.494796 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:51] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:51] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:37:56.536569 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:56] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:37:56.839719 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:37:56.842178 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:56] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:37:56] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:40:30.035180 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:40:30.040619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:40:30.045124 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:40:30.778761 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:40:30.783880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:40:30.789935 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:40:30] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:41:33.084993 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:41:33.090004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:41:33.095004 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:33] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:33] "POST /myclass/api/get_class/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:41:38.654312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-05-25 17:41:38.660308 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:41:38.669359 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:38] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-05-25 17:41:38.682032 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [25/May/2023 17:41:38] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 - diff --git a/Session_Formation.py b/Session_Formation.py index b0163b0..ade58a3 100644 --- a/Session_Formation.py +++ b/Session_Formation.py @@ -212,10 +212,10 @@ def Add_Update_SessionFormation(diction): str(inspect.stack()[0][ 3]) + " - Impossible de créer/mettre à jour la session de formation : La date debut " + str( diction['date_debut']) + - " est postérieur à la date de fin " + str(diction['date_fin']) ) + " est postérieure à la date de fin " + str(diction['date_fin']) ) return False, " Impossible de créer la session de formation : La date debut " + str(diction['date_debut']) + \ - " est postérieur à la date de fin " + str(diction['date_fin']) + " " + " est postérieure à la date de fin " + str(diction['date_fin']) + " " if (datetime.strptime(str(diction['date_debut_inscription'])[0:10], '%d/%m/%Y') > datetime.strptime( @@ -224,10 +224,10 @@ def Add_Update_SessionFormation(diction): str(inspect.stack()[0][ 3]) + " - Impossible de créer/mettre à jour la session de formation : La date date_debut_inscription " + str( diction['date_debut_inscription']) + - " est postérieur à la date de date_fin_inscription " + str(diction['date_fin_inscription']) ) + " est postérieure à la date de date_fin_inscription " + str(diction['date_fin_inscription']) ) return False, " Impossible de créer /mettre à jour la session de formation : La date_debut_inscription " + str(diction['date_debut_inscription']) + \ - " est postérieur à la date_fin_inscription " + str(diction['date_fin_inscription']) + " " + " est postérieure à la date_fin_inscription " + str(diction['date_fin_inscription']) + " " """ mytoday = datetime.today().strftime("%d/%m/%Y") @@ -621,10 +621,10 @@ def Add_Update_SessionFormation_mass(file=None, Folder=None, diction=None): mycommon.myprint( str(inspect.stack()[0][ 3]) + " - Impossible de créer la session de formation : La date debut " + str(mydata['date_debut']) + - " est postérieur à la date de fin " + str(mydata['date_fin']) + " pour la ligne "+str(n+2)+" ") + " est postérieure à la date de fin " + str(mydata['date_fin']) + " pour la ligne "+str(n+2)+" ") return False, " Impossible de créer la session de formation : La date debut " + str(mydata['date_debut']) +\ - " est postérieur à la date de fin " + str(mydata['date_fin']) + " pour la ligne "+str(n+2)+" " + " est postérieure à la date de fin " + str(mydata['date_fin']) + " pour la ligne "+str(n+2)+" " local_nb_participants = "0" @@ -793,7 +793,7 @@ def Add_Update_SessionFormation_mass(file=None, Folder=None, diction=None): str(inspect.stack()[0][ 3]) + " - Impossible de créer la session de formation : La date debut des inscriptions " + str( mydata['date_debut_inscription']) + - " est postérieur à la date de fin des inscriptions " + str(mydata['date_fin_inscription']) + " pour la ligne "+str(n+2)+" ") + " est postérieure à la date de fin des inscriptions " + str(mydata['date_fin_inscription']) + " pour la ligne "+str(n+2)+" ") return False, " Impossible de créer la session de formation : La date de fin des inscriptions est antérieure à la date de début des inscriptions : Ligne "+str(n+2)+" " diff --git a/business_prices.py b/business_prices.py index 1c11d9d..9e96598 100644 --- a/business_prices.py +++ b/business_prices.py @@ -96,9 +96,9 @@ def add_business_price(diction): str(date_au), '%d/%m/%Y')): mycommon.myprint( str(inspect.stack()[0][ - 3]) + " - Impossible de créer le prix. La date debut est postérieur à la date de fin " ) + 3]) + " - Impossible de créer le prix. La date debut est postérieure à la date de fin " ) - return False, " Impossible de créer le prix. La date debut est postérieur à la date de fin " + return False, " Impossible de créer le prix. La date debut est postérieure à la date de fin " mydata['date_du'] = date_du