From e9d1b5dab92f7f643a112f9f38614198355b9047 Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 19 Aug 2023 15:32:44 +0200 Subject: [PATCH] 19/08/23 - 15h30 --- .idea/workspace.xml | 25 +- Inscription_mgt.py | 466 +++++---- Log/log_file.log | 2272 ++++++++++++++++++++++++++++++++++++++++++ Session_Formation.py | 2 + main.py | 4 +- prj_common.py | 229 +++-- 6 files changed, 2703 insertions(+), 295 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 431cf6e..a33de21 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,13 @@ - + + + + @@ -426,7 +429,6 @@ - @@ -451,6 +453,7 @@ - \ No newline at end of file diff --git a/Inscription_mgt.py b/Inscription_mgt.py index e677514..1fe84c8 100644 --- a/Inscription_mgt.py +++ b/Inscription_mgt.py @@ -49,7 +49,8 @@ def AddStagiairetoClass(diction): ''' field_list = ['nom', 'prenom', 'email', 'telephone', 'modefinancement', 'opco', 'class_internal_url', 'session_id', 'employeur', 'status', 'price', - 'inscription_validation_date', 'token'] + 'inscription_validation_date', 'token', 'client_rattachement_id', + 'adresse', 'code_postal', 'ville', 'pays'] incom_keys = diction.keys() for val in incom_keys: if val not in field_list: @@ -111,25 +112,12 @@ def AddStagiairetoClass(diction): mydata['date_du'] = tmp_val['date_debut'] mydata['date_au'] = tmp_val['date_fin'] - if ("ville" in tmp_val.keys()): - if tmp_val['ville']: - mydata['ville'] = tmp_val['ville'] - - if ("code_postal" in tmp_val.keys()): - if tmp_val['code_postal']: - mydata['code_postal'] = tmp_val['code_postal'] - - if ("adresse" in tmp_val.keys()): - if tmp_val['adresse']: - mydata['adresse'] = tmp_val['adresse'] - if ("prix_session" in tmp_val.keys()): if tmp_val['prix_session']: new_price = tmp_val['prix_session'] mydata['price'] = tmp_val['prix_session'] - print(" #### mydata = "+str(mydata)) if ("nom" in diction.keys()): if diction['nom']: @@ -147,6 +135,27 @@ def AddStagiairetoClass(diction): if diction['telephone']: mydata['telephone'] = str(diction['telephone']).strip() + if ("client_rattachement_id" in diction.keys()): + if diction['client_rattachement_id']: + mydata['client_rattachement_id'] = diction['client_rattachement_id'] + + if ("pays" in diction.keys()): + if diction['pays']: + mydata['pays'] = diction['ville'] + + if ("ville" in diction.keys()): + if diction['ville']: + mydata['ville'] = diction['ville'] + + if ("code_postal" in diction.keys()): + if diction['code_postal']: + mydata['code_postal'] = diction['code_postal'] + + if ("adresse" in diction.keys()): + if diction['adresse']: + mydata['adresse'] = diction['adresse'] + + if ("inscription_validation_date" in diction.keys()): if diction['inscription_validation_date']: mydata['inscription_validation_date'] = str(diction['inscription_validation_date']).strip() @@ -203,7 +212,7 @@ def AddStagiairetoClass(diction): mydata['price'] = '0' - + print(" #### mydata = " + str(mydata)) coll_inscription = MYSY_GV.dbname['inscription'] @@ -278,7 +287,7 @@ def UpdateStagiairetoClass(diction): return_message = "" field_list = ['token', 'email', 'nom', 'prenom', 'telephone', 'modefinancement', 'opco', 'status', 'class_internal_url', 'session_id', 'price', 'employeur', 'comment', - '_id'] + '_id', 'client_rattachement_id', 'adresse', 'code_postal', 'ville', 'pays',] incom_keys = diction.keys() for val in incom_keys: @@ -361,34 +370,41 @@ def UpdateStagiairetoClass(diction): user_nom = str(diction['nom']).strip() if ("price" in diction.keys()): - if diction['price']: - mydata['price'] = str(diction['price']).strip() + mydata['price'] = str(diction['price']).strip() if ("employeur" in diction.keys()): - if diction['employeur']: - mydata['employeur'] = str(diction['employeur']).strip() + mydata['employeur'] = str(diction['employeur']).strip() user_prenom = "" if ("prenom" in diction.keys()): - if diction['prenom']: - mydata['prenom'] = str(diction['prenom']).strip() - user_prenom = str(diction['prenom']).strip() + mydata['prenom'] = str(diction['prenom']).strip() + user_prenom = str(diction['prenom']).strip() if ("telephone" in diction.keys()): - if diction['telephone']: - mydata['telephone'] = str(diction['telephone']).strip() + mydata['telephone'] = str(diction['telephone']).strip() if ("modefinancement" in diction.keys()): - if diction['modefinancement']: - mydata['modefinancement'] = str(diction['modefinancement']).strip() + mydata['modefinancement'] = str(diction['modefinancement']).strip() if ("opco" in diction.keys()): - if diction['opco']: - mydata['opco'] = str(diction['opco']).strip() + mydata['opco'] = str(diction['opco']).strip() if ("price" in diction.keys()): - if diction['price']: - mydata['price'] = str(diction['price']).strip() + mydata['price'] = str(diction['price']).strip() + + if ("adresse" in diction.keys()): + mydata['adresse'] = str(diction['adresse']).strip() + + if ("code_postal" in diction.keys()): + mydata['code_postal'] = str(diction['code_postal']).strip() + + if ("ville" in diction.keys()): + mydata['ville'] = str(diction['ville']).strip() + + if ("pays" in diction.keys()): + mydata['pays'] = str(diction['pays']).strip() + + new_status = "" if ("status" in diction.keys()): @@ -398,8 +414,11 @@ def UpdateStagiairetoClass(diction): if ("comment" in diction.keys()): - if diction['comment']: - mydata['comment'] = str(diction['comment']).strip() + mydata['comment'] = str(diction['comment']).strip() + + + if ("client_rattachement_id" in diction.keys()): + mydata['client_rattachement_id'] = str(diction['client_rattachement_id']).strip() """ @@ -454,6 +473,7 @@ def UpdateStagiairetoClass(diction): email_data['comment'] = diction['comment'] # ici recup du titre + lms_class_code = "" for local_tmp_myclass in MYSY_GV.dbname['myclass'].find( {'internal_url': str(myinternal_url)}): @@ -462,159 +482,111 @@ def UpdateStagiairetoClass(diction): local_title = local_tmp_myclass['title'] email_data['title'] = local_title + + if ("lms_class_code" in local_tmp_myclass.keys() ): + lms_class_code = local_tmp_myclass['lms_class_code'] + + # ici recup des infos de la session local_query = {'code_session':str(mysession_id), 'class_internal_url':str(diction['class_internal_url']).strip(), 'valide':'1'} print("### local_query = "+str(local_query)) - for local_tmp_session in MYSY_GV.dbname['session_formation'].find(local_query): + local_tmp_session_count = MYSY_GV.dbname['session_formation'].count_documents(local_query) + if( local_tmp_session_count <= 0 ): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Aucune session de formation pour "+str(local_query)) + return False, "Impossible de mettre à jour le stagiaire, Cette session de formation n'est pas valide " - local_date_du = "" - if ("date_debut" in local_tmp_session.keys() and local_tmp_session['date_debut']): - local_date_du = str(local_tmp_session['date_debut'])[0:10] - email_data['date_du'] = local_date_du + if (local_tmp_session_count > 1): + mycommon.myprint(str(inspect.stack()[0][3]) + " - Plusieurs session existent pour ce code sessions " + str(local_query)) + return False, "Impossible de mettre à jour le stagiaire, Cette session de formation n'est pas valide (2) " - local_date_au = "" - if ("date_fin" in local_tmp_session.keys() and local_tmp_session['date_fin']): - local_date_au = str(local_tmp_session['date_fin'])[0:10] - email_data['date_au'] = local_date_au - local_adresse = "" - if ("adresse" in local_tmp_session.keys() and local_tmp_session['adresse']): - local_adresse = local_tmp_session['adresse'] - email_data['adresse'] = local_adresse + if ( diction['status'] == "1" ): + # Il s'agit d'envoyer le message de confirmation d'une inscription + local_status, local_message = email_session.incription_training_confirmation_mail(email_data) - local_cp= "" - if ("code_postal" in local_tmp_session.keys() and local_tmp_session['code_postal']): - local_cp = local_tmp_session['code_postal'] - email_data['code_postal'] = local_cp + """" + Inscription sur le LMS : + Si la session de formation possede un code de formation lms 'lms_class_code' - local_ville = "" - if ("ville" in local_tmp_session.keys() and local_tmp_session['ville']): - local_ville = local_tmp_session['ville'] - email_data['ville'] = local_ville + Alors cela veut dire que c'est une formation qui est gérée avec le LMS de MYSY. + Donc l'inscription va generer : + 1 - La creation du compte LMS participant + 2 - L'inscription de l'utilisateur à la formation. - local_distance = "" - if ("distantiel" in local_tmp_session.keys() and local_tmp_session['distantiel']): - local_distance = local_tmp_session['distantiel'] - email_data['distantiel'] = local_distance + """ + if( lms_class_code.strip() != ""): + print(" ### Debut creation lms_class_code.strip() pour le code class ", lms_class_code) + new_diction = {} + new_diction['token'] = diction['token'] + new_diction['lastname'] = user_nom + new_diction['firstname'] = user_prenom + new_diction['email'] = myemail + new_diction['password'] = secrets.token_urlsafe(6) + new_diction['locked'] = "0" + + #split_mail_tab = str(myemail).split('@') + #new_diction['username'] = split_mail_tab[0] + + new_diction['username'] = myemail - local_presence = "" - if ("presentiel" in local_tmp_session.keys() and local_tmp_session['presentiel']): - local_presence = local_tmp_session['presentiel'] - email_data['presentiel'] = local_presence + local_status, local_message, local_participant_lms_id = mys_lms.Create_MySy_LMS_Apprenant(new_diction) - local_formateur = "" - if ("formateur" in local_tmp_session.keys() and local_tmp_session['formateur']): - local_formateur = local_tmp_session['formateur'] - email_data['formateur'] = local_formateur - - distantiel = "" - if ("distantiel" in local_tmp_session.keys() and local_tmp_session['distantiel']): - distantiel = local_tmp_session['distantiel'] - email_data['distantiel'] = distantiel - - presentiel = "" - if ("presentiel" in local_tmp_session.keys() and local_tmp_session['presentiel']): - presentiel = local_tmp_session['presentiel'] - email_data['presentiel'] = presentiel - - lms_class_code = "" - if ("lms_class_code" in local_tmp_session.keys() and local_tmp_session['lms_class_code']): - lms_class_code = local_tmp_session['lms_class_code'] - - session_ondemande = "" - if ("session_ondemande" in local_tmp_session.keys() and local_tmp_session['session_ondemande']): - session_ondemande = local_tmp_session['session_ondemande'] - email_data['session_ondemande'] = session_ondemande + if( local_status is False ): + mycommon.myprint(str(inspect.stack()[0][3]) +" WARNING : le compte LSM n'a pas été correctement crée") + return_message = return_message + " le compte LSM n'a pas été correctement crée. " + else: + # Mettre à jour la collection "inscription" en ajoutant local_participant_lms_id et et le mot de passe + print(" ### Mise à jour 'inscription' pour inscription_line_id = ", inscription_line_id, + " local_participant_lms_id = ", local_participant_lms_id, " str(new_diction['password'] ", str(new_diction['password'])) + local_ret_val = MYSY_GV.dbname['inscription'].find_one_and_update({'_id':ObjectId(str(inscription_line_id))}, + {"$set":{'lms_user_id':str(local_participant_lms_id), + 'lms_pwd':str(new_diction['password']), + 'lms_class_code':str(lms_class_code)} + }, + upsert=False, + return_document=ReturnDocument.AFTER + ) + if (local_ret_val and local_ret_val['_id']): + mycommon.myprint(str(inspect.stack()[0][3]) + " Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = "+str( local_ret_val['_id'])) + """" + A present, on va proceder à l'inscription à la formation + """ + print(" ### Debut de l'inscription au à la formation dans le LMS ") + new_diction = {} + new_diction['token'] = diction['token'] + new_diction['user_lms_id'] = local_participant_lms_id + new_diction['course_code'] = lms_class_code - if ( diction['status'] == "1" ): - # Il s'agit d'envoyer le message de confirmation d'une inscription - local_status, local_message = email_session.incription_training_confirmation_mail(email_data) - - """" - Inscription sur le LMS : - Si la session de formation possede un code de formation lms 'lms_class_code' - - Alors cela veut dire que c'est une formation qui est gérée avec le LMS de MYSY. - Donc l'inscription va generer : - 1 - La creation du compte LMS participant - 2 - L'inscription de l'utilisateur à la formation. - - """ - if( lms_class_code.strip() != ""): - print(" ### Debut creation lms_class_code.strip() pour le code class ", lms_class_code) - new_diction = {} - new_diction['token'] = diction['token'] - new_diction['lastname'] = user_nom - new_diction['firstname'] = user_prenom - new_diction['email'] = myemail - new_diction['password'] = secrets.token_urlsafe(6) - new_diction['locked'] = "0" - - #split_mail_tab = str(myemail).split('@') - #new_diction['username'] = split_mail_tab[0] - - new_diction['username'] = myemail - - - local_status, local_message, local_participant_lms_id = mys_lms.Create_MySy_LMS_Apprenant(new_diction) - - if( local_status is False ): - mycommon.myprint(str(inspect.stack()[0][3]) +" WARNING : le compte LSM n'a pas été correctement crée") - return_message = return_message + " le compte LSM n'a pas été correctement crée. " - else: - # Mettre à jour la collection "inscription" en ajoutant local_participant_lms_id et et le mot de passe - print(" ### Mise à jour 'inscription' pour inscription_line_id = ", inscription_line_id, - " local_participant_lms_id = ", local_participant_lms_id, " str(new_diction['password'] ", str(new_diction['password'])) - local_ret_val = MYSY_GV.dbname['inscription'].find_one_and_update({'_id':ObjectId(str(inscription_line_id))}, - {"$set":{'lms_user_id':str(local_participant_lms_id), - 'lms_pwd':str(new_diction['password']), - 'lms_class_code':str(lms_class_code)} - }, - upsert=False, - return_document=ReturnDocument.AFTER - ) - if (local_ret_val and local_ret_val['_id']): - mycommon.myprint(str(inspect.stack()[0][3]) + " Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = "+str( local_ret_val['_id'])) - """" - A present, on va proceder à l'inscription à la formation - """ - print(" ### Debut de l'inscription au à la formation dans le LMS ") - new_diction = {} - new_diction['token'] = diction['token'] - new_diction['user_lms_id'] = local_participant_lms_id - new_diction['course_code'] = lms_class_code - - - local_status2, local_message2 = mys_lms.Add_User_To_LMS_Class(new_diction) - if (local_status2 is False): - mycommon.myprint(str(inspect.stack()[0][3]) + " WARNING : Impossbile de finaliser l'incription dans le LMS") - return_message = return_message + " Impossbile de finaliser l'incription dans le LMS. " - else: - mycommon.myprint(str(inspect.stack()[0][3]) + " TOP, l'inscription dans le LMS a ete correctement faite") - + local_status2, local_message2 = mys_lms.Add_User_To_LMS_Class(new_diction) + if (local_status2 is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " WARNING : Impossbile de finaliser l'incription dans le LMS") + return_message = return_message + " Impossbile de finaliser l'incription dans le LMS. " else: - mycommon.myprint(str(inspect.stack()[0][3]) + " - WARNING : Impossible de mettre à jour le compte LMS ") - return_message = return_message + " Impossible de mettre à jour le compte LMS." + mycommon.myprint(str(inspect.stack()[0][3]) + " TOP, l'inscription dans le LMS a ete correctement faite") + + else: + mycommon.myprint(str(inspect.stack()[0][3]) + " - WARNING : Impossible de mettre à jour le compte LMS ") + return_message = return_message + " Impossible de mettre à jour le compte LMS." - elif ( diction['status'] == "-1" ): - # Il s'agit d'envoyer le message de refus d'une inscription - local_status, local_message = email_session.incription_training_refused_mail(email_data) + elif ( diction['status'] == "-1" ): + # Il s'agit d'envoyer le message de refus d'une inscription + local_status, local_message = email_session.incription_training_refused_mail(email_data) - mycommon.myprint(" Les données du stagiaire ont été correctement mise à jour") - if( len(str(return_message)) > 5): - return True, "Les données du stagiaire ont été correctement mise à jour. WARNING : "+return_message + mycommon.myprint(" Les données du stagiaire ont été correctement mise à jour") + if( len(str(return_message)) > 5): + return True, "Les données du stagiaire ont été correctement mise à jour. WARNING : "+return_message - return True, "Les données du stagiaire ont été correctement mise à jour" + return True, "Les données du stagiaire ont été correctement mise à jour" else: @@ -792,44 +764,58 @@ def SendInscriptionConfirmation(diction): # 2 - Recuperation des données de l'inscription - local_session = MYSY_GV.dbname['inscription'].find({'session_id':str(diction['session_id']), + local_inscription = MYSY_GV.dbname['inscription'].find({'session_id':str(diction['session_id']), 'email':str(diction['email'])}) local_nom = "" - if ("nom" in local_session[0].keys()): - if local_session[0]['nom']: - local_nom = local_session[0]['nom'] + if ("nom" in local_inscription[0].keys()): + if local_inscription[0]['nom']: + local_nom = local_inscription[0]['nom'] data_mail['nom'] = local_nom local_prenom = "" - if ("prenom" in local_session[0].keys()): - if local_session[0]['prenom']: - local_prenom = local_session[0]['prenom'] + if ("prenom" in local_inscription[0].keys()): + if local_inscription[0]['prenom']: + local_prenom = local_inscription[0]['prenom'] data_mail['prenom'] = local_prenom - data_mail['email'] = local_session[0]['email'] + data_mail['email'] = local_inscription[0]['email'] + + # 3 - Recuperations des info de la session (a distance, formateur, etc) + local_info_session = MYSY_GV.dbname['session_formation'].find({'code_session': str(diction['session_id']), + 'class_internal_url': str( + diction['class_internal_url']), + 'valide': '1'}) + + if (local_info_session is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - impossible d'envoyer le mail d'inscription. la session " + str( + diction['session_id']) + " est introuvable ") + return False, " impossible d'envoyer le mail d'inscription. la session " + str( + diction['session_id']) + " est introuvable " + date_du = "" - if ("date_du" in local_session[0].keys()): - if local_session[0]['date_du']: - date_du = local_session[0]['date_du'] + if ("date_du" in local_info_session[0].keys()): + if local_info_session[0]['date_du']: + date_du = local_info_session[0]['date_du'] data_mail['date_du'] = str(date_du)[0:10] date_au = "" - if ("date_au" in local_session[0].keys()): - if local_session[0]['date_au']: - date_au = local_session[0]['date_au'] + if ("date_au" in local_info_session[0].keys()): + if local_info_session[0]['date_au']: + date_au = local_info_session[0]['date_au'] data_mail['date_au'] = str(date_au)[0:10] adresse = "" - if ("adresse" in local_session[0].keys()): - if local_session[0]['adresse']: - adresse = local_session[0]['adresse'] + if ("adresse" in local_info_session[0].keys()): + if local_info_session[0]['adresse']: + adresse = local_info_session[0]['adresse'] data_mail['adresse'] = adresse session_ondemande = "" - if ("session_ondemande" in local_session[0].keys()): - if local_session[0]['session_ondemande']: - session_ondemande = local_session[0]['session_ondemande'] + if ("session_ondemande" in local_info_session[0].keys()): + if local_info_session[0]['session_ondemande']: + session_ondemande = local_info_session[0]['session_ondemande'] data_mail['session_ondemande'] = session_ondemande @@ -902,42 +888,61 @@ def SendPre_InscriptionEmail(diction): str(inspect.stack()[0][3]) + " - impossible d'envoyer le mail de presinscription. la session "+str(diction['session_id'])+" est introuvable ") return False, " impossible d'envoyer le mail de presinscription. la session "+str(diction['session_id'])+" est introuvable " + code_postal = "" if ("code_postal" in local_info_session[0].keys()): if local_info_session[0]['code_postal']: - data_mail['code_postal'] = local_info_session[0]['code_postal'] + code_postal = local_info_session[0]['code_postal'] + data_mail['code_postal'] = code_postal + + date_debut = "" if ("date_debut" in local_info_session[0].keys()): if local_info_session[0]['date_debut']: - data_mail['date_du'] = str(local_info_session[0]['date_debut'])[0:10] + date_debut = str(local_info_session[0]['date_debut'])[0:10] + data_mail['date_du'] = date_debut + date_fin = "" if ("date_fin" in local_info_session[0].keys()): if local_info_session[0]['date_fin']: - data_mail['date_au'] = str(local_info_session[0]['date_fin'])[0:10] - + date_fin = str(local_info_session[0]['date_fin'])[0:10] + data_mail['date_au'] = date_fin + formateur = "" if ("formateur" in local_info_session[0].keys()): if local_info_session[0]['formateur']: - data_mail['formateur'] = local_info_session[0]['formateur'] + formateur = local_info_session[0]['formateur'] + data_mail['formateur'] = formateur + distantiel = "" if ("distantiel" in local_info_session[0].keys()): if local_info_session[0]['distantiel']: - data_mail['distantiel'] = local_info_session[0]['distantiel'] + distantiel = local_info_session[0]['distantiel'] + data_mail['distantiel'] = distantiel + presentiel = "" if ("presentiel" in local_info_session[0].keys()): if local_info_session[0]['presentiel']: - data_mail['presentiel'] = local_info_session[0]['presentiel'] + presentiel = local_info_session[0]['presentiel'] + data_mail['presentiel'] = presentiel + ville = "" if ("ville" in local_info_session[0].keys()): if local_info_session[0]['ville']: - data_mail['ville'] = local_info_session[0]['ville'] + ville = local_info_session[0]['ville'] + data_mail['ville'] = ville + + adresse = "" if ("adresse" in local_info_session[0].keys()): if local_info_session[0]['adresse']: - data_mail['adresse'] = local_info_session[0]['adresse'] + adresse = local_info_session[0]['adresse'] + data_mail['adresse'] = adresse + session_ondemande = "" if ("session_ondemande" in local_info_session[0].keys()): if local_info_session[0]['session_ondemande']: - data_mail['session_ondemande'] = local_info_session[0]['session_ondemande'] + session_ondemande = local_info_session[0]['session_ondemande'] + data_mail['session_ondemande'] = session_ondemande #print(" Pre_incription_training_confirmation_mail DATA = ",data_mail ) @@ -1221,7 +1226,7 @@ def DownloadEvaluationList(diction): """ Verification de la liste des champs obligatoires """ - field_list_obligatoire = field_list = ['token', 'session_id', 'internal_url'] + field_list_obligatoire = ['token', 'session_id', 'internal_url'] for val in field_list_obligatoire: if val not in diction: mycommon.myprint( @@ -1532,7 +1537,7 @@ def AddStagiairetoClass_mass(file=None, Folder=None, diction=None): # Verification que les noms des colonne sont bien corrects" ''' field_list = ['prenom', 'nom', 'employeur', 'telephone', 'email', 'modefinancement', - 'opco', 'status', 'prix'] + 'opco', 'status', 'prix', 'adresse', 'code_postal', 'ville', 'pays', 'client_rattachement_email', 'client_rattachement_nom'] # Controle du nombre de lignes dans le fichier. @@ -1595,6 +1600,65 @@ def AddStagiairetoClass_mass(file=None, Folder=None, diction=None): opco = str(df['opco'].values[n]) mydata['opco'] = opco + adresse = "" + if ("adresse" in df.keys()): + if (str(df['adresse'].values[n])): + adresse = str(df['adresse'].values[n]) + mydata['adresse'] = adresse + + code_postal = "" + if ("code_postal" in df.keys()): + if (str(df['code_postal'].values[n])): + code_postal = str(df['code_postal'].values[n]) + mydata['code_postal'] = code_postal + + ville = "" + if ("ville" in df.keys()): + if (str(df['ville'].values[n])): + ville = str(df['ville'].values[n]) + mydata['ville'] = ville + + pays = "" + if ("pays" in df.keys()): + if (str(df['pays'].values[n])): + pays = str(df['pays'].values[n]) + mydata['pays'] = pays + + + """" + Gestion du client de rattachement/ + Avec l'email et le nom, on va aller recuperer l'_id du client + """ + client_rattachement_email = "" + if ("client_rattachement_email" in df.keys()): + if (str(df['client_rattachement_email'].values[n])): + client_rattachement_email = str(df['client_rattachement_email'].values[n]) + + + client_rattachement_nom = "" + if ("client_rattachement_nom" in df.keys()): + if (str(df['client_rattachement_nom'].values[n])): + client_rattachement_nom = str(df['client_rattachement_nom'].values[n]) + + local_client_retval_qry = {'email':str(client_rattachement_email), 'nom':str(client_rattachement_nom), 'valide':'1', 'locked':'0'} + local_client_retval_count = MYSY_GV.dbname['partner_client'].count_documents(local_client_retval_qry) + + if( local_client_retval_count > 1 ): + mycommon.myprint( + str(inspect.stack()[0][3]) +"Ligne : "+str(n) +". Plusieurs clients correspondent aux critère de nom :"+str(client_rattachement_nom)+" et email : "+str(client_rattachement_email)) + return False, "Ligne : "+str(n) +". Plusieurs clients correspondent aux critère de nom :"+str(client_rattachement_nom)+" et email : "+str(client_rattachement_email) + + if (local_client_retval_count < 1): + mycommon.myprint( + str(inspect.stack()[0][3]) + "Ligne : "+str(n) +". Aucun client ne repond aux critères de nom :" + str( + client_rattachement_nom) + " et email : " + str(client_rattachement_email)) + return False, "Ligne : "+str(n) +". Aucun client ne repond aux critères de nom :" + str( + client_rattachement_nom) + " et email : " + str(client_rattachement_email) + + local_client_retval_data = MYSY_GV.dbname['partner_client'].find_one(local_client_retval_qry) + if( local_client_retval_data is not None ): + mydata['client_rattachement_id'] = local_client_retval_data['_id'] + mydata['status'] = str(df['status'].values[n]).strip() if( str(mydata['status']) != "0" and str(mydata['status']) != "1" and str(mydata['status']) != "2"): @@ -3272,7 +3336,7 @@ def getRecodedStagiaireImage_from_front(diction=None): RetObject.append(mycommon.JSONEncoder().encode(partner_images)) - print(" ### getRecodedStagiaireImage_from_front RetObject = ", RetObject) + return True, RetObject except Exception as e: @@ -3482,9 +3546,23 @@ def Get_Statgaire_List_Partner_with_filter(diction): # Recuperation des informations de la session local_qry = {'class_internal_url':str(retVal['class_internal_url']), 'code_session':str(retVal['session_id']), 'valide':'1'} - count_session = MYSY_GV.dbname['session_formation'].count_documents(local_qry) + client_rattachement_id = "" + client_rattachement_nom = "" + # Si il a un client rattacher, recuperation des information du client + if( "client_rattachement_id" in retVal.keys()): + if( retVal['client_rattachement_id']): + client_retval = MYSY_GV.dbname['partner_client'].find_one({'id':ObjectId( retVal['client_rattachement_id']), + 'valide':'1', 'locked':'0'}) + + if( client_retval is not None): + client_rattachement_id= client_retval['_id'] + client_rattachement_nom = client_retval['nom'] + + val['client_rattachement_id'] = client_rattachement_id + val['client_rattachement_nom'] = client_rattachement_nom + if(count_session != 1 ): mycommon.myprint( str(inspect.stack()[0][ diff --git a/Log/log_file.log b/Log/log_file.log index fd8fe80..a65b136 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -1760729,3 +1760729,2275 @@ INFO:root:2023-08-18 17:28:58.426702 : Security check : IP adresse '127.0.0.1' INFO:root:2023-08-18 17:28:58.430206 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [18/Aug/2023 17:28:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [18/Aug/2023 17:28:58] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-08-19 11:06:31.811629 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:06:31.813086 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:06:31.814180 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:06:31.814180 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:06:31.814180 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:11:32.087674+02:00 (in 299.993671 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:06:52.053325 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:06:52.053325 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:06:52.053325 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:06:52.054316 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:06:52.054316 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:11:52.167130+02:00 (in 299.996998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 11:07:35.407753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:35.410809 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:35.411825 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:35] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:35] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:36.353155 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:36.355169 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:36] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.153097 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.157701 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.160705 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.165168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.168236 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.176855 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.189847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.194846 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.200846 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.210026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.213841 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.221677 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.224442 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.229107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.234644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.243695 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.251644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:37.256146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.262666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:37.268602 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:45.241970 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:45.516538 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:45.520793 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:45.529047 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:45.532044 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:45.548638 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:45.626399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:45] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:49.567290 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:49.572150 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:49] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:49] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:07:52.969176 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 11:07:52.973327 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:52] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:07:53] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 11:08:41.202250 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 11:08:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:11:32 CEST)" (scheduled at 2023-08-19 11:11:32.087674+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:16:32.087674+02:00 (in 299.988053 seconds) +INFO:root:2023-08-19 11:11:32.106166 : samedi, 19. août 2023 11:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:16:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:11:52 CEST)" (scheduled at 2023-08-19 11:11:52.167130+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:16:52.167130+02:00 (in 299.985281 seconds) +INFO:root:2023-08-19 11:11:52.184809 : samedi, 19. août 2023 11:11:52 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:16:52 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:21:32.087674+02:00 (in 299.989249 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:21:32 CEST)" (scheduled at 2023-08-19 11:16:32.087674+02:00) +INFO:root:2023-08-19 11:16:32.100431 : samedi, 19. août 2023 11:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:21:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:21:52.167130+02:00 (in 299.984169 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:21:52 CEST)" (scheduled at 2023-08-19 11:16:52.167130+02:00) +INFO:root:2023-08-19 11:16:52.185111 : samedi, 19. août 2023 11:16:52 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:21:52 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:26:32.087674+02:00 (in 299.997089 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:26:32 CEST)" (scheduled at 2023-08-19 11:21:32.087674+02:00) +INFO:root:2023-08-19 11:21:32.093585 : samedi, 19. août 2023 11:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:26:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:26:52.167130+02:00 (in 299.992232 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:26:52 CEST)" (scheduled at 2023-08-19 11:21:52.167130+02:00) +INFO:root:2023-08-19 11:21:52.175909 : samedi, 19. août 2023 11:21:52 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:26:52 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:36:32.087674+02:00 (in 247.954816 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:36:32 CEST)" was missed by 0:00:52.045184 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:36:52.167130+02:00 (in 247.945804 seconds) +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:36:52 CEST)" was missed by 0:00:52.054196 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:41:32.087674+02:00 (in 299.997584 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:41:32 CEST)" (scheduled at 2023-08-19 11:36:32.087674+02:00) +INFO:root:2023-08-19 11:36:32.093086 : samedi, 19. août 2023 11:36:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:41:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:41:52.167130+02:00 (in 299.989036 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:41:52 CEST)" (scheduled at 2023-08-19 11:36:52.167130+02:00) +INFO:root:2023-08-19 11:36:52.181110 : samedi, 19. août 2023 11:36:52 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:41:52 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:37:18.530626 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:37:18.530626 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:37:18.530626 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:37:18.530626 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:37:18.530626 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:42:19.022244+02:00 (in 299.763794 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:37:48.030212 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:37:48.030212 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:37:48.031213 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:37:48.031213 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:37:48.031213 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:42:48.104970+02:00 (in 299.996575 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:39:16.382331 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:39:16.382331 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:39:16.382331 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:39:16.382331 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:39:16.382331 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:44:16.466122+02:00 (in 299.996920 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:39:36.765110 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:39:36.765110 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:39:36.765110 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:39:36.765110 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:39:36.765110 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:44:36.822283+02:00 (in 299.995966 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:39:51.608216 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:39:51.608216 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:39:51.608216 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:39:51.608216 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:39:51.608216 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:44:51.659845+02:00 (in 299.997965 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:40:28.672341 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:40:28.672341 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:40:28.672341 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:40:28.672341 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:40:28.672341 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:45:28.725542+02:00 (in 299.996979 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:46:32.087674+02:00 (in 299.998048 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:46:32 CEST)" (scheduled at 2023-08-19 11:41:32.087674+02:00) +INFO:root:2023-08-19 11:41:32.099026 : samedi, 19. août 2023 11:41:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:46:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:42:28.280657 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:42:28.280657 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:42:28.280657 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:42:28.280657 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:42:28.280657 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:47:28.331985+02:00 (in 299.997648 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:45:09.346251 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:45:09.347253 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:45:09.347253 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:45:09.347253 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:45:09.347253 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:50:09.400711+02:00 (in 299.998482 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:51:32.087674+02:00 (in 299.993436 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:51:32 CEST)" (scheduled at 2023-08-19 11:46:32.087674+02:00) +INFO:root:2023-08-19 11:46:32.098262 : samedi, 19. août 2023 11:46:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:51:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:48:49.832007 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:48:49.833008 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:48:49.833008 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:48:49.833008 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:48:49.833008 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:53:49.896688+02:00 (in 299.997011 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:49:31.876086 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:49:31.877091 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:49:31.877091 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:49:31.877091 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:49:31.877091 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:54:31.927838+02:00 (in 299.997995 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:50:01.073245 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:50:01.074252 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:50:01.074252 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:50:01.074252 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:50:01.074252 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:55:01.127066+02:00 (in 299.997987 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:50:18.255792 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:50:18.256793 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:50:18.256793 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:50:18.256793 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:50:18.256793 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:55:18.309449+02:00 (in 299.997956 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:50:32.911625 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:50:32.912618 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:50:32.912618 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:50:32.912618 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:50:32.912618 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:55:33.136396+02:00 (in 299.994442 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:50:51.037971 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:50:51.037971 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:50:51.037971 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:50:51.039175 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:50:51.039175 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:55:51.089574+02:00 (in 299.997113 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:51:10.448688 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:51:10.448688 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:51:10.448688 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:51:10.448688 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:51:10.448688 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:56:10.651602+02:00 (in 299.936417 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:56:32.087674+02:00 (in 299.985998 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:56:32 CEST)" (scheduled at 2023-08-19 11:51:32.087674+02:00) +INFO:root:2023-08-19 11:51:32.110346 : samedi, 19. août 2023 11:51:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 11:56:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:52:15.396322 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:52:15.396322 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:52:15.396322 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:52:15.396322 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:52:15.397328 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 11:57:15.541774+02:00 (in 299.995998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:56:23.555576 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:56:23.555576 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:56:23.556580 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:56:23.556580 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:56:23.556580 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:01:23.609903+02:00 (in 299.998108 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:01:32.087674+02:00 (in 299.992011 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:01:32 CEST)" (scheduled at 2023-08-19 11:56:32.087674+02:00) +INFO:root:2023-08-19 11:56:32.098706 : samedi, 19. août 2023 11:56:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:01:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 11:59:02.615088 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 11:59:02.615088 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 11:59:02.615088 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 11:59:02.615088 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 11:59:02.615088 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:04:02.679480+02:00 (in 299.996788 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:06:32.087674+02:00 (in 299.987270 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:06:32 CEST)" (scheduled at 2023-08-19 12:01:32.087674+02:00) +INFO:root:2023-08-19 12:01:32.103017 : samedi, 19. août 2023 12:01:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:06:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:01:45.230982 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:01:45.231991 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:01:45.231991 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:01:45.231991 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:01:45.231991 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:06:45.301104+02:00 (in 299.998014 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:02:46.732969 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:02:46.732969 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:02:46.732969 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:02:46.732969 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:02:46.732969 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:07:46.791364+02:00 (in 299.997000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:03:40.610716 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:03:40.610716 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:03:40.610716 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:03:40.610716 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:03:40.610716 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:08:40.662723+02:00 (in 299.996980 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:11:32.087674+02:00 (in 299.981132 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:11:32 CEST)" (scheduled at 2023-08-19 12:06:32.087674+02:00) +INFO:root:2023-08-19 12:06:32.150422 : samedi, 19. août 2023 12:06:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:11:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:08:40 CEST)" (scheduled at 2023-08-19 12:08:40.662723+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:13:40.662723+02:00 (in 299.988999 seconds) +INFO:root:2023-08-19 12:08:40.691384 : samedi, 19. août 2023 12:08:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:13:40 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:16:32.087674+02:00 (in 299.957691 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:16:32 CEST)" (scheduled at 2023-08-19 12:11:32.087674+02:00) +INFO:root:2023-08-19 12:11:32.138391 : samedi, 19. août 2023 12:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:16:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:18:40.662723+02:00 (in 299.998117 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:18:40 CEST)" (scheduled at 2023-08-19 12:13:40.662723+02:00) +INFO:root:2023-08-19 12:13:40.666922 : samedi, 19. août 2023 12:13:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:18:40 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:14:51.613112 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:14:51.613112 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:14:51.613112 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:14:51.613112 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:14:51.613112 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:19:51.666103+02:00 (in 299.997378 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:21:32.087674+02:00 (in 299.984481 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:21:32 CEST)" (scheduled at 2023-08-19 12:16:32.087674+02:00) +INFO:root:2023-08-19 12:16:32.111796 : samedi, 19. août 2023 12:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:21:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:18:53.256734 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:18:53.256734 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:18:53.256734 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:18:53.256734 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:18:53.256734 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:23:53.307947+02:00 (in 299.997915 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:19:15.975972 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:19:15.976973 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:19:15.976973 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:19:15.976973 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:19:15.976973 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:24:16.033941+02:00 (in 299.998004 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:20:31.855957 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:20:31.855957 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:20:31.855957 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:20:31.855957 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:20:31.855957 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:25:31.911156+02:00 (in 299.996903 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:26:32.087674+02:00 (in 299.986603 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:26:32 CEST)" (scheduled at 2023-08-19 12:21:32.087674+02:00) +INFO:root:2023-08-19 12:21:32.103272 : samedi, 19. août 2023 12:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:26:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:25:31 CEST)" (scheduled at 2023-08-19 12:25:31.911156+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:30:31.911156+02:00 (in 299.996403 seconds) +INFO:root:2023-08-19 12:25:31.918754 : samedi, 19. août 2023 12:25:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:30:31 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:31:32.087674+02:00 (in 299.996121 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:31:32 CEST)" (scheduled at 2023-08-19 12:26:32.087674+02:00) +INFO:root:2023-08-19 12:26:32.094557 : samedi, 19. août 2023 12:26:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:31:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:28:18.694861 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:28:18.694861 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:28:18.695857 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:28:18.695857 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:28:18.695857 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:33:18.785516+02:00 (in 299.995559 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:36:32.087674+02:00 (in 299.983311 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:36:32 CEST)" (scheduled at 2023-08-19 12:31:32.087674+02:00) +INFO:root:2023-08-19 12:31:32.113385 : samedi, 19. août 2023 12:31:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:36:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:33:18 CEST)" (scheduled at 2023-08-19 12:33:18.785516+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:38:18.785516+02:00 (in 299.997034 seconds) +INFO:root:2023-08-19 12:33:18.792856 : samedi, 19. août 2023 12:33:18 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:38:18 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:41:32.087674+02:00 (in 299.985967 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:41:32 CEST)" (scheduled at 2023-08-19 12:36:32.087674+02:00) +INFO:root:2023-08-19 12:36:32.103858 : samedi, 19. août 2023 12:36:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:41:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:43:18.785516+02:00 (in 299.986853 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:43:18 CEST)" (scheduled at 2023-08-19 12:38:18.785516+02:00) +INFO:root:2023-08-19 12:38:18.799640 : samedi, 19. août 2023 12:38:18 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:43:18 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:46:32.087674+02:00 (in 299.991707 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:46:32 CEST)" (scheduled at 2023-08-19 12:41:32.087674+02:00) +INFO:root:2023-08-19 12:41:32.099759 : samedi, 19. août 2023 12:41:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:46:32 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:48:18.785516+02:00 (in 299.988337 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:48:18 CEST)" (scheduled at 2023-08-19 12:43:18.785516+02:00) +INFO:root:2023-08-19 12:43:18.799818 : samedi, 19. août 2023 12:43:18 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:48:18 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:44:47.098417 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:44:47.099430 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:44:47.099430 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:44:47.099430 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:44:47.099430 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:49:47.156415+02:00 (in 299.997410 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-08-19 12:52:47.077248 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:52:47.077248 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:52:47.078240 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:52:47.078240 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:52:47.078240 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:57:47.140173+02:00 (in 299.996995 seconds) +INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://localhost:5001 +INFO:werkzeug:Press CTRL+C to quit +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:52:55.784701 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:52:55.784701 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:52:55.784701 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:52:55.784701 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:52:55.784701 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 12:57:55.840431+02:00 (in 299.998012 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 12:54:36.310128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 12:54:36.314072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 12:54:36.319928 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:54:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 12:54:36.336168 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:54:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:54:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 12:54:36.976597 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:54:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:56:25.476362 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:56:25.476362 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:56:25.476362 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:56:25.476362 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:56:25.476362 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 13:01:25.557617+02:00 (in 299.997001 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 12:56:40.305429 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 12:56:40.308409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:56:40] "POST /myclass/api/Get_Given_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:56:40] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 12:57:47 CEST)" (scheduled at 2023-08-19 12:57:47.140173+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 13:02:47.140173+02:00 (in 299.988496 seconds) +INFO:root:2023-08-19 12:57:47.168021 : samedi, 19. août 2023 12:57:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 13:02:47 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:root:2023-08-19 12:59:00.782092 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 12:59:00.785095 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 12:59:00.788104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:59:00] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:59:00] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 12:59:01.623120 : Get_Statgaire_List_Partner_with_filter -local variable 'client_rattachement_nom' referenced before assignment - ERRORRRR AT Line : 3519 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 12:59:01] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 12:59:42.364847 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 12:59:42.364847 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 12:59:42.364847 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 12:59:42.364847 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 12:59:42.364847 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default" +INFO:apscheduler.scheduler:Scheduler started +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 13:04:42.426734+02:00 (in 299.997807 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:00:49.317800 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:00:49.318803 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:00:49.318803 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:00:49.318803 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:00:49.318803 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:00:54.842515 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:00:54.844939 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:00:54.848723 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:00:54.857338 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:00:54.980039 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:00:54.983856 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:00:54.986299 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:54] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:55] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:00:55] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:02:00.437051 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:02:00.440621 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:02:00] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:02:01] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-08-19 13:07:47.140173+02:00 (in 299.984116 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 13:07:47 CEST)" (scheduled at 2023-08-19 13:02:47.140173+02:00) +INFO:root:2023-08-19 13:02:47.157424 : samedi, 19. août 2023 01:02:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-08-19 13:07:47 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3224, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:03:10.038656 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:03:10.038656 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:03:10.038656 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:03:10.039906 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:03:10.039906 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:05:59.480113 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:05:59.480113 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:05:59.481114 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:05:59.481114 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:05:59.481114 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2023-08-19 13:06:18.827701 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:06:18.827701 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:06:18.827701 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:06:18.827701 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:06:18.827701 : ++ 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 +INFO:root:2023-08-19 13:06:27.166528 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:06:27.166528 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:06:27.166528 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:06:27.166528 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:06:27.167528 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:06:33.538063 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:06:33.542162 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:06:33.545167 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:06:33.554885 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:06:33.726178 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:06:33.728436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:06:33.731451 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:33] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:06:39.421763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:06:39.423837 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:39] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:06:40] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:08:19.361297 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:08:19.361297 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:08:19.362301 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:08:19.362301 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:08:19.362301 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:10:33.135019 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:10:33.136019 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:10:33.136019 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:10:33.136019 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:10:33.136019 : ++ 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 +INFO:root:2023-08-19 13:10:43.348909 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:10:43.348909 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:10:43.348909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:10:43.348909 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:10:43.348909 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:10:43.400251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:10:43.404251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:10:43.406500 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:10:43.410077 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:10:43.416814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:10:43.425843 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:10:43.431852 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:43] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:10:48.557191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:10:48.560190 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:48] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:10:49] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:11:41.194834 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:11:41.194834 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:11:41.194834 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:11:41.194834 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:11:41.195837 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:12:44.372483 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:12:44.372483 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:12:44.372483 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:12:44.372483 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:12:44.372483 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:12:44.430352 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:44.435918 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:44.441060 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:44.445638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:12:44.453181 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:44.458178 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:44.460284 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:44] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:12:47.902715 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:12:47.907251 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:47] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:12:48] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:13:31.949520 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:13:31.949520 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:13:31.949520 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:13:31.949520 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:13:31.949520 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:13:40.375742 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:13:40.378066 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:13:40.382698 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:13:40.392720 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:13:40.507675 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:13:40.510639 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:13:40.514752 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:40] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:13:46.869530 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:13:46.874539 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:46] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:13:48] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:14:23.350397 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:14:23.350397 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:14:23.350397 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:14:23.350397 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:14:23.350397 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:14:27.240195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:14:27.243195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:14:27.246196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:14:27.258065 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:14:27.374292 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:14:27.377336 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:14:27.381243 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:27] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:14:30.429962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:14:30.433407 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:30] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:14:31] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:16:14.155750 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:16:14.156753 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:16:14.156753 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:16:14.156753 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:16:14.156753 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:16:26.600063 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:16:26.601077 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:16:26.601077 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:16:26.601077 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:16:26.601077 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:16:27.858004 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:16:27.861290 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:16:27] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:16:27] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:17:42.215792 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:17:42.219672 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:17:42.221186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:17:42] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:17:42] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:17:42] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:18:07.172300 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:18:07.748127 : incription_training_confirmation_mail - : La valeur 'date_du' n'est pas presente dans liste +INFO:root:2023-08-19 13:18:08.187199 : UpdateStagiairetoClass Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = 64aef8b2a70b3665dd2c7df4 +INFO:root:2023-08-19 13:18:08.238153 : UpdateStagiairetoClass TOP, l'inscription dans le LMS a ete correctement faite +INFO:root:2023-08-19 13:18:08.238153 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:18:08] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:18:08.735026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:18:08] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:18:09.294538 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:18:09] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:20:55.351738 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:20:55.355038 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:20:55.357559 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:20:55] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:20:55] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:20:55] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 13:32:18.679652 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:32:18.680819 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:32:18.680819 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:32:18.680819 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:32:18.680819 : ++ 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 +INFO:root:2023-08-19 13:32:29.724513 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 13:32:29.725516 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 13:32:29.725516 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 13:32:29.725516 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 13:32:29.725516 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 13:32:29.936076 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:32:29.940214 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:32:29.941743 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:32:29.957462 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:32:30.080861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:32:30.085860 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:32:30.088662 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:30] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:32:37.309544 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:32:37.313580 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:37] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:32:37] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:33:51.036912 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:33:51.040247 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:33:51.043852 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:33:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:33:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:33:51] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:34:10.342779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:10.347128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:10.349613 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:34:10.358997 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:34:10.563884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:10.568338 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:10.571656 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:10] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:34:36.137539 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:36.141535 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:36] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:36] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:34:58.261471 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:34:59.406253 : incription_training_confirmation_mail - : La valeur 'date_du' n'est pas presente dans liste +INFO:root:2023-08-19 13:34:59.825712 : Create_MySy_LMS_Apprenant WARNING - impossible d'ajouter le user '10098' à la table access_url_rel_user pour la recheche et l'envoi des email +INFO:root:2023-08-19 13:34:59.838285 : UpdateStagiairetoClass Le compte LMS du participant a été correctement mis à jour : local_ret_val['_id'] = 64aef8b2a70b3665dd2c7df4 +INFO:root:2023-08-19 13:34:59.862766 : Add_User_To_LMS_Class - Cet utilisateur est déjà inscrit à cette formation +INFO:root:2023-08-19 13:34:59.865781 : UpdateStagiairetoClass WARNING : Impossbile de finaliser l'incription dans le LMS +INFO:root:2023-08-19 13:34:59.865781 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:34:59] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:00.613061 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:00] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:01.667843 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:01] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:16.345810 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:35:16.350219 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:16.354386 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:35:16.361899 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:16.482448 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:35:16.485468 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:35:16.488465 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:16] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:35:20.219554 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:35:20.222588 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:20] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:35:20] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:37:43.592875 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:43.596890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:43.600886 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:43] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:43] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:43] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:37:56.641535 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:56.645309 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:56.650306 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:37:56.656294 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:37:56.777244 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:56.781238 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:37:56.785636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:37:56] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:38:00.047770 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:38:00.050629 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:38:00] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:38:00] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:45:39.097093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:45:39.107942 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:45:39.116204 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:45:39] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:45:39] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:45:39] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:46:38.913041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:38.916558 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:38.920407 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:38] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:38] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:38] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:46:42.426986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:42.430340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:42.434749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:46:42.444167 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:46:42.582479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:42.586440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:42.589257 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:42] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:46:48.857719 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:46:48.861737 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:48] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:46:48] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 13:49:05.348550 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:49:05.351964 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 13:49:05.357306 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:49:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:49:05] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 13:49:05] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:22:51.992430 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:22:51.996804 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:22:52.000847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:22:52.005259 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:22:52] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:22:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:22:52] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:22:52] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:24:41.132607 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:41.136249 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:41.140248 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:41.144262 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:41] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:41] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:24:45.886633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:45.891051 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:45.894746 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:45] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:24:45.902171 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:45] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:24:46.028239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:46.031245 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:46.034242 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:24:46.040557 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:46] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:46] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:24:46] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:38:34.722271 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:34.726711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:34.730675 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:34.735685 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:34] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:34] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:34] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:38:40.557294 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:40.561746 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:40.566746 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:38:40.579744 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:38:40.705094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:40.710103 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:40.713921 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:38:40.719952 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:38:40] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:39:49.726595 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:49.732455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:49.738010 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:49.771427 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:49] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:49] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:39:57.361307 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:57.366559 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:39:57.373893 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:39:57.386703 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:39:57.505988 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:57.512511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:57.519513 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:39:57.525040 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:39:57] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:40:38.246137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:38.252346 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:38.258190 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:38.265210 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:38] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:38] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:38] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:40:43.859263 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:43.865247 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:43.873247 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:40:43.882262 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:43] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:43] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:40:44.005819 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:44.011764 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:44.018270 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:40:44.026515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:44] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:40:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:41:39.821611 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:41:40.155696 : Pre_incription_training_confirmation_mail -'ville' - ERRORRRR AT Line : 472 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:41:41] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:42:05.814254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:42:05.819611 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:42:05.822611 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:42:05.834391 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:42:05.938399 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:42:05.943497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:42:05.948282 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:42:05.951741 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:06] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:42:06.018616 : Get_Statgaire_List_Partner_with_filter -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 3523 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:42:06] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:43:41.793962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:41.805981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:41.807998 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:43:41.817870 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:43:41.926395 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:41.931261 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:41.937546 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:41.945548 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:41] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:42] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:43:53.702475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:43:53.713735 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:53] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:43:53] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 14:46:15.840672 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 14:46:15.841678 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 14:46:15.841678 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 14:46:15.841678 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 14:46:15.841678 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 14:46:15.897756 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:15.900759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:15.906061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:15.908600 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:15.913078 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:46:15.920808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:15.923828 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2023-08-19 14:46:15.925830 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:15] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:16] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:46:19.800614 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:46:19.804210 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:19] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:46:19] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:47:53.877475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:47:53.881550 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:47:53.885449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:47:53.888845 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:47:53] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:47:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:47:53] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:47:53] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:48:03.474674 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:03.477687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:03.482252 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:48:03.487350 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:48:03.616319 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:03.619320 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:03.622318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:03.626318 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:03] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:48:48.857264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:48:49.487450 : Pre_incription_training_confirmation_mail -'ville' - ERRORRRR AT Line : 472 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:48:50] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:49:27.042809 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:49:27.045808 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:49:27.051254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:49:27.057601 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:49:27.247716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:49:27.251726 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:49:27.254910 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:49:27.260717 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:49:27] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:50:46.128045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:46.131260 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:46.134764 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:50:46.143302 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:50:46.267669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:46.271931 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:46.274928 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:46.279927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:46] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 14:50:50.898337 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 14:50:50.900856 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:50] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 14:50:50] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 14:57:26.300375 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 14:57:26.300375 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 14:57:26.300375 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 14:57:26.300375 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 14:57:26.300375 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 14:59:59.165658 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 14:59:59.166642 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 14:59:59.166642 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 14:59:59.166642 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 14:59:59.166642 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 15:00:19.647791 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:00:19.651923 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:00:19.655018 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:00:19.663448 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:00:19.781495 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:00:19.785081 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:00:19.788702 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:00:19.792698 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:00:19] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:01:38.673673 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:01:39] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:03:51.500857 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:03:51.508484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:03:51.513839 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:03:51.517278 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:03:51.765091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:03:51.774115 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:03:51.779105 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:03:51.785779 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:03:51] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:04:35.115582 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:04:35.123586 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:04:35.128587 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:04:35.132592 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:04:35] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:04:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:04:35] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:04:35] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:05:16.976802 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:18] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:05:20.196433 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:20] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:05:30.943256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:05:30.946250 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:05:30.949252 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:30] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:05:34.462467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:05:34.465861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:05:34.470047 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:34] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:34] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:34] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:05:36.512765 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:05:37.501885 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:05:37] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:06:54.896961 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:06:54.907725 : UpdateStagiairetoClass - : La valeur '_id' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:06:54] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:07:01.003221 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:07:01.006227 : UpdateStagiairetoClass - : La valeur '_id' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:07:01] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:04.695355 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:04.699158 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:04.702174 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:04] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:04] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:15.199650 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:15.205658 : UpdateStagiairetoClass -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 332 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:15] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:55.182835 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:55.185826 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:55.189897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:55.198106 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:55.332613 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:55.335716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:55.339725 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:55] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:14:59.496777 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:59.500406 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:14:59.503192 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:59] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:59] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:14:59] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:15:01.273145 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:15:01.280118 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:15:01] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:15:14.784773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:15:14.789980 : UpdateStagiairetoClass -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 332 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:15:14] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Session_Formation.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2023-08-19 15:17:53.515284 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2023-08-19 15:17:53.515284 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2023-08-19 15:17:53.515284 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2023-08-19 15:17:53.515284 : ++ FLASK PORT 5001 ++ +INFO:root:2023-08-19 15:17:53.515284 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 109-989-239 +INFO:root:2023-08-19 15:18:00.529669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:00.532671 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:00.537670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:00.548703 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:00.774263 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:00.778635 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:00.783167 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:00] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:08.266172 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:08.270585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:08.276069 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:08] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:10.319136 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:11.093069 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:11] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:19.777834 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:19.794457 : UpdateStagiairetoClass -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 332 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:19] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:18:28.547078 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:18:28.554237 : UpdateStagiairetoClass -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 332 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:18:28] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:20:16.851923 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:20:16.855591 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:20:16.859392 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:16] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:20:33.046938 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:20:33.070167 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:33] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:20:33.551876 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:20:33.561644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:20:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:21:53.409045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:53.415641 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:21:53.428891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:53.428891 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:21:53.670446 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:53.678672 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:53.683668 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:53] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:21:59.772424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:59.776329 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:21:59.781440 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:59] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:59] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:21:59] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:22:01.774471 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:22:01.783749 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:01] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:22:38.898413 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:22:38.904527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:22:38.910517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:38] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:38] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:22:59.586834 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:22:59.589891 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:22:59.594897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:59] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:22:59] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:34.360218 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:34.364864 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:34.368388 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:34.377581 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:34.516631 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:34.520042 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:34.524057 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:34] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:39.666349 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:39.670335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:39.674372 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:39] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:39] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:39] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:41.472484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:41.479320 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:41] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:23:54.783493 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:23:54.791133 : UpdateStagiairetoClass -'undefined' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 332 +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:23:54] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:26:15.366024 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:26:15.372044 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:26:15.375041 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:26:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:26:15] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:26:15] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:02.710554 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:02.716165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:02.721267 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:02] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:02] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:07.407496 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:07.457807 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:07.463390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:07.470372 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:07.771354 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:07.784221 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:07.799515 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:07] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:13.496469 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:13.500283 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:13.504472 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:13] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:13] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:13] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:15.548654 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:15.556299 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:15] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:29.259405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:29.293726 : incription_training_confirmation_mail - : La valeur 'date_du' n'est pas presente dans liste +INFO:root:2023-08-19 15:27:29.293726 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:29] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:27:29.804312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:27:29.811271 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:29] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:27:29] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:33.081377 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:33.088034 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:33.092135 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:33] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:33] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:48.148475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:48.152632 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:48.157439 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:48.165705 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:48.337580 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:48.348490 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:48.352512 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:48] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:53.715549 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:53.719652 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:53.723872 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:53] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:53] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:53] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:28:55.703310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:28:55.711740 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:28:55] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:12.957791 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:12.979620 : incription_training_confirmation_mail - : La valeur 'date_du' n'est pas presente dans liste +INFO:root:2023-08-19 15:29:12.979620 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:12] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:13.490231 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:13.494502 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:13] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:13] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:14.874863 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:14] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:23.750771 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:23.754784 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:23.760339 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:23.777884 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:23.968127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:23.972402 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:23.978409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:23] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:24] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:38.214484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:38.218401 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:38.223841 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:38] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:38] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:38] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:40.345394 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:40.352896 : GetSpecificPartnerAttestation_Certificat Impossible de recuperer les données de ce template +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:40] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:29:51.532287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:51.536830 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:51.543417 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:29:51.551112 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:29:51] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:30:28.607284 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:30:28.610794 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:30:28] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:30:28] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:14.366928 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:31:14.372949 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:14] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:14] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:26.208291 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:31:26.211776 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:26] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:26] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:33.838442 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:33] "POST /myclass/api/Update_Stagiaire_Image/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:46.066396 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:31:46.088239 : incription_training_confirmation_mail - : La valeur 'date_du' n'est pas presente dans liste +INFO:root:2023-08-19 15:31:46.089604 : Les données du stagiaire ont été correctement mise à jour +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:46] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:46.555382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:46] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:31:47.119336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:31:47] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:32:00.892162 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:00.896469 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:00.898464 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:32:00.906951 : Connexion du partner recid = dbdd36f3d86a73e2bfac7b3f10f062ce1e7c22f7da37de192a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:32:01.030164 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:01.034186 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:01.038514 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:01.041986 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:01] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:01] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:root:2023-08-19 15:32:06.704175 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2023-08-19 15:32:06.709288 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:06] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [19/Aug/2023 15:32:06] "POST /myclass/api/getRecodedStagiaireImage_from_front/ HTTP/1.1" 200 - diff --git a/Session_Formation.py b/Session_Formation.py index 27328b8..490d27b 100644 --- a/Session_Formation.py +++ b/Session_Formation.py @@ -648,6 +648,7 @@ def GetAllValideSessionPartner_List(diction): val['id'] = str(cpt) cpt = cpt + 1 val['class_internal_url'] = retVal['class_internal_url'] + val['_id'] = retVal['_id'] val['code_session'] = retVal['code_session'] val['session_etape'] = retVal['session_etape'] @@ -797,6 +798,7 @@ def GetAllValideSessionPartner_List_filter_like(diction): val = {} val['id'] = str(cpt) cpt = cpt + 1 + val['_id'] = retVal['_id'] val['class_internal_url'] = retVal['class_internal_url'] val['code_session'] = retVal['code_session'] val['session_etape'] = retVal['session_etape'] diff --git a/main.py b/main.py index cf47b27..42eb031 100644 --- a/main.py +++ b/main.py @@ -3618,6 +3618,8 @@ if __name__ == '__main__': mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_DEV) + " ++") mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++") + """ + /!\ Dasactivé en dev pour pas consommer de ressource pr rien. scheduler = BackgroundScheduler() # Create the job scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=5) @@ -3626,7 +3628,7 @@ if __name__ == '__main__': # /!\ IMPORTANT /!\ : Shut down the scheduler when exiting the app atexit.register(lambda: scheduler.shutdown()) - + """ app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True) # Create the background scheduler diff --git a/prj_common.py b/prj_common.py index fed139b..ed35d57 100644 --- a/prj_common.py +++ b/prj_common.py @@ -2877,132 +2877,183 @@ def GetAttendeeDetail_perSession(diction): RetObject = [] - qry = {'session_id':str(diction['session_id']),'email':str(diction['attendee_email']), + qry_filter = {'session_id':str(diction['session_id']),'email':str(diction['attendee_email']), 'class_internal_url':str(diction['internal_url']),} - print(" ici qry = ",qry) + + + + pipe_qry = ([{'$match':qry_filter}, + {'$lookup': + { + 'from': 'session_formation', + 'let': {'session_id': "$session_id", 'class_internal_url': '$class_internal_url'}, + + 'pipeline': [ + {'$match': + {'$expr': + {'$and': + [ + {'$eq': ["$code_session", "$$session_id"]}, + {'$eq': ["$class_internal_url", "$$class_internal_url"]}, + {'$eq': ["$valide", "1"]} + ] + } + } + }, + + ], + 'as': 'inscription_collectoin' + } + }, + + ]) + + + print(" ### GetAttendeeDetail_perSession ici pipe_qry = ",pipe_qry) # Recuperation des infos de la formation - local_Insc_retval = MYSY_GV.dbname['inscription'].find_one({'session_id':str(diction['session_id']), + """local_Insc_retval = MYSY_GV.dbname['inscription'].find_one({'session_id':str(diction['session_id']), 'email':str(diction['attendee_email']), 'class_internal_url':str(diction['internal_url']),}) + """ - if( local_Insc_retval is None): - myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire (2)") - return False, " Les informations d'identifier la session (2) " + for local_Insc_retval in MYSY_GV.dbname['inscription'].aggregate(pipe_qry) : - my_retrun_dict = {} + print(" ### local_Insc_retval == ", local_Insc_retval) - if ("session_id" in local_Insc_retval.keys()): - my_retrun_dict['session_id'] = local_Insc_retval['session_id'] + if( local_Insc_retval is None): + myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le recid du partenaire (2)") + return False, " Les informations d'identifier la session (2) " - if ("date_du" in local_Insc_retval.keys()): - my_retrun_dict['date_du'] = local_Insc_retval['date_du'] + if ('inscription_collectoin' in local_Insc_retval.keys() and len(local_Insc_retval['inscription_collectoin']) > 0): + my_retrun_dict = {} - if ("date_au" in local_Insc_retval.keys()): - my_retrun_dict['date_au'] = local_Insc_retval['date_au'] + if ("session_id" in local_Insc_retval.keys()): + my_retrun_dict['session_id'] = local_Insc_retval['session_id'] - if ("ville" in local_Insc_retval.keys()): - my_retrun_dict['ville'] = local_Insc_retval['ville'] + if ("date_debut" in local_Insc_retval['inscription_collectoin'][0].keys()): + my_retrun_dict['date_du'] = str(local_Insc_retval['inscription_collectoin'][0]['date_debut'])[0:10] - if ("code_postal" in local_Insc_retval.keys()): - my_retrun_dict['code_postal'] = local_Insc_retval['code_postal'] + if ("date_fin" in local_Insc_retval['inscription_collectoin'][0].keys()): + my_retrun_dict['date_au'] = str(local_Insc_retval['inscription_collectoin'][0]['date_fin'])[0:10] - if ("certification_send_date" in local_Insc_retval.keys()): - if (str(local_Insc_retval['certification_send_date'])): - my_retrun_dict['certification_send_date'] = str(local_Insc_retval['certification_send_date'])[0:10] + if ("ville" in local_Insc_retval.keys()): + my_retrun_dict['ville'] = local_Insc_retval['ville'] - local_adresse = "" - if ("adresse" in local_Insc_retval.keys()): - local_adresse = local_Insc_retval['adresse'] - my_retrun_dict['adresse'] = local_adresse + if ("code_postal" in local_Insc_retval.keys()): + my_retrun_dict['code_postal'] = local_Insc_retval['code_postal'] - local_nom = "" - if ("nom" in local_Insc_retval.keys()): - local_nom = local_Insc_retval['nom'] - my_retrun_dict['nom'] = local_nom + if ("certification_send_date" in local_Insc_retval.keys()): + if (str(local_Insc_retval['certification_send_date'])): + my_retrun_dict['certification_send_date'] = str(local_Insc_retval['certification_send_date'])[0:10] - local_prenom = "" - if ("prenom" in local_Insc_retval.keys()): - local_prenom = local_Insc_retval['prenom'] - my_retrun_dict['prenom'] = local_prenom + local_adresse = "" + if ("adresse" in local_Insc_retval.keys()): + local_adresse = local_Insc_retval['adresse'] + my_retrun_dict['adresse'] = local_adresse - local_employeur = "" - if ("employeur" in local_Insc_retval.keys()): - local_employeur = local_Insc_retval['employeur'] - my_retrun_dict['employeur'] = local_employeur + local_nom = "" + if ("nom" in local_Insc_retval.keys()): + local_nom = local_Insc_retval['nom'] + my_retrun_dict['nom'] = local_nom - local_telephone = "" - if ("telephone" in local_Insc_retval.keys()): - local_telephone = local_Insc_retval['telephone'] - my_retrun_dict['telephone'] = local_telephone + local_prenom = "" + if ("prenom" in local_Insc_retval.keys()): + local_prenom = local_Insc_retval['prenom'] + my_retrun_dict['prenom'] = local_prenom - local_email = "" - if ("email" in local_Insc_retval.keys()): - local_email = local_Insc_retval['email'] - my_retrun_dict['email'] = local_email + local_employeur = "" + if ("employeur" in local_Insc_retval.keys()): + local_employeur = local_Insc_retval['employeur'] + my_retrun_dict['employeur'] = local_employeur - local_modefinancement = "" - if ("modefinancement" in local_Insc_retval.keys()): - local_modefinancement = local_Insc_retval['modefinancement'] - my_retrun_dict['modefinancement'] = local_modefinancement + local_telephone = "" + if ("telephone" in local_Insc_retval.keys()): + local_telephone = local_Insc_retval['telephone'] + my_retrun_dict['telephone'] = local_telephone - local_opco = "" - if ("opco" in local_Insc_retval.keys()): - local_opco = local_Insc_retval['opco'] - my_retrun_dict['opco'] = local_opco + local_email = "" + if ("email" in local_Insc_retval.keys()): + local_email = local_Insc_retval['email'] + my_retrun_dict['email'] = local_email - local_class_internal_url = "" - if ("class_internal_url" in local_Insc_retval.keys()): - local_class_internal_url = local_Insc_retval['class_internal_url'] - my_retrun_dict['class_internal_url'] = local_class_internal_url + local_modefinancement = "" + if ("modefinancement" in local_Insc_retval.keys()): + local_modefinancement = local_Insc_retval['modefinancement'] + my_retrun_dict['modefinancement'] = local_modefinancement - local_status = "" - if ("status" in local_Insc_retval.keys()): - local_status = local_Insc_retval['status'] - my_retrun_dict['status'] = local_status + local_opco = "" + if ("opco" in local_Insc_retval.keys()): + local_opco = local_Insc_retval['opco'] + my_retrun_dict['opco'] = local_opco - local_price = "" - if ("price" in local_Insc_retval.keys()): - local_price = local_Insc_retval['price'] - my_retrun_dict['price'] = local_price + local_class_internal_url = "" + if ("class_internal_url" in local_Insc_retval.keys()): + local_class_internal_url = local_Insc_retval['class_internal_url'] + my_retrun_dict['class_internal_url'] = local_class_internal_url - local_inscription_validation_date = "" - if ("inscription_validation_date" in local_Insc_retval.keys()): - local_inscription_validation_date = local_Insc_retval['inscription_validation_date'] - my_retrun_dict['inscription_validation_date'] = local_inscription_validation_date + local_status = "" + if ("status" in local_Insc_retval.keys()): + local_status = local_Insc_retval['status'] + my_retrun_dict['status'] = local_status - if ("eval_eval" in local_Insc_retval.keys()): - if (str(local_Insc_retval['eval_eval'])): - my_retrun_dict['eval_eval'] = local_Insc_retval['eval_eval'] + local_price = "" + if ("price" in local_Insc_retval['inscription_collectoin'][0].keys()): + local_price = local_Insc_retval['inscription_collectoin'][0]['price'] + my_retrun_dict['price'] = local_price - if ("eval_note" in local_Insc_retval.keys()): - if (str(local_Insc_retval['eval_note'])): - my_retrun_dict['eval_note'] = local_Insc_retval['eval_note'] + local_inscription_validation_date = "" + if ("inscription_validation_date" in local_Insc_retval.keys()): + local_inscription_validation_date = local_Insc_retval['inscription_validation_date'] + my_retrun_dict['inscription_validation_date'] = local_inscription_validation_date - if ("eval_pedagogie" in local_Insc_retval.keys()): - if (str(local_Insc_retval['eval_pedagogie'])): - my_retrun_dict['eval_pedagogie'] = local_Insc_retval['eval_pedagogie'] + if ("eval_eval" in local_Insc_retval.keys()): + if (str(local_Insc_retval['eval_eval'])): + my_retrun_dict['eval_eval'] = local_Insc_retval['eval_eval'] - if ("eval_date" in local_Insc_retval.keys()): - if (str(local_Insc_retval['eval_date'])): - my_retrun_dict['eval_date'] = str(local_Insc_retval['eval_date'])[0:10] + if ("eval_note" in local_Insc_retval.keys()): + if (str(local_Insc_retval['eval_note'])): + my_retrun_dict['eval_note'] = local_Insc_retval['eval_note'] + + if ("eval_pedagogie" in local_Insc_retval.keys()): + if (str(local_Insc_retval['eval_pedagogie'])): + my_retrun_dict['eval_pedagogie'] = local_Insc_retval['eval_pedagogie'] + + if ("eval_date" in local_Insc_retval.keys()): + if (str(local_Insc_retval['eval_date'])): + my_retrun_dict['eval_date'] = str(local_Insc_retval['eval_date'])[0:10] + + client_rattachement_id = "" + client_rattachement_nom = "" + if ("client_rattachement_id" in local_Insc_retval.keys()): + if( local_Insc_retval['client_rattachement_id']): + + local_client_retval_data = MYSY_GV.dbname['partner_client'].find_one({'_id': ObjectId(str(local_Insc_retval['client_rattachement_id'])), + 'valide': '1', 'locked': '0'}, {'_id':1, 'nom':1}) + + if( local_client_retval_data is not None): + client_rattachement_id = local_client_retval_data['_id'] + client_rattachement_nom = local_client_retval_data['nom'] + + my_retrun_dict['client_rattachement_id'] = client_rattachement_id + my_retrun_dict['client_rattachement_nom'] = client_rattachement_nom - v = local_Insc_retval['_id'].generation_time - my_retrun_dict['created_date'] = str(v.strftime("%d/%m/%Y")) + v = local_Insc_retval['_id'].generation_time + my_retrun_dict['created_date'] = str(v.strftime("%d/%m/%Y")) - # Recuperation des informations de la formation - local_formation = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(local_Insc_retval['class_internal_url'])}) + # Recuperation des informations de la formation + local_formation = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(local_Insc_retval['class_internal_url'])}) - if local_formation is None or local_formation['_id'] is None: - myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer les informations de la formation ") - return False, " Impossible de recuperer les informations de la formation" + if local_formation is None or local_formation['_id'] is None: + myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer les informations de la formation ") + return False, " Impossible de recuperer les informations de la formation" - my_retrun_dict['class_title'] = local_formation['title'] + my_retrun_dict['class_title'] = local_formation['title'] - RetObject.append(JSONEncoder().encode(my_retrun_dict)) + RetObject.append(JSONEncoder().encode(my_retrun_dict)) return True, RetObject