diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 47ce593..20f895d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,11 @@ - + + - @@ -462,7 +462,6 @@ - @@ -487,6 +486,7 @@ - \ No newline at end of file diff --git a/GlobalVariable.py b/GlobalVariable.py index 8c7e086..943a893 100644 --- a/GlobalVariable.py +++ b/GlobalVariable.py @@ -779,3 +779,49 @@ EMAIL_MAX_PJ = 5 La clé API de OpenAI """ OPENAI_KEY = "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" + +""" +Variable interne pour le traitement +des mysy_voice_to_text +""" +#Les collections autorisées pour les opérations voix +mysy_voice_instruction_related_collection = ['myclass', 'session_formation', 'parter_order_header', 'parter_order_line'] + +#Les mots de ponctuation vocale +mysy_voice_stop_word = ['stop', 'fin'] + +#Les champs autorisés par collection +mysy_voice_instruction_collection_field = { + "myclass": [ + "Titre", + "Description", + "Programme" + ], + "session_formation": [ + "Titre", + "Debut", + "Fin" + ] +} + + +#Les actions autorisées par collection +mysy_voice_instruction_collection_action = { + "myclass": [ + {"créer": "create"}, {"création": "create"}, {"crée": "create"}, + {"ajoute": "create"}, {"ajout": "create"}, {"nouvelle": "create"}, + {"nouveau": "create"}, + + {"met à jour": "update"}, {"met a jour": "update"}, {"mettre à jour": "update"}, + {"mettre a jour": "update"}, {"modifier": "update"}, {"modifie": "update"}, + {"update":"update"} , + ], + "session_formation": [ + {"créer": "create"}, {"création": "create"}, {"crée": "create"}, + {"ajoute": "create"}, {"ajout": "create"}, {"nouvelle": "create"}, + {"nouveau": "create"}, + {"met à jour": "update"}, {"met a jour": "update"}, {"mettre à jour": "update"}, + {"mettre a jour": "update"}, {"modifier": "update"}, {"modifie": "update"}, + {"update":"update"} , + ] +} diff --git a/Log/log_file.log b/Log/log_file.log index 7baff6a..6b7e052 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -2919970,3 +2919970,1725 @@ DEBUG:httpcore.http11:response_closed.complete DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers({'date': 'Tue, 10 Dec 2024 21:09:45 GMT', 'content-type': 'application/json', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'access-control-expose-headers': 'X-Request-ID', 'openai-organization': 'user-1wqtln7hwej6qqr3ar1uf5ok', 'openai-processing-ms': '1482', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-ratelimit-limit-requests': '500', 'x-ratelimit-remaining-requests': '499', 'x-ratelimit-reset-requests': '120ms', 'x-request-id': 'req_74aa6c66432e396b2d2b96362093c23f', 'cf-cache-status': 'DYNAMIC', 'x-content-type-options': 'nosniff', 'server': 'cloudflare', 'cf-ray': '8f0037b0fcc71296-MRS', 'content-encoding': 'br', 'alt-svc': 'h3=":443"; ma=86400'}) DEBUG:openai._base_client:request_id: req_74aa6c66432e396b2d2b96362093c23f INFO:werkzeug:127.0.0.1 - - [10/Dec/2024 22:09:46] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +DEBUG:httpcore.connection:close.started +DEBUG:httpcore.connection:close.complete +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-11 20:20:42.658501 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-11 20:20:42.658501 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-11 20:20:42.658501 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-11 20:20:42.658501 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-11 20:20:42.659503 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-11 20:21:04.832160 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-11 20:21:04.832160 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-11 20:21:04.832160 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-11 20:21:04.832160 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-11 20:21:04.833167 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:13:29.055532 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:13:29.056530 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:13:29.056530 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:13:29.056530 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:13:29.056530 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:13:43.617180 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:13:43.617180 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:13:43.617180 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:13:43.618181 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:13:43.618181 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-12 21:24:35.574936 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.579964 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.585338 : Le token partner est vide +INFO:root:2024-12-12 21:24:35.587342 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.594342 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.600363 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.605892 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.605892 : Le token partner est vide +INFO:root:2024-12-12 21:24:35.672899 : La session de connexion n'est pas valide +INFO:root:2024-12-12 21:24:35.672899 : La session de connexion n'est pas valide +INFO:root:2024-12-12 21:24:35.674387 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:35.676924 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:35] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:35.687200 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.695504 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:35.700211 : La session de connexion n'est pas valide +INFO:root:2024-12-12 21:24:35.702136 : La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:35] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:36.907545 : getRecodedImage - Impossible de récupérer le recid du user +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:36.907545 : getRecodedImage - Impossible de récupérer le recid du user +INFO:root:2024-12-12 21:24:36.908983 : get_partner_account - La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:36.909987 : get_partner_account - La session de connexion n'est pas valide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:48.761821 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:48] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.100385 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.108417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.114866 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.122265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.129198 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.137285 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.165593 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.173575 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.183681 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.217883 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.490630 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.497903 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.502937 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.512538 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.522636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.536568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.558124 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:24:49.582577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.591040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:24:49.600178 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:24:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:04.698279 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:04.704555 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:04.706684 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:04.713909 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:04.723175 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:04.731665 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:04.761009 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:04.763375 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:04] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:05.121367 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.126520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.132641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.139813 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.145924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.160379 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:05.189211 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.196218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:05.206212 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:05.214219 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:05] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.761876 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.766148 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.771535 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.776212 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.785653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.791225 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.806869 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.814159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.826995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.829908 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.850287 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.869876 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Given_SessionFormation_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.903417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-12 21:25:13.905660 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.915422 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Personnalisable_Collection/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.931147 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Get_Personnalisable_Collection_Fields/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.943134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/get_list_specific_field_partner_by_object/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.965842 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.970369 : get_Agenda_Event_List - La valeur 'related_collection' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/get_Agenda_Event_List/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:25:13.974373 : Audit_Session_Action_Inscrit L'identifiant de la session est invalide +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:13] "POST /myclass/api/Audit_Session_Action_Inscrit/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:14] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:25:14] "POST /myclass/api/Get_Editable_Document_By_Partner_By_Collection/ HTTP/1.1" 200 - +INFO:root:2024-12-12 21:26:54.735480 : Security check : IP adresse '127.0.0.1' connected +DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/mysy_test_voice_mp3.mp3'>)], 'json_data': {'model': 'whisper-1'}} +DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions +DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None +DEBUG:httpcore.connection:connect_tcp.complete return_value= +DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0 +DEBUG:httpcore.connection:start_tls.complete return_value= +DEBUG:httpcore.http11:send_request_headers.started request= +DEBUG:httpcore.http11:send_request_headers.complete +DEBUG:httpcore.http11:send_request_body.started request= +DEBUG:httpcore.http11:send_request_body.complete +DEBUG:httpcore.http11:receive_response_headers.started request= +DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Thu, 12 Dec 2024 20:26:59 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'3331'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_a2c5efd573aa65c417af8c9a92cd74ee'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=2WCK7OwKOmHULfPDtypqsTHcbopxISqPY0I4eciN.II-1734035219-1.0.1.1-phNZCzw8.7ZhO6grk31Yocg7tx0II_.JQZ8R751mnhwoG6VOcwR8QQE5I3xbCrzG6iWrqlIlVM20nnhJ069ZcQ; path=/; expires=Thu, 12-Dec-24 20:56:59 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=ft9LpjpDkrUcd7JzRwsP1rXoDYlauHeKnxz0F_Kp6VU-1734035219078-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f1073b689b4e1e5-MRS'), (b'Content-Encoding', b'br'), (b'alt-svc', b'h3=":443"; ma=86400')]) +INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK" +DEBUG:httpcore.http11:receive_response_body.started request= +DEBUG:httpcore.http11:receive_response_body.complete +DEBUG:httpcore.http11:response_closed.started +DEBUG:httpcore.http11:response_closed.complete +DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Thu, 12 Dec 2024 20:26:59 GMT'), ('content-type', 'application/json'), ('transfer-encoding', 'chunked'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '3331'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_a2c5efd573aa65c417af8c9a92cd74ee'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=2WCK7OwKOmHULfPDtypqsTHcbopxISqPY0I4eciN.II-1734035219-1.0.1.1-phNZCzw8.7ZhO6grk31Yocg7tx0II_.JQZ8R751mnhwoG6VOcwR8QQE5I3xbCrzG6iWrqlIlVM20nnhJ069ZcQ; path=/; expires=Thu, 12-Dec-24 20:56:59 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=ft9LpjpDkrUcd7JzRwsP1rXoDYlauHeKnxz0F_Kp6VU-1734035219078-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f1073b689b4e1e5-MRS'), ('content-encoding', 'br'), ('alt-svc', 'h3=":443"; ma=86400')]) +DEBUG:openai._base_client:request_id: req_a2c5efd573aa65c417af8c9a92cd74ee +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:27:01] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +DEBUG:httpcore.connection:close.started +DEBUG:httpcore.connection:close.complete +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:31:05.027496 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:31:05.027496 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:31:05.027496 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:31:05.027496 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:31:05.027496 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-12 21:31:05.125197 : Security check : IP adresse '127.0.0.1' connected +DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/mysy_test_voice_mp3.mp3'>)], 'json_data': {'model': 'whisper-1'}} +DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions +DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None +DEBUG:httpcore.connection:connect_tcp.complete return_value= +DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0 +DEBUG:httpcore.connection:start_tls.complete return_value= +DEBUG:httpcore.http11:send_request_headers.started request= +DEBUG:httpcore.http11:send_request_headers.complete +DEBUG:httpcore.http11:send_request_body.started request= +DEBUG:httpcore.http11:send_request_body.complete +DEBUG:httpcore.http11:receive_response_headers.started request= +DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Thu, 12 Dec 2024 20:31:06 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'1346'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_6f5a56cc7e04dc45a8b8f975289a8e6b'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=5OK._WfA7ba8305i.dYu1YgrhoZPb8JU2k46x52rVWo-1734035466-1.0.1.1-uQ26YF9sQk3SoGuf4vZr5ZOtS6k_GoF.TaLhihWjWCqyyHXirE.FS5VEFFUHxGEa0kTbiS_A8atl1yAMbwLnug; path=/; expires=Thu, 12-Dec-24 21:01:06 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=yrNB4NSF1CTU7oLNo84fwOYay48dBqscAgNyGhYesl4-1734035466732-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f1079cdfd0f1896-MRS'), (b'Content-Encoding', b'br'), (b'alt-svc', b'h3=":443"; ma=86400')]) +INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK" +DEBUG:httpcore.http11:receive_response_body.started request= +DEBUG:httpcore.http11:receive_response_body.complete +DEBUG:httpcore.http11:response_closed.started +DEBUG:httpcore.http11:response_closed.complete +DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Thu, 12 Dec 2024 20:31:06 GMT'), ('content-type', 'application/json'), ('transfer-encoding', 'chunked'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '1346'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_6f5a56cc7e04dc45a8b8f975289a8e6b'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=5OK._WfA7ba8305i.dYu1YgrhoZPb8JU2k46x52rVWo-1734035466-1.0.1.1-uQ26YF9sQk3SoGuf4vZr5ZOtS6k_GoF.TaLhihWjWCqyyHXirE.FS5VEFFUHxGEa0kTbiS_A8atl1yAMbwLnug; path=/; expires=Thu, 12-Dec-24 21:01:06 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=yrNB4NSF1CTU7oLNo84fwOYay48dBqscAgNyGhYesl4-1734035466732-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f1079cdfd0f1896-MRS'), ('content-encoding', 'br'), ('alt-svc', 'h3=":443"; ma=86400')]) +DEBUG:openai._base_client:request_id: req_6f5a56cc7e04dc45a8b8f975289a8e6b +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:31:09] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:31:56.107208 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:31:56.107208 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:31:56.107208 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:31:56.107208 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:31:56.107208 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-12 21:32:05.210519 : Security check : IP adresse '127.0.0.1' connected +DEBUG:openai._base_client:Request options: {'method': 'post', 'url': '/audio/transcriptions', 'headers': {'Content-Type': 'multipart/form-data'}, 'files': [('file', <_io.BufferedReader name='temp_direct/test_audio_pr_IA.mp3'>)], 'json_data': {'model': 'whisper-1'}} +DEBUG:openai._base_client:Sending HTTP Request: POST https://api.openai.com/v1/audio/transcriptions +DEBUG:httpcore.connection:connect_tcp.started host='api.openai.com' port=443 local_address=None timeout=5.0 socket_options=None +DEBUG:httpcore.connection:connect_tcp.complete return_value= +DEBUG:httpcore.connection:start_tls.started ssl_context= server_hostname='api.openai.com' timeout=5.0 +DEBUG:httpcore.connection:start_tls.complete return_value= +DEBUG:httpcore.http11:send_request_headers.started request= +DEBUG:httpcore.http11:send_request_headers.complete +DEBUG:httpcore.http11:send_request_body.started request= +DEBUG:httpcore.http11:send_request_body.complete +DEBUG:httpcore.http11:receive_response_headers.started request= +DEBUG:httpcore.http11:receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Thu, 12 Dec 2024 20:32:06 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'access-control-expose-headers', b'X-Request-ID'), (b'openai-organization', b'user-1wqtln7hwej6qqr3ar1uf5ok'), (b'openai-processing-ms', b'2171'), (b'openai-version', b'2020-10-01'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains; preload'), (b'x-ratelimit-limit-requests', b'500'), (b'x-ratelimit-remaining-requests', b'499'), (b'x-ratelimit-reset-requests', b'120ms'), (b'x-request-id', b'req_d760b03f094ad100c9b8e5f9e68e3acf'), (b'CF-Cache-Status', b'DYNAMIC'), (b'Set-Cookie', b'__cf_bm=3MHxTXEJYFi0nZQAACkDrrqG3lzsDwcBm2G1Nhz_J6A-1734035526-1.0.1.1-0KrQCv6aPy.XZ_E2JqdaMerjXctIvjxj4XcGCT0Gaf4oBifDoKRwjfcToRnwl5.R_.9hIVgzyaYMfJ_DQcR4UQ; path=/; expires=Thu, 12-Dec-24 21:02:06 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'X-Content-Type-Options', b'nosniff'), (b'Set-Cookie', b'_cfuvid=rxIgYD6URwNhcd1Is1TWVrXIqLUX9rAC1KROhxft4m8-1734035526606-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8f107b437e3de27d-MRS'), (b'Content-Encoding', b'br'), (b'alt-svc', b'h3=":443"; ma=86400')]) +INFO:httpx:HTTP Request: POST https://api.openai.com/v1/audio/transcriptions "HTTP/1.1 200 OK" +DEBUG:httpcore.http11:receive_response_body.started request= +DEBUG:httpcore.http11:receive_response_body.complete +DEBUG:httpcore.http11:response_closed.started +DEBUG:httpcore.http11:response_closed.complete +DEBUG:openai._base_client:HTTP Response: POST https://api.openai.com/v1/audio/transcriptions "200 OK" Headers([('date', 'Thu, 12 Dec 2024 20:32:06 GMT'), ('content-type', 'application/json'), ('transfer-encoding', 'chunked'), ('connection', 'keep-alive'), ('access-control-expose-headers', 'X-Request-ID'), ('openai-organization', 'user-1wqtln7hwej6qqr3ar1uf5ok'), ('openai-processing-ms', '2171'), ('openai-version', '2020-10-01'), ('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'), ('x-ratelimit-limit-requests', '500'), ('x-ratelimit-remaining-requests', '499'), ('x-ratelimit-reset-requests', '120ms'), ('x-request-id', 'req_d760b03f094ad100c9b8e5f9e68e3acf'), ('cf-cache-status', 'DYNAMIC'), ('set-cookie', '__cf_bm=3MHxTXEJYFi0nZQAACkDrrqG3lzsDwcBm2G1Nhz_J6A-1734035526-1.0.1.1-0KrQCv6aPy.XZ_E2JqdaMerjXctIvjxj4XcGCT0Gaf4oBifDoKRwjfcToRnwl5.R_.9hIVgzyaYMfJ_DQcR4UQ; path=/; expires=Thu, 12-Dec-24 21:02:06 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('x-content-type-options', 'nosniff'), ('set-cookie', '_cfuvid=rxIgYD6URwNhcd1Is1TWVrXIqLUX9rAC1KROhxft4m8-1734035526606-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None'), ('server', 'cloudflare'), ('cf-ray', '8f107b437e3de27d-MRS'), ('content-encoding', 'br'), ('alt-svc', 'h3=":443"; ma=86400')]) +DEBUG:openai._base_client:request_id: req_d760b03f094ad100c9b8e5f9e68e3acf +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:32:09] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +DEBUG:httpcore.connection:close.started +DEBUG:httpcore.connection:close.complete +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:33:33.340719 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:33:33.340719 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:33:33.340719 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:33:33.340719 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:33:33.340719 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:39:05.521274 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:39:05.521274 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:39:05.521274 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:39:05.521274 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:39:05.521274 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:41:20.185985 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:41:20.185985 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:41:20.185985 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:41:20.185985 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:41:20.185985 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:41:51.685786 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:41:51.685786 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:41:51.685786 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:41:51.685786 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:41:51.685786 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-12 21:42:29.579772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:42:29] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:43:34.257207 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:43:34.257207 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:43:34.257207 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:43:34.257207 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:43:34.257207 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-12 21:43:34.296650 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/Dec/2024 21:43:34] "POST /myclass/api/Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-12 21:44:28.777042 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-12 21:44:28.777042 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-12 21:44:28.777042 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-12 21:44:28.777042 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-12 21:44:28.777042 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:16:26.233676 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:16:26.233676 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:16:26.234680 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:16:26.234680 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:16:26.234680 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:16:38.745991 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:16:38.746992 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:16:38.746992 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:16:38.746992 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:16:38.746992 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:17:59.230180 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:17:59.231177 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:17:59.231177 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:17:59.231177 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:17:59.231177 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:19:45.389031 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:19:45.390033 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:19:45.390033 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:19:45.390033 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:19:45.390033 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:20:18.887799 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:20:18.887799 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:20:18.888788 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:20:18.888788 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:20:18.888788 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:24:21.294076 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:24:21.294076 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:24:21.294076 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:24:21.294076 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:24:21.294076 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:46:19.028886 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:46:19.028886 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:46:19.028886 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:46:19.028886 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:46:19.028886 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:46:28.923350 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:46:28.923350 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:46:28.923350 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:46:28.923350 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:46:28.923350 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:47:00.529515 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:47:00.529515 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:47:00.529515 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:47:00.529515 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:47:00.529515 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:54:16.785138 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:54:16.785138 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:54:16.785138 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:54:16.785138 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:54:16.785138 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:55:03.569268 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:55:03.569268 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:55:03.569268 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:55:03.569268 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:55:03.569268 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 20:59:00.702491 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 20:59:00.702491 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 20:59:00.702491 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 20:59:00.703498 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 20:59:00.703498 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:00:00.191458 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:00:00.191458 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:00:00.191458 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:00:00.191458 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:00:00.191458 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:02:02.079948 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:02:02.079948 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:02:02.080950 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:02:02.080950 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:02:02.080950 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:11:34.263093 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:11:34.264110 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:11:34.264110 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:11:34.264110 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:11:34.264110 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:11:54.977532 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:11:54] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:18:04.062551 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:18:04.062551 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:18:04.062551 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:18:04.062551 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:18:04.062551 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:21:07.592471 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:21:07.592471 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:21:07.592471 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:21:07.592471 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:21:07.592471 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:21:17.370419 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:21:17.370419 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:21:17.371416 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:21:17.371416 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:21:17.371416 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:23:04.874769 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:23:04] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:24:02.615106 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:24:02.615106 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:24:02.615106 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:24:02.615106 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:24:02.615106 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:24:29.686720 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:24:29.687721 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:24:29.687721 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:24:29.687721 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:24:29.687721 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:28:34.401859 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:28:34] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:30:13.737337 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:30:13.737337 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:30:13.737337 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:30:13.737337 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:30:13.737337 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:30:21.914962 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:30:21] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:31:26.670962 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:31:26.670962 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:31:26.670962 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:31:26.670962 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:31:26.671958 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:32:02.955743 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:32:02.955743 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:32:02.955743 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:32:02.956746 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:32:02.956746 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:32:15.552911 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:32:15.552911 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:32:15.552911 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:32:15.552911 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:32:15.552911 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:32:15.594764 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:32:15] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:32:38.531852 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:32:38.531852 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:32:38.531852 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:32:38.531852 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:32:38.531852 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:32:38.571840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:32:38] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:33:34.532394 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:33:34.532394 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:33:34.532394 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:33:34.532394 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:33:34.532394 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:33:34.586447 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:33:34] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:35:22.374313 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:35:22.374313 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:35:22.374313 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:35:22.374313 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:35:22.375321 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:35:22.422984 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:35:22] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-13 21:36:57.578911 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-13 21:36:57.578911 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-13 21:36:57.578911 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-13 21:36:57.578911 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-13 21:36:57.579912 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-13 21:37:20.814264 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/Dec/2024 21:37:20] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:33:11.195004 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:33:11.196007 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:33:11.196007 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:33:11.197015 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:33:11.197015 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:33:24.932419 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:33:24.932419 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:33:24.933421 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:33:24.933421 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:33:24.933421 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 10:35:08.760617 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 10:35:08] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:35:37.866874 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:35:37.866874 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:35:37.866874 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:35:37.866874 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:35:37.866874 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 10:35:37.918161 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 10:35:37] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:50:42.151202 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:50:42.151202 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:50:42.151202 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:50:42.151202 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:50:42.151202 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:51:24.817642 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:51:24.818641 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:51:24.818641 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:51:24.818641 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:51:24.818641 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:52:41.984061 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:52:41.984061 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:52:41.984061 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:52:41.984061 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:52:41.984061 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:53:09.270366 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:53:09.270366 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:53:09.270366 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:53:09.270366 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:53:09.270366 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 10:55:09.243366 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 10:55:09.243366 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 10:55:09.243366 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 10:55:09.243366 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 10:55:09.243366 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:40:05.938742 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:40:05.938742 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:40:05.939743 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:40:05.939743 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:40:05.939743 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:44:58.977208 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:44:58.978213 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:44:58.978213 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:44:58.978213 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:44:58.978213 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:50:17.518387 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:50:17.519390 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:50:17.519390 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:50:17.519390 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:50:17.519390 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:51:43.093499 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:51:43.093499 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:51:43.093499 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:51:43.093499 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:51:43.093499 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:52:06.495497 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:52:06.496528 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:52:06.496528 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:52:06.496528 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:52:06.496528 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:52:25.843095 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:52:25.843095 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:52:25.843095 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:52:25.843095 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:52:25.844094 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:52:47.217334 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:52:47.218473 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:52:47.218473 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:52:47.218473 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:52:47.218473 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:53:13.592947 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:53:13.592947 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:53:13.592947 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:53:13.592947 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:53:13.592947 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:53:48.240073 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:53:48.241071 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:53:48.241071 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:53:48.241071 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:53:48.241071 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:54:18.027709 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:54:18.028708 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:54:18.028708 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:54:18.028708 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:54:18.028708 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:54:36.495577 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:54:36.495577 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:54:36.495577 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:54:36.495577 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:54:36.495577 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:54:50.286704 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:54:50.286704 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:54:50.286704 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:54:50.286704 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:54:50.287703 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:57:35.666295 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:57:35.666295 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:57:35.666295 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:57:35.666295 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:57:35.666295 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:57:58.202224 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:57:58.202224 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:57:58.202224 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:57:58.202224 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:57:58.202224 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 11:59:21.954829 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 11:59:21.954829 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 11:59:21.954829 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 11:59:21.954829 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 11:59:21.954829 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:00:29.977066 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:00:29.977066 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:00:29.977066 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:00:29.977066 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:00:29.977066 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:02:06.751616 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:02:06.751616 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:02:06.751616 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:02:06.751616 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:02:06.751616 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:04:05.049378 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:04:05.050596 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:04:05.050596 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:04:05.050596 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:04:05.050596 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:04:48.852346 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:04:48.852346 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:04:48.852346 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:04:48.852346 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:04:48.852346 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 12:05:50.672995 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 12:05:50] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:08:25.169909 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:08:25.169909 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:08:25.169909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:08:25.169909 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:08:25.169909 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 12:09:02.587140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 12:09:02] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:16:33.668480 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:16:33.668480 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:16:33.668480 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:16:33.669479 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:16:33.669479 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:17:04.091260 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:17:04.091260 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:17:04.092262 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:17:04.092262 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:17:04.092262 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:23:28.356287 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:23:28.356287 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:23:28.356287 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:23:28.357288 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:23:28.357288 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:24:35.919341 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:24:35.919341 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:24:35.919341 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:24:35.919341 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:24:35.919341 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:25:04.618137 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:25:04.619138 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:25:04.619138 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:25:04.619138 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:25:04.619138 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:30:34.267263 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:30:34.267263 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:30:34.267263 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:30:34.267263 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:30:34.267263 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:34:34.365601 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:34:34.366601 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:34:34.366601 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:34:34.366601 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:34:34.366601 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:42:29.834138 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:42:29.834138 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:42:29.835117 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:42:29.835117 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:42:29.835117 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:43:44.327831 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:43:44.327831 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:43:44.327831 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:43:44.327831 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:43:44.327831 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:50:16.625346 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:50:16.625346 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:50:16.625346 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:50:16.626524 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:50:16.626524 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:50:29.924383 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:50:29.924383 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:50:29.924383 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:50:29.924383 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:50:29.924383 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 12:50:38.257939 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 12:50:38] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 12:58:45.848474 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 12:58:45.848474 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 12:58:45.848474 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 12:58:45.848474 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 12:58:45.848474 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 12:59:24.138582 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 12:59:24] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:04:48.074836 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:04:48.074836 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:04:48.074836 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:04:48.074836 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:04:48.074836 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:05:00.711816 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:05:00.711816 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:05:00.711816 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:05:00.711816 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:05:00.711816 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:08:55.850947 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:08:55] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:10:31.661941 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:10:31.661941 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:10:31.661941 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:10:31.661941 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:10:31.661941 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:11:13.103118 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:11:13.103118 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:11:13.103118 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:11:13.103118 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:11:13.103118 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:11:56.875622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:11:56] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:27:16.467205 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:27:16.467205 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:27:16.467205 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:27:16.467205 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:27:16.467205 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:27:29.998157 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:27:29.998157 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:27:29.998157 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:27:29.998157 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:27:29.998157 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:27:30.053368 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:27:30] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:28:25.299882 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:28:25.299882 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:28:25.300856 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:28:25.300856 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:28:25.300856 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:28:46.736218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:28:46] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:31:06.980224 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:31:06.980224 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:31:06.980224 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:31:06.980224 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:31:06.980224 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:31:43.190613 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:31:43.190613 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:31:43.190613 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:31:43.190613 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:31:43.190613 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:34:45.864809 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:34:45.865810 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:34:45.865810 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:34:45.865810 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:34:45.865810 : ++ LMS_BAS_URL mysy-training.com/ ++ +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 +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:34:59.039093 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:34:59.039093 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:34:59.040126 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:34:59.040126 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:34:59.040126 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:35:09.816800 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:35:09] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:40:25.319016 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:40:25.319016 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:40:25.320434 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:40:25.320434 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:40:25.320434 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:41:02.786218 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:41:02.786218 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:41:02.786218 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:41:02.786218 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:41:02.786218 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:41:19.824711 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:41:19.824711 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:41:19.824711 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:41:19.824711 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:41:19.825715 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:43:21.721496 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:43:21.721496 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:43:21.721496 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:43:21.721496 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:43:21.721496 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:44:04.006216 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:44:04.006216 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:44:04.006216 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:44:04.006216 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:44:04.006216 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:46:14.315911 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:46:14.315911 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:46:14.315911 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:46:14.315911 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:46:14.315911 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:46:45.394987 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:46:45.395988 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:46:45.395988 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:46:45.395988 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:46:45.395988 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:47:30.890633 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:47:30.891631 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:47:30.891631 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:47:30.891631 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:47:30.891631 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:48:27.079348 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:48:27.079348 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:48:27.080351 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:48:27.080351 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:48:27.080351 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:48:27.143409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:48:27] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:49:25.915684 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:49:25.915684 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:49:25.916678 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:49:25.916678 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:49:25.916678 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:54:34.955404 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:54:34.955404 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:54:34.955404 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:54:34.955404 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:54:34.956405 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:54:35.018521 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-14 13:54:36.115444 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.126417 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.133157 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.143135 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.148491 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.154007 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.161052 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.166973 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.172116 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.177706 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:54:36.183161 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:54:36] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:56:05.024630 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:56:05.024630 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:56:05.024630 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:56:05.024630 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:56:05.025148 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:56:05.074013 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-14 13:56:05.853639 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.879325 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.883422 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.887448 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.891583 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.897346 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.902356 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.905826 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.910049 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.914045 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:root:2024-12-14 13:56:05.918045 : mysy_openai_transform_instruction_text_to_json_tab -'in ' requires string as left operand, not dict_keys - ERRORRRR AT Line : 387 +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:56:05] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:56:39.945319 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:56:39.945319 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:56:39.945319 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:56:39.945319 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:56:39.946757 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:56:41.289788 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:56:41] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:57:38.845467 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:57:38.845467 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:57:38.845467 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:57:38.845467 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:57:38.845467 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:57:38.904570 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:57:38] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 13:59:03.452777 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 13:59:03.452777 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 13:59:03.452777 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 13:59:03.452777 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 13:59:03.452777 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 13:59:03.503095 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-12-14 13:59:04.646647 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.654956 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.659152 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.664756 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.669758 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.673786 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.676777 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.682745 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.685994 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.690388 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:root:2024-12-14 13:59:04.694787 : mysy_openai_transform_instruction_text_to_json_tab -'dict_keys' object is not subscriptable - ERRORRRR AT Line : 386 +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 13:59:04] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 14:00:15.543059 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 14:00:15.543059 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 14:00:15.543059 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 14:00:15.544559 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 14:00:15.544559 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 14:00:22.260147 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 14:00:22] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 14:01:38.960478 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 14:01:38.961478 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 14:01:38.961478 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 14:01:38.961478 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 14:01:38.961478 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 14:04:07.578969 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 14:04:07.578969 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 14:04:07.578969 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 14:04:07.578969 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 14:04:07.578969 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 14:04:10.310880 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 14:04:10] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\tools_cherif\\mysy_openai_file.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +DEBUG:httpx:load_ssl_context verify=True cert=None trust_env=True http2=False +DEBUG:httpx:load_verify_locations cafile='C:\\Users\\billa\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\certifi\\cacert.pem' +INFO:root:2024-12-14 14:05:16.226403 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-12-14 14:05:16.226403 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-12-14 14:05:16.226403 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-12-14 14:05:16.226403 : ++ FLASK PORT 5001 ++ +INFO:root:2024-12-14 14:05:16.226403 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-12-14 14:05:35.924966 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [14/Dec/2024 14:05:35] "GET /myclass/api/Test_Get_Audio_File/ HTTP/1.1" 200 - diff --git a/main.py b/main.py index 6e8b8a3..beb29cb 100644 --- a/main.py +++ b/main.py @@ -11367,8 +11367,8 @@ def Get_Audio_File(): f.save(os.path.join(str("./temp_direct/test_audio_pr_IA.mp3"))) new_payload = {} - new_payload['voice_file'] = str(f.filename) - status, retval = mysy_openai_file.mysy_openai_voice_to_text(payload) + new_payload['voice_file'] = "temp_direct/test_audio_pr_IA.mp3" + status, retval = mysy_openai_file.mysy_openai_voice_to_text(new_payload) status= True @@ -11376,6 +11376,22 @@ def Get_Audio_File(): return jsonify(status=status) + +''' +API test gestion fichier blob audio +''' +@app.route('/myclass/api/Test_Get_Audio_File/', methods=['POST','GET']) +@crossdomain(origin='*') +def Test_Get_Audio_File(): + # On recupere le corps (payload) de la requete + payload = mycommon.strip_dictionary (request.form.to_dict()) + print(" ### payload = ",payload) + + status, retval = mysy_openai_file.test_mysy_openai_voice_to_text(payload) + return jsonify(status=status, message=retval) + + + @app.route('/myclass/api/mysy_openai_assistant/', methods=['POST','GET']) @crossdomain(origin='*') def mysy_openai_assistant(): diff --git a/tools_cherif/mysy_openai_file.py b/tools_cherif/mysy_openai_file.py index 59deab9..ff0a563 100644 --- a/tools_cherif/mysy_openai_file.py +++ b/tools_cherif/mysy_openai_file.py @@ -95,6 +95,7 @@ def mysy_openai_voice_to_text(diction): print(" ### Traitement du fichier audio : ", file_name) + """ audio_file = open(file_name, "rb") transcription = client.audio.transcriptions.create( model="whisper-1", @@ -103,8 +104,12 @@ def mysy_openai_voice_to_text(diction): ) requestion_response = transcription.text + """ + requestion_response = "OK, Missy, crée la formation avec le titre Je vais à la plage, stop. Description, comment aller à la plage, stop." print(" ### AFFICHAGE GPT RESPONSE - mysy_openai_voice_to_text") - print(transcription.text) + print(requestion_response) + + status, retval = mysy_openai_voice_to_text_traitement_1(requestion_response) return True,requestion_response @@ -114,6 +119,292 @@ def mysy_openai_voice_to_text(diction): return False, " Impossible de traiter : mysy_openai_voice_to_text" +def test_mysy_openai_voice_to_text(diction): + try: + + working_text = ["Ok mysy, créer une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, création une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, crée une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, ajoute une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, ajout une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, nouvelle une formation .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, met à jour formation code CCCCCC .... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, mettre à jour formation code CCCCCC.... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, update formation code CCCCCC.... stop . programme yyyyy stop objectifyyyyy stop ", + "Ok mysy, modifier formation code CCCCCC.... stop . Titre xxxxxx stop Descriptionxxxxx stop ", + "Ok mysy, modifie formation code CCCCCC.... stop . Titre xxxxxx stop Descriptionxxxxx stop "] + + for text in working_text : + status, retval, message_id = mysy_openai_voice_to_text_traitement_1(text) + + return True, "Ok" + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de traiter : test_mysy_openai_voice_to_text" + + + +""" +Cette fonction prend une phrase et fait un decoupage comme suit : +1 - enleve le mot "ok Missy", "ok mysy" +2 - met la pharase d'instruction dans une tableau + +""" + +tab_order_mysy = ['ok, missi', 'ok missi', 'ok; missi','ok, missy', 'ok mysy'] +def mysy_openai_voice_to_text_traitement_1(voice_text): + try: + print(" ### Texte initial = ", str(voice_text).strip().lower()) + voice_text_work = str(voice_text).strip().lower() + + for val in tab_order_mysy: + voice_text_work = str(voice_text_work).strip().lower().replace(str(val), '[INSTRUCTION]') + + voice_text_work = str(voice_text_work).strip().lower().replace("stop", '[stop]') + + new_diction = {} + new_diction['text'] = str(voice_text_work) + new_diction['partner_owner_recid'] = "partner_owner_recid" + new_diction['related_object'] = "myclass" + new_diction['related_collection_recid'] = "dqsqddd0ed" + + local_status, local_retval_message, local_retval_id = mysy_openai_insert_voice_to_collection(new_diction) + print(" || == > Texte Final = ", voice_text_work, " ## ID message = ", local_retval_id) + print("\n") + + return local_status, local_retval_message, local_retval_id + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de traiter : mysy_openai_voice_to_text_traitement_1", False + + + +""" +Cette fonction prend une phrase du type : + [instruction], modifie formation code cccccc.... [stop] . titre: xxxxxx [stop] description:xxxxx [stop] [fin] +et insert les données dans une collection (voice_instruction) comme suit : + +[ + { + "_id": "02sdsddfdfd52", + "related_collection": "myclass", + "related_collection_recid": "", + "instruction": "créer une formation ....[stop] Titre xxxxxx [stop] Description xxxxx[stop]", + "action": "create", + "partner_owner_recid": "ddddd", + "valide": "1", + "locked": "0", + "data": [ + { + "field": "Titre", + "value": "xxxxx" + }, + { + "field": "Description", + "value": "xxxx" + } + ] + }, + { + "_id": "34sdrrdfdfd53", + "related_collection": "myclass", + "related_collection_recid": "ikddd933ob", + "instruction": "update formation ....[stop]. programme: yyyyy[stop] objectif:yyyyy[stop]", + "action": "update", + "partner_owner_recid": "ddddd", + "valide": "1", + "locked": "0", + "data": [ + { + "field": "objectif", + "value": "yyyyy" + }, + ] + } +] +""" +def mysy_openai_insert_voice_to_collection(diction): + try: + + """ + Verification des input acceptés + """ + field_list = ['text', "partner_owner_recid", "related_object", "related_collection_recid"] + + incom_keys = diction.keys() + for val in incom_keys: + if val not in field_list and val.startswith('my_') is False: + mycommon.myprint(str( + inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas") + return False, " Les informations fournies sont incorrectes", False + + """ + Verification des champs obligatoires + """ + field_list_obligatoire = ['text', "partner_owner_recid", "related_object", "related_collection_recid"] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies sont incorrectes", False + + voice_text_work = str(diction['text']).strip().lower().replace("[instruction] ", '') + voice_text_work = str(voice_text_work).strip().lower().replace("[instruction], ", '') + + + local_data = {} + local_data['text'] = str(voice_text_work) + local_data['related_collection'] = "myclass" + + local_status, local_retval, local_retval_action = mysy_openai_transform_instruction_text_to_json_tab(local_data) + + new_data = {} + new_data['partner_owner_recid'] = diction['partner_owner_recid'] + new_data['related_object'] = diction['related_object'] + new_data['related_collection_recid'] = diction['related_collection_recid'] + new_data['instruction'] = str(voice_text_work) + new_data['valide'] = '1' + new_data['locked'] = '0' + new_data['date_create'] = str(datetime.now()) + new_data['date_update'] = str(datetime.now()) + + if( local_status): + new_data['action'] = str(local_retval_action) + new_data['data'] = local_retval + else: + new_data['action'] = "" + new_data['data'] = [] + + + + inserted_id = "" + inserted_id = MYSY_GV.dbname['voice_instruction'].insert_one(new_data).inserted_id + if (not inserted_id): + mycommon.myprint( + " Impossible de créer le message vocal dans la collection ") + return False, " Impossible de créer le message vocal dans la collection (2) " + + return True, "Le message a été correctement enregistré en base", str(inserted_id) + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de créer le message vocal dans la collection ", False + + +""" +Cette fonction prends une phrase d'instruction du type : + "créer une formation .... [stop] . titre: xxxxxx [stop] description:xxxxx [stop]" + +et la transforme en un tableau de json comme suit : + [ + { + "field": "Titre", + "value": "xxxxx" + }, + { + "field": "Description", + "value": "xxxx" + } + ] +""" +def mysy_openai_transform_instruction_text_to_json_tab(diction): + try: + """ + Verification des input acceptés + """ + field_list = ['text', "related_collection",] + + incom_keys = diction.keys() + for val in incom_keys: + if val not in field_list and val.startswith('my_') is False: + mycommon.myprint(str( + inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas") + return False, " Les informations fournies sont incorrectes", False + + """ + Verification des champs obligatoires + """ + field_list_obligatoire = ['text', "related_collection",] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies sont incorrectes", False + + + local_related_collection = str(diction['related_collection']).strip().lower() + if( local_related_collection not in MYSY_GV.mysy_voice_instruction_related_collection): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La collection "+str(diction['related_collection']).strip().lower()+" n'est pas" + " autorisé pour les actions voices") + return False, "La collection "+str(diction['related_collection']).strip().lower()+" n'est pas autorisé pour les actions voices", False + + + """ + Recuperer la liste des mots clés de cette collection qui est stocké ici : + mysy_voice_instruction_collection_field + """ + collection_tab_champs_cle = [] + if (local_related_collection in MYSY_GV.mysy_voice_instruction_collection_field.keys()): + collection_tab_champs_cle = MYSY_GV.mysy_voice_instruction_collection_field[str(local_related_collection)] + + collection_tab_action_autorise = [] + if (local_related_collection in MYSY_GV.mysy_voice_instruction_collection_action.keys()): + collection_tab_action_autorise = MYSY_GV.mysy_voice_instruction_collection_action[str(local_related_collection)] + + + + #print(' ### Collection concernée = ', local_related_collection) + #print(' ### Collection champs = ', collection_tab_champs_cle) + #print(' ### Collection action autorise = ', collection_tab_action_autorise) + + new_tab = str(diction['text']).strip().lower().split("[stop]") + #print(' ### new_tab = ', new_tab) + tab_text = [] + + # Recuperation des champs/valeur + for val in new_tab: + for champ in collection_tab_champs_cle: + champ = str(champ).strip().lower() + if (champ in val): + print(str(champ) + " = " + str(val).replace(str(champ), "")) + my_value = str(val).replace(str(champ), "") + node = {} + node['field'] = str(champ) + node['value'] = str(my_value) + tab_text.append(node) + + + + # Recuperation de l'action + action = "" + for val in new_tab: + for champ in collection_tab_action_autorise : + for my_cle in champ.keys(): + cle_action = my_cle + + if( cle_action in val ): + #print(" OK POUR l'action ", cle_action, " ## la valeur = ", champ[str(cle_action)]) + action = champ[str(cle_action)] + + + return True, tab_text, action + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, " Impossible de traiter : mysy_openai_assistant", False + + + def mysy_openai_assistant(diction): try: