diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f4b1c04..858fab1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,13 +1,15 @@ - + + + - - + + @@ -462,7 +464,6 @@ - @@ -487,6 +488,7 @@ - \ No newline at end of file diff --git a/Job_Cron.py b/Job_Cron.py index 6a40964..a9fe01a 100644 --- a/Job_Cron.py +++ b/Job_Cron.py @@ -2,6 +2,7 @@ Ce fichier permet de gerer les crons et differents job """ import ast +from calendar import monthrange import bson import pymongo @@ -15,6 +16,8 @@ from datetime import datetime, date, timedelta import module_editique +import partner_base_setup +import partner_client import partner_order import prj_common as mycommon import secrets @@ -413,4 +416,660 @@ def Cron_Quotation_Relance(): except Exception as e: exc_type, exc_obj, exc_tb = sys.exc_info() mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) - return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) \ No newline at end of file + return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) + + + +""" +Cron de facturation automatique des inscriptions +Contrôle avant facturation : +Après la facturation, on ajout sur la ligne d’inscription, la liste des factures. On remplit aussi les champs : ‘invoice’ et ‘invoice_date’. +A la prochaine facturation, comme on est sur une facturation mensuelle, le système va vérifier que la ligne en question n’a pas été facturée le mois en cours. + +""" +def Cron_Monthly_Invoice_Inscription(): + try: + + todays_date = str(date.today().strftime("%d/%m/%Y")) + todays_date_ISODATE = datetime.strptime(str(todays_date), '%d/%m/%Y') + + + """ + 1 - Recuprer la liste des client facturation mensuelle automatique + """ + list_clients = [] + for client_data in MYSY_GV.dbname['partner_client'].find({'valide':'1', + 'locked':'0', + 'invoice_automatique':'mois'}): + list_clients.append(str(client_data['_id'])) + + print(" Client à factuer : ", str(client_data['nom']) ) + + qery_match = {'$and': [{"valide": '1', }, + { + 'mysy_session_start_date': {'$lte': todays_date_ISODATE}, + }, + { + 'mysy_session_end_date': {'$gte': todays_date_ISODATE, }, + }, + + ]} + + pipe_qry = [ + + {"$addFields": { + "mysy_session_start_date": { + '$dateFromString': { + 'dateString': '$date_debut', + 'format': "%d/%m/%Y" + } + } + } + }, + {"$addFields": { + "mysy_session_end_date": { + '$dateFromString': { + 'dateString': '$date_fin', + 'format': "%d/%m/%Y" + } + } + } + }, + {'$match': qery_match}, + + {'$lookup': { + 'from': 'inscription', + 'let': {'session_id': {'$toString': '$_id'}, 'session_partner_owner_recid': '$partner_owner_recid'}, + 'pipeline': [ + {'$match': + {'$expr': + {'$and': + [ + {'$eq': ['$session_id', '$$session_id']}, + {'$eq': ['$partner_owner_recid', '$$session_partner_owner_recid']}, + {'$eq': ['$status', '1']}, + {'$eq': ["$client_rattachement_id", str(client_data['_id'])]} + ] + } + } + }, + + ], + 'as': 'inscription_collection' + } + }, + ] + + #print(" ### Cron_Monthly_Invoice_Inscription pipe_qry = ", pipe_qry) + + data_for_invoicing = {} + data_for_invoicing['list_client'] = [] + data_for_invoicing['list_session'] = [] + data_for_invoicing['detail_data'] = [] + + list_session = [] + list_client = [] + + for val in MYSY_GV.dbname['session_formation'].aggregate(pipe_qry): + #print(" #### val = ", val) + + + if( str(client_data['_id']) not in list_client ): + list_client.append(str(client_data['_id'])) + + if (str(val['code_session']) not in list_session): + list_session.append(str(val['code_session'])) + + for inscrit_data in val['inscription_collection'] : + + + """ + Verifier que la ligne d'inscription n'as pas été facturé le mois en cours + + """ + inscription_allready_invoiced = "0" + + if( "invoiced_date" in inscrit_data.keys() and inscrit_data['invoiced_date'] ): + + today_yearmonth =str(datetime.now().strftime("%Y%m")) + + last_invoiced_date = datetime.strptime(str(inscrit_data['invoiced_date'])[0:10], '%Y-%m-%d') + last_invoiced_yearmonth = str(last_invoiced_date.strftime("%Y%m")) + + if(str(today_yearmonth) == str(last_invoiced_yearmonth)): + inscription_allready_invoiced = 1 + print(" Cette inscription a a déjà ete facturé le "+str(last_invoiced_date)) + + """ + # On va aller prendre toutes les incriptions qui n'ont pas été facturées le mois en cours + """ + if( inscription_allready_invoiced == "0"): + local_node = {} + local_node['client_id'] = str(client_data['_id']) + local_node['client_nom'] = str(client_data['nom']) + local_node['client_raison_sociale'] = str(client_data['raison_sociale']) + local_node['nb_inscrit_to_invoice'] = str(len(val['inscription_collection'])) + + if( "_id" in val.keys() ): + local_node['session_id'] = str(val['_id']) + + + if ("code_session" in val.keys()): + local_node['code_session'] = val['code_session'] + + + if ("titre" in val.keys()): + local_node['session_titre'] = val['titre'] + + class_title = "" + class_internal_url = "" + if( "class_internal_url" in val.keys() and val['class_internal_url']): + class_internal_url = val['class_internal_url'] + class_data = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(val['class_internal_url']), + 'partner_owner_recid':str(val['partner_owner_recid']), + 'valide':'1', + 'locked':'0'}) + + if( class_data and "title" in class_data.keys() ): + class_title = class_data['title'] + + local_node['class_title'] = class_title + local_node['class_internal_url'] = class_internal_url + + if ("date_debut" in val.keys()): + local_node['session_date_debut'] = val['date_debut'] + + if ("date_debut" in val.keys()): + local_node['session_date_debut'] = val['date_debut'] + + if ("date_fin" in val.keys()): + local_node['session_date_fin'] = val['date_fin'] + + if ("prix_session" in val.keys()): + local_node['prix_session'] = val['prix_session'] + + if ("price_by" in val.keys()): + local_node['price_by'] = val['price_by'] + + + local_node['inscription_id'] = str(inscrit_data['_id']) + + + ### data Inscription + + local_node['apprenant_id'] = str(inscrit_data['_id']) + + if ("_id" in inscrit_data.keys()): + local_node['apprenant_id'] = str(inscrit_data['_id']) + + # Si on a une apprenant_id, on va aller chercher les données de l'apprenant + if( "apprenant_id" in inscrit_data.keys() and inscrit_data['apprenant_id']): + apprenant_data = MYSY_GV.dbname['apprenant'].find_one({'_id':ObjectId(str(inscrit_data['apprenant_id'])), + 'partner_owner_recid':str(val['partner_owner_recid'])}) + + + if (apprenant_data and "email" in apprenant_data.keys()): + local_node['apprenant_email'] = apprenant_data['email'] + + if (apprenant_data and "civilite" in apprenant_data.keys()): + local_node['apprenant_civilite'] = apprenant_data['civilite'] + + if (apprenant_data and "prenom" in apprenant_data.keys()): + local_node['apprenant_prenom'] = apprenant_data['prenom'] + + if (apprenant_data and "nom" in apprenant_data.keys()): + local_node['apprenant_nom'] = apprenant_data['nom'] + + else: + # Situation anormale car toutes inscription validée à forcement un dossier apprenant. mais on fait pour se couvrir de bug + local_node['inscription_email'] = "" + local_node['inscription_civilite'] = "" + local_node['inscription_prenom'] = "" + local_node['inscription_nom'] = "" + + local_node['partner_owner_recid'] = str(client_data['partner_recid']) + + data_for_invoicing['detail_data'].append(local_node) + + data_for_invoicing['list_client'] = list_client + data_for_invoicing['list_session'] = list_session + + + print(" ### le tableau a facturer est : ") + print(data_for_invoicing) + + if( len(data_for_invoicing['detail_data']) > 0 ): + print(" DEBUT FACTURATION") + local_invoice_status, local_invoice_retval = Invoice_Data_From_Tab(data_for_invoicing) + if( local_invoice_status is False): + return local_invoice_status, local_invoice_retval + else: + print(" FACTURATION REUSSI") + + return True, "" + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) + + +""" +Cette fonction prend le tableau des data à factuer et créer les facture dans les +tables et met à jour les inscriptions +""" +def Invoice_Data_From_Tab(diction): + try: + todays_date_mode_2 = str(date.today().strftime("%Y-%m-%d")) + + print( " ### diction FACTURATION= ", diction) + + field_list_obligatoire = ['list_client', 'list_session', 'detail_data', ] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " : La valeur '" + val + "' n'est pas presente dans liste ") + return False, "La valeur '" + val + "' n'est pas presente dans liste" + + + field_list_detail_data_obligatoire = ['client_id', 'session_id', 'code_session', 'prix_session', 'price_by', 'nb_inscrit_to_invoice', + 'apprenant_id', 'apprenant_email', 'apprenant_prenom', 'apprenant_nom', 'partner_owner_recid', 'class_internal_url'] + + for val in field_list_detail_data_obligatoire: + for tmp in diction['detail_data']: + if val not in tmp: + mycommon.myprint( + str(inspect.stack()[0][3]) + " : La valeur '" + val + "' n'est pas presente dans 'detail_data' ") + return False, "La valeur '" + val + "' n'est pas presente dans 'detail_data' " + + + data_array = diction['detail_data'] + + tab_ligne_a_facturer = [] + + ref_interne_facture = "" + """ + Calcul des totaux à facturer + """ + montant_total_ht = 0 + + for session_data in diction['list_session'] : + montant_total_ht_session = 0 + nb_participant = 0 + prix_session = 0 + price_by_session = "" + liste_participant = "" + class_intenal_url_session = "" + partner_owner_recid = "" + + for local_data in diction['detail_data']: + if( local_data['code_session'] == session_data ) : + + if( "prix_session" in local_data.keys() and local_data['prix_session'] and + "price_by" in local_data.keys() and local_data['price_by'] ): + prix_insc = str(local_data['prix_session']) + price_by = str(local_data['price_by']) + + if( price_by not in MYSY_GV.TRAINING_PRICE): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La valeur '" + price_by + "' n'est pas valide ") + return False, " La valeur '" + price_by + "' n'est pas valide " + + local_isfloat_status, local_isfloat_retval = mycommon.IsFloat(prix_insc) + if(local_isfloat_status is False ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La valeur '" + prix_insc + "' n'est pas valide ") + return False, " La valeur '" + prix_insc + "' n'est pas valide " + + nb_participant = mycommon.tryInt(local_data['nb_inscrit_to_invoice']) + prix_session = local_isfloat_retval + price_by_session = price_by + + + liste_participant = str(local_data['apprenant_prenom'])+" "+str(local_data['apprenant_nom'])+str(local_data['apprenant_email'])+"\n"+liste_participant + class_intenal_url_session = local_data['class_internal_url'] + partner_owner_recid = local_data['partner_owner_recid'] + + + if( price_by_session == "perstagiaire"): + montant_total_ht_session = montant_total_ht_session + (prix_session * nb_participant ) + elif( price_by_session == "persession"): + montant_total_ht_session = montant_total_ht_session + prix_session + + montant_total_ht = montant_total_ht + montant_total_ht_session + + partner_invoice_line_data = {} + list_partner_invoice_line_champ = ['order_line_formation', 'order_line_qty', 'order_line_prix_unitaire', + 'order_line_tax', 'order_line_tax_amount', + 'order_line_montant_toutes_taxes', + 'order_line_montant_hors_taxes', 'order_line_type_reduction', + 'order_line_type_valeur', 'order_line_montant_reduction', + 'order_header_ref_interne', + 'order_line_comment', 'order_header_id', 'valide', 'locked', + 'date_update', + 'partner_owner_recid', 'invoice_header_ref_interne', 'invoice_line_type', + 'invoice_date', 'invoice_header_id'] + + # PreRemplir les champs + for val in list_partner_invoice_line_champ: + partner_invoice_line_data[str(val)] = "" + + partner_invoice_line_data['order_line_formation'] = class_intenal_url_session + partner_invoice_line_data['order_line_qty'] = str(nb_participant) + partner_invoice_line_data['order_line_prix_unitaire'] = str(prix_session) + partner_invoice_line_data['order_line_montant_hors_taxes'] = str(montant_total_ht_session) + partner_invoice_line_data['order_line_comment'] = str(liste_participant) + partner_invoice_line_data['invoice_line_type'] = "facture" + partner_invoice_line_data['code_session'] = session_data + + partner_invoice_line_data['update_by'] = "auto" + partner_invoice_line_data['valide'] = "1" + partner_invoice_line_data['locked'] = "0" + partner_invoice_line_data['partner_owner_recid'] = str(partner_owner_recid) + + if( "order_line_formation" in partner_invoice_line_data.keys() and partner_invoice_line_data['order_line_formation'] and + "order_line_qty" in partner_invoice_line_data.keys() and partner_invoice_line_data['order_line_qty'] ): + tab_ligne_a_facturer.append(partner_invoice_line_data) + + + print(" ### montant_total_ht = ", montant_total_ht) + """ + 1 - recuperation des données du client + """ + client_data = MYSY_GV.dbname['partner_client'].find_one({'_id':ObjectId(str(diction['list_client'][0])), + 'valide':'1', + 'locked':'0', + 'partner_recid':str(str(data_array[0]['partner_owner_recid']))}) + + if( client_data is None ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " L'identifiant du client "+str(data_array[0]['client_id'])+" est invalide ") + return False, " L'identifiant du client "+str(data_array[0]['client_id'])+" est invalide " + + local_status, my_partner = mycommon.Get_Connected_User_Partner_Data_From_RecID( str(data_array[0]['partner_owner_recid'])) + if (local_status is not True): + return local_status, my_partner + + + # Recuperation des contacts de communication du client + local_diction = {} + local_diction['token'] = str(my_partner['token']) + local_diction['_id'] = str(client_data['_id']) + + print(" ##### local_diction = ", local_diction) + local_status, partner_client_contact_communication = partner_client.Get_Partner_Client_Communication_Contact( + local_diction) + + if (local_status is False): + mycommon.myprint(" Impossible de récupérer les contacts de communication du client ") + return False, " Impossible de récupérer les contacts de communication du client " + + partner_invoice_header_data = {} + + list_partner_invoice_header_champ = ['order_header_client_id', 'order_header_ref_interne', + 'order_header_email_client', 'order_header_origin', + 'order_header_ref_client', 'order_header_vendeur_id', + 'order_header_date_cmd', 'order_header_date_expiration', + 'order_header_adr_fact_adresse', 'order_header_adr_fact_code_postal', + 'order_header_adr_fact_ville', 'order_header_adr_fact_pays', + 'order_header_adr_liv_adresse', 'order_header_adr_liv_code_postal', + 'order_header_adr_liv_ville', 'order_header_adr_liv_pays', 'valide', + 'locked', 'date_update', + 'order_header_montant_reduction', 'order_header_tax', + 'order_header_tax_amount', 'total_header_hors_taxe_after_header_reduction', + 'total_header_hors_taxe_before_header_reduction', + 'total_header_toutes_taxes', 'total_lines_hors_taxe_after_lines_reduction', + 'total_lines_hors_taxe_before_lines_reduction', + 'total_lines_montant_reduction', 'invoice_header_ref_interne', + 'invoice_header_type', 'invoice_date', 'update_by'] + + # PreRemplir les champs + for val in list_partner_invoice_header_champ: + partner_invoice_header_data[str(val)] = "" + + partner_invoice_header_data['order_header_client_id'] = str(client_data['_id']) + + """ + Recuperation des conditions de paiement depuis le client + """ + ction_paiement_code = "" + ction_paiement_desc = "" + ction_paiement_depart = "facture" + ction_paiement_nb_jour = "0" + + if ("invoice_condition_paiement_id" in client_data.keys() and client_data[ + 'invoice_condition_paiement_id']): + ction_paiement_data = MYSY_GV.dbname['base_partner_paiement_condition'].find_one( + {'partner_owner_recid': my_partner['recid'], + 'valide': '1', + 'locked': '0', + '_id': ObjectId(str(client_data['invoice_condition_paiement_id']))}) + + if (ction_paiement_data and "code" in ction_paiement_data.keys() and ction_paiement_data['code']): + ction_paiement_code = ction_paiement_data['code'] + + if (ction_paiement_data and "description" in ction_paiement_data.keys() and ction_paiement_data[ + 'description']): + ction_paiement_desc = ction_paiement_data['description'] + + if (ction_paiement_data and "nb_jour" in ction_paiement_data.keys() and ction_paiement_data['nb_jour'] and + "depart" in ction_paiement_data.keys() and ction_paiement_data['depart']): + ction_paiement_nb_jour = ction_paiement_data['nb_jour'] + ction_paiement_depart = ction_paiement_data['depart'] + + nb_jour_int = mycommon.tryInt(str(ction_paiement_nb_jour)) + today = datetime.today() + date_echance = datetime.today() + + if (str(ction_paiement_depart) == "mois"): + days_in_month = lambda dt: monthrange(dt.year, dt.month)[1] + first_day_next_month = today.replace(day=1) + timedelta(days_in_month(today)) + date_echance = first_day_next_month + timedelta(days=nb_jour_int) + + else: + date_echance = today + timedelta(days=nb_jour_int) + + date_echance = date_echance.strftime("%d/%m/%Y") + partner_invoice_header_data['invoice_date_echeance'] = str(date_echance) + partner_invoice_header_data['order_header_condition_paiement_code'] = str(ction_paiement_code) + partner_invoice_header_data['order_header_condition_paiement_description'] = str(ction_paiement_desc) + + partner_invoice_header_data['order_header_ref_interne'] = "Fact_Auto_" + str(todays_date_mode_2) + + order_header_email_client = "" + if ("email" in client_data.keys()): + order_header_email_client = client_data['email'] + partner_invoice_header_data['order_header_email_client'] = order_header_email_client + + order_header_origin = "session_id_" + str(client_data['_id']) + partner_invoice_header_data['order_header_origin'] = order_header_origin + + order_header_adr_fact_adresse = "" + if ("invoice_adresse" in client_data.keys()): + order_header_adr_fact_adresse = client_data['invoice_adresse'] + partner_invoice_header_data['order_header_adr_fact_adresse'] = order_header_adr_fact_adresse + + order_header_adr_fact_ville = "" + if ("invoice_ville" in client_data.keys()): + order_header_adr_fact_ville = client_data['invoice_adresse'] + partner_invoice_header_data['order_header_adr_fact_ville'] = order_header_adr_fact_ville + + order_header_adr_fact_code_postal = "" + if ("invoice_code_postal" in client_data.keys()): + order_header_adr_fact_code_postal = client_data['invoice_code_postal'] + partner_invoice_header_data['order_header_adr_fact_code_postal'] = order_header_adr_fact_code_postal + + order_header_adr_fact_pays = "" + if ("invoice_pays" in client_data.keys()): + order_header_adr_fact_pays = client_data['invoice_pays'] + partner_invoice_header_data['order_header_adr_fact_pays'] = order_header_adr_fact_pays + + order_header_montant_reduction = "0" + partner_invoice_header_data['order_header_montant_reduction'] = order_header_montant_reduction + + partner_invoice_header_data['total_header_hors_taxe_before_header_reduction'] = str(montant_total_ht) + + # Recupération de la TVA de l'entité qui facture + taux_tva_statuts, taux_tva_retval = partner_base_setup.Get_Given_Partner_Basic_Setup( + {'token': str(my_partner['token']), 'config_name': 'tva'}) + + if (taux_tva_statuts is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : Impossible de récupérer le taux de TVA ") + return False, " Facturation : Impossible de récupérer le taux de TVA " + + tmp = ast.literal_eval(taux_tva_retval[0]) + taux_tva_retval = tmp['config_value'] + + tva_status, tva_value = mycommon.IsFloat(str(taux_tva_retval)) + if (tva_status is False): + mycommon.myprint(str(inspect.stack()[0][3]) + " Facturation : Le taux de TVA est invalide ") + return False, " Facturation : Le taux de TVA est invalide " + + partner_invoice_header_data['order_header_tax'] = taux_tva_retval + partner_invoice_header_data['order_header_tax_amount'] = str(round(tva_value * montant_total_ht / 100, 2)) + partner_invoice_header_data['total_header_toutes_taxes'] = str( + round(montant_total_ht + (tva_value * montant_total_ht) / 100, 2)) + partner_invoice_header_data['invoice_header_type'] = "facture" + + # Récuperation de la sequence de l'objet "partner_invoice_header" dans la collection : "mysy_sequence" + retval_sequence_invoice = MYSY_GV.dbname['mysy_sequence'].find_one( + {'partner_invoice_header': 'partner_order_header', + 'valide': '1', 'partner_owner_recid': str( + my_partner['recid'])}) + + if (retval_sequence_invoice is None): + # Il n'y pas de sequence pour le partenaire, on va aller chercher la sequence par defaut + retval_sequence_invoice = MYSY_GV.dbname['mysy_sequence'].find_one( + {'related_mysy_object': 'partner_invoice_header', + 'valide': '1', 'partner_owner_recid': 'default'}) + + if (retval_sequence_invoice is None or "current_val" not in retval_sequence_invoice.keys()): + # Il n'y aucune sequence meme par defaut. + + mycommon.myprint(" Facture : Impossible de récupérer la sequence 'retval_sequence_invoice' ") + return False, "Facture : Impossible de récupérer la sequence 'retval_sequence_invoice' ", False + + current_seq_value = str(retval_sequence_invoice['current_val']) + new_sequence_value = int(mycommon.tryInt(current_seq_value)) + 1 + new_sequance_data_to_update = {'current_val': new_sequence_value} + + + ret_val2 = MYSY_GV.dbname['mysy_sequence'].find_one_and_update( + {'_id': ObjectId(str(retval_sequence_invoice['_id'])), 'valide': '1'}, + {"$set": new_sequance_data_to_update}, + return_document=ReturnDocument.AFTER, + upsert=False, + ) + invoice_date_time = str(datetime.now().strftime("%d/%m/%Y")) + + """ + Verifier qu'il n'y pas une facture du partenaire avec le meme ref interne + """ + is_already_invoice_ref_exist = MYSY_GV.dbname['partner_invoice_header'].count_documents( + {'partner_invoice_header': str(my_partner['recid']), + 'valide': '1', + 'invoice_header_ref_interne': str(retval_sequence_invoice['prefixe'] + str(current_seq_value))}) + + if (is_already_invoice_ref_exist > 0): + mycommon.myprint(" Facture : Il existe déjà une facture avec la même ref. interne : " + str( + retval_sequence_invoice['prefixe'] + str(current_seq_value))) + return False, " Facture : Il existe déjà une facture avec la même ref. interne : " + str( + retval_sequence_invoice['prefixe'] + str(current_seq_value)), False + + partner_invoice_header_data['invoice_header_ref_interne'] = retval_sequence_invoice['prefixe'] + str( + current_seq_value) + partner_invoice_header_data['invoice_header_type'] = "facture" + partner_invoice_header_data['invoice_date'] = invoice_date_time + partner_invoice_header_data['update_by'] = str(my_partner['_id']) + partner_invoice_header_data['valide'] = "1" + partner_invoice_header_data['locked'] = "0" + partner_invoice_header_data['partner_owner_recid'] = str(my_partner['recid']) + partner_invoice_header_data['date_update'] = str(datetime.now()) + + ref_interne_facture = retval_sequence_invoice['prefixe'] + str( + current_seq_value) + + print(" #### partner_invoice_header_data = ", partner_invoice_header_data) + inserted_invoice_id = MYSY_GV.dbname['partner_invoice_header'].insert_one( + partner_invoice_header_data).inserted_id + if (not inserted_invoice_id): + mycommon.myprint(" Facture : Impossible de créer l'entête de la facture ") + return False, " Facture : Impossible de créer l'entête de la facture " + + """ + Création des lignes de facture. + Pour memo, dans la collection : partner_invoice_line + order_line_formation = titre formation + order_line_qty = nb participants + order_line_comment = la liste des personnes participans + """ + + for line in tab_ligne_a_facturer : + if( "order_line_formation" in line.keys() and line['order_line_formation'] and + "order_line_qty" in line.keys() and line['order_line_qty']): + line['invoice_header_id'] = str(inserted_invoice_id) + line['invoice_header_ref_interne'] = partner_invoice_header_data[ + 'invoice_header_ref_interne'] + line['update_by'] = str(my_partner['_id']) + line['valide'] = "1" + line['locked'] = "0" + line['partner_owner_recid'] = str(my_partner['recid']) + + print(" #### partner_invoice_line_data = ", line) + inserted_invoice_id = MYSY_GV.dbname['partner_invoice_line'].insert_one( + line).inserted_id + if (not inserted_invoice_id): + mycommon.myprint(" Facture : Impossible de créer les lignes de la facture " + str( + partner_invoice_header_data['invoice_header_ref_interne'])) + return False, " Facture : Impossible de créer les lignes de la facture " + str( + partner_invoice_header_data['invoice_header_ref_interne']) + + + + """ + Mettre à jour les inscrit avec le numero de facture + """ + ref_facture = ref_interne_facture + for val in diction['detail_data']: + if( "inscription_id" in val.keys() and val['inscription_id']): + node = {} + node['invoiced_date'] = str(date.today().strftime("%Y-%m-%d")) + node['invoiced_ref'] = str(ref_interne_facture) + + inscription_data = MYSY_GV.dbname['inscription'].find_one({'_id':ObjectId(str(val['inscription_id']))}) + local_list_facture = [] + if( "list_facture" in inscription_data.keys() and inscription_data['list_facture']): + inscription_data['list_facture'] .append(node) + else: + inscription_data['list_facture'] = [] + inscription_data['list_facture'] .append(node) + + + inscription_data['invoiced_date'] = str(date.today().strftime("%Y-%m-%d")) + inscription_data['invoiced_ref'] = str(ref_interne_facture) + + + del inscription_data['_id'] + + update_attendee_data = MYSY_GV.dbname['inscription'].find_one_and_update( + {'_id':ObjectId(str(val['inscription_id']))}, + {"$set": inscription_data}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + + else: + mycommon.myprint(" Impossible de récupérer les invoice_condition_paiement_id du client ") + return False, " Impossible de récupérer les invoice_condition_paiement_id du client " + + print(" FACTION CREE = ", ref_interne_facture) + + return True, "" + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) diff --git a/Log/log_file.log b/Log/log_file.log index 831efb2..2e3e8ca 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -2360806,3 +2360806,3898 @@ INFO:root:2024-05-12 21:16:42.559054 : Security check : IP adresse '127.0.0.1' INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:16:42] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - INFO:root:2024-05-12 21:16:42.653664 : Security check : IP adresse '127.0.0.1' connected INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:16:42] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:36.808788 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:36.812788 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:36.817030 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:36.819084 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:36.823430 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:36.826507 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:36] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:36] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:36] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.303455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.304457 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.376934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.380953 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.949937 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.953735 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.960852 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.966573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.971569 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.977595 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.983597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:37.988598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:37] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:37.996319 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.002829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.008363 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.012741 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.018501 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.026906 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.035030 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.041553 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.045707 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.051603 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.060150 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.067235 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.073251 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.079352 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.086640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.094367 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.097871 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.106790 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.109882 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.118072 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.124689 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.126796 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.131527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.136140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.144851 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.153807 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.159644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.168204 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.172689 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.180908 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.185554 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.198457 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.208622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.215196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.224872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.227877 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.235687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.244684 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.246687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.249682 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.264995 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.274871 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.280007 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.287004 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.295532 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.301460 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.306096 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.313415 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.321314 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.328161 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:38.334153 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:38.339609 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:38] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.023168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.138585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.142744 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.145904 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.151605 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.157742 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.166607 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.175109 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.181007 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.192248 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.204169 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.313575 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.317841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.321232 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.328484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.331028 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.344412 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.353986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:42.357253 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.371745 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:42.379260 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:42] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 21:18:43.218881+02:00 (in 59.996512 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 21:19:43 CEST)" (scheduled at 2024-05-12 21:17:43.218881+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 21:19:43 CEST)" executed successfully +INFO:root:2024-05-12 21:17:58.601881 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.604905 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.609943 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.615976 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.620998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.625870 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.633796 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.646134 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.652840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.666664 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.676452 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.688343 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.698933 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.709956 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:17:58.716955 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.722481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.733237 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:17:58.749839 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:17:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:18:00.128821 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:18:00.131351 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:18:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:18:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 21:18:11.473957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 21:18:11.477259 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:18:11] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 21:18:11] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 21:19:38.558591+02:00 (in 59.993747 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 21:20:38 CEST)" (scheduled at 2024-05-12 21:18:38.558591+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 21:20:38 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 21:19:43.218881+02:00 (in 59.997437 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 21:21:43 CEST)" (scheduled at 2024-05-12 21:18:43.218881+02:00) +INFO:root:2024-05-12 21:18:43.224447 : dimanche, 12. mai 2024 09:18:43 : 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:03:00], next run at: 2024-05-12 21:21:43 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 3955, 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: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:2024-05-13 10:23:12.127269 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:23:12.128267 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:23:12.128267 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:23:12.129267 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:23:12.129267 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:25:12.257405+02:00 (in 119.995963 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:2024-05-13 10:23:24.479203 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:23:24.479203 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:23:24.480203 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:23:24.480203 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:23:24.480203 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:25:24.548635+02:00 (in 119.997999 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 10:24:42.751021 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:42.753151 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:42.754177 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:42.756441 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:42.757622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:42.760817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:42] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:42] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.266121 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.297212 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.311927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.320739 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.749646 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.753799 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.757842 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.768321 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.771829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.778089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.787490 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.793483 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.804705 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.808930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.819986 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.828388 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.831391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.839381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.848013 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.854252 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.867442 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.874656 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.878862 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.882834 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.890503 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.896508 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.902505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.913299 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.916471 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.934472 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.941525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.947877 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.952925 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.964867 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.966246 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.979533 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:43] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:43.991704 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:43.998076 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.005913 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.015292 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.022749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.032703 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.036696 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.044454 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.054619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.062870 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.068503 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.076155 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.084979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.092998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.096993 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.105476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.113295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.118933 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.123732 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.131762 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.138923 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.151133 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.153209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.158853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.163160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.172519 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:24:44.179516 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:24:44.185146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:24:44] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:25:12 CEST)" (scheduled at 2024-05-13 10:25:12.257405+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:26:12.257405+02:00 (in 59.996069 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:27:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:25:24 CEST)" (scheduled at 2024-05-13 10:25:24.548635+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:26:24.548635+02:00 (in 59.997154 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:27:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:27:12.257405+02:00 (in 59.977777 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:29:12 CEST)" (scheduled at 2024-05-13 10:26:12.257405+02:00) +INFO:root:2024-05-13 10:26:12.282625 : lundi, 13. mai 2024 10:26:12 : 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:03:00], next run at: 2024-05-13 10:29:12 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 3955, 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:2024-05-13 10:26:19.506340 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.643926 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.647934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.652929 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.657491 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.664492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.674244 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.678527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.687417 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.699798 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.702838 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.843277 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.847527 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.851915 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.858115 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.869829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.877339 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.895250 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.903827 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:19.914707 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:19.921856 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:27:24.548635+02:00 (in 59.985516 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:29:24 CEST)" (scheduled at 2024-05-13 10:26:24.548635+02:00) +INFO:root:2024-05-13 10:26:24.564649 : lundi, 13. mai 2024 10:26:24 : 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:03:00], next run at: 2024-05-13 10:29:24 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 3955, 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:2024-05-13 10:26:25.431129 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:25] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:25.445727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:25] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:28.883113 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.886116 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.890119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.897573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.904119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.914642 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:28.928596 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:28.934615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:26:28.940557 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:26:28.943868 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:26:28] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:29:12.257405+02:00 (in 119.999645 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:29:12 CEST)" (scheduled at 2024-05-13 10:27:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:29:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:29:24.548635+02:00 (in 119.996581 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:29:24 CEST)" (scheduled at 2024-05-13 10:27:24.548635+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:29:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:32:12 CEST)" (scheduled at 2024-05-13 10:29:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:29:12 CEST)" (scheduled at 2024-05-13 10:29:12.257405+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:31:12.257405+02:00 (in 119.998287 seconds) +INFO:root:2024-05-13 10:29:12.260415 : lundi, 13. mai 2024 10:29:12 : 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:03:00], next run at: 2024-05-13 10:32:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:31:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:32:24 CEST)" (scheduled at 2024-05-13 10:29:24.548635+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:31:24 CEST)" (scheduled at 2024-05-13 10:29:24.548635+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:31:24.548635+02:00 (in 119.985781 seconds) +INFO:root:2024-05-13 10:29:24.565861 : lundi, 13. mai 2024 10:29:24 : 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:03:00], next run at: 2024-05-13 10:32:24 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:31:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:32:12.257405+02:00 (in 59.992519 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:33:12 CEST)" (scheduled at 2024-05-13 10:31:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:33:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:32:24.548635+02:00 (in 59.990056 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:33:24 CEST)" (scheduled at 2024-05-13 10:31:24.548635+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:33:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:33:12.257405+02:00 (in 59.995671 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:35:12 CEST)" (scheduled at 2024-05-13 10:32:12.257405+02:00) +INFO:root:2024-05-13 10:32:12.263180 : lundi, 13. mai 2024 10:32:12 : 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:03:00], next run at: 2024-05-13 10:35:12 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 3955, 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 2024-05-13 10:33:24.548635+02:00 (in 59.996965 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:35:24 CEST)" (scheduled at 2024-05-13 10:32:24.548635+02:00) +INFO:root:2024-05-13 10:32:24.554088 : lundi, 13. mai 2024 10:32:24 : 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:03:00], next run at: 2024-05-13 10:35:24 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 3955, 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 2024-05-13 10:35:12.257405+02:00 (in 119.994010 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:35:12 CEST)" (scheduled at 2024-05-13 10:33:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:35:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:35:24.548635+02:00 (in 119.994357 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:35:24 CEST)" (scheduled at 2024-05-13 10:33:24.548635+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:35:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:37:12.257405+02:00 (in 119.996462 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:38:12 CEST)" (scheduled at 2024-05-13 10:35:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:37:12 CEST)" (scheduled at 2024-05-13 10:35:12.257405+02:00) +INFO:root:2024-05-13 10:35:12.263571 : lundi, 13. mai 2024 10:35:12 : 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:03:00], next run at: 2024-05-13 10:38:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:37:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:37:24.548635+02:00 (in 119.986744 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:38:24 CEST)" (scheduled at 2024-05-13 10:35:24.548635+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:37:24 CEST)" (scheduled at 2024-05-13 10:35:24.548635+02:00) +INFO:root:2024-05-13 10:35:24.563879 : lundi, 13. mai 2024 10:35:24 : 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:03:00], next run at: 2024-05-13 10:38:24 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:37:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:38:12.257405+02:00 (in 59.989095 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:39:12 CEST)" (scheduled at 2024-05-13 10:37:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:39:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:38:24.548635+02:00 (in 59.985253 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:39:24 CEST)" (scheduled at 2024-05-13 10:37:24.548635+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:39:24 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:39:12.257405+02:00 (in 59.998329 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:41:12 CEST)" (scheduled at 2024-05-13 10:38:12.257405+02:00) +INFO:root:2024-05-13 10:38:12.261393 : lundi, 13. mai 2024 10:38:12 : 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:03:00], next run at: 2024-05-13 10:41:12 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 3955, 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:2024-05-13 10:38:45.753196 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:38:45.753196 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:38:45.753196 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:38:45.753196 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:38:45.753196 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:40:46.179840+02:00 (in 119.996996 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:41:12.257405+02:00 (in 119.988592 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:41:12 CEST)" (scheduled at 2024-05-13 10:39:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:41:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:40:46 CEST)" (scheduled at 2024-05-13 10:40:46.179840+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:41:46.178841+02:00 (in 59.997724 seconds) +DEBUG:xhtml2pdf:pisaDocument options: + src = '

 

\n\n\n\n\n\n\n\n\n\n
 
\n

Devis n° Devis_19

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_19
Date Devis : 12/05/2024
 

\n

 Expiration : 10/08/2024
 

\n

 

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
DescriptionQtéPrix Unit.Montant
PREPARATEUR DE COMMANDE EN ENTREPRÔT216503300.0
\n

 

\n

 

\n

 

\n

 

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
 Total Remise( 0 )
 Total HT3300.0 €
 TVATVA 20% €
 Total3960.0 €
\n

 

\n
\n

 

\n

 

\n

 

\n

 

\n

 

\n

 

\n

 

' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_35364.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col widths: [None, None, '20.3259%', '20.3259%'] +DEBUG:xhtml2pdf:Col widths: [None] +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:42:46 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:43:12.257405+02:00 (in 119.984788 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:44:12 CEST)" (scheduled at 2024-05-13 10:41:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:43:12 CEST)" (scheduled at 2024-05-13 10:41:12.257405+02:00) +INFO:root:2024-05-13 10:41:12.275595 : lundi, 13. mai 2024 10:41:12 : 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:03:00], next run at: 2024-05-13 10:44:12 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 3955, 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:xhtml2pdf:pisaDocument options: + src = '

 

\n\n\n\n\n\n\n\n\n\n
 
\n

Devis n° Devis_20

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_20
Date Devis : 02/05/2024
 

\n

 Expiration : 10/08/2024
 

\n

 

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
DescriptionQtéPrix Unit.Montant
ENGIN DE CHANTIER CACES R482110001000.0
\n

 

\n

 

\n

 

\n

 

\n

 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
 Total Remise( 0 )
 Total HT1000.0 €
 TVATVA 20% €
 Total1200.0 €
\n

 

\n
\n

 

\n

 

\n

 

\n

 

\n

 

\n

 

\n

 

' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_67193.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:None +DEBUG:xhtml2pdf:Col widths: [None, None, None, None] +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col 2 has width 20.3259% +DEBUG:xhtml2pdf:Col 3 has width 20.3259% +DEBUG:xhtml2pdf:Col widths: [None, None, '20.3259%', '20.3259%'] +DEBUG:xhtml2pdf:Col widths: [None] +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:43:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:42:46.179840+02:00 (in 59.995216 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:44:46 CEST)" (scheduled at 2024-05-13 10:41:46.178841+02:00) +INFO:root:2024-05-13 10:41:46.186409 : lundi, 13. mai 2024 10:41:46 : 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:03:00], next run at: 2024-05-13 10:44:46 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 3955, 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 2024-05-13 10:44:46.178841+02:00 (in 119.997251 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:44:46 CEST)" (scheduled at 2024-05-13 10:42:46.179840+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:44:46 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:44:12.257405+02:00 (in 59.990769 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:45:12 CEST)" (scheduled at 2024-05-13 10:43:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:45:12 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:45:12.257405+02:00 (in 59.996396 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:47:12 CEST)" (scheduled at 2024-05-13 10:44:12.257405+02:00) +INFO:root:2024-05-13 10:44:12.263010 : lundi, 13. mai 2024 10:44:12 : 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:03:00], next run at: 2024-05-13 10:47:12 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 3955, 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: * Restarting with stat +INFO:root:2024-05-13 10:44:27.883049 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:44:27.883049 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:44:27.883049 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:44:27.883049 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:44:27.883049 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:46:27.947737+02:00 (in 119.997390 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.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:2024-05-13 10:44:49.625594 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:44:49.625594 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:44:49.625594 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:44:49.625594 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:44:49.625594 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:46:49.678495+02:00 (in 119.997680 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:47:12.257405+02:00 (in 119.988203 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:47:12 CEST)" (scheduled at 2024-05-13 10:45:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:47:12 CEST)" executed successfully +INFO:root:2024-05-13 10:45:14.289589 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:45:14.289589 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:45:14.290594 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:45:14.290594 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:45:14.290594 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:47:14.342112+02:00 (in 119.997422 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.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:2024-05-13 10:45:34.344787 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 10:45:34.344787 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 10:45:34.344787 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 10:45:34.344787 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 10:45:34.344787 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 10:47:34.398749+02:00 (in 119.997863 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 10:46:05.422753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.426757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.431001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.435476 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.439475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.444987 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:46:05.483883 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:46:05.492304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.498343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:46:05.509091 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:46:05] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:49:12.257405+02:00 (in 119.997031 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:50:12 CEST)" (scheduled at 2024-05-13 10:47:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:49:12 CEST)" (scheduled at 2024-05-13 10:47:12.257405+02:00) +INFO:root:2024-05-13 10:47:12.263375 : lundi, 13. mai 2024 10:47:12 : 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:03:00], next run at: 2024-05-13 10:50:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:49:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:47:34 CEST)" (scheduled at 2024-05-13 10:47:34.398749+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:48:34.397698+02:00 (in 59.994753 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:49:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:49:34.398749+02:00 (in 59.994468 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:51:34 CEST)" (scheduled at 2024-05-13 10:48:34.397698+02:00) +INFO:root:2024-05-13 10:48:34.406307 : lundi, 13. mai 2024 10:48:34 : 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:03:00], next run at: 2024-05-13 10:51:34 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 3955, 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 2024-05-13 10:50:12.257405+02:00 (in 59.986892 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:51:12 CEST)" (scheduled at 2024-05-13 10:49:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:51:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:51:34.397698+02:00 (in 119.996627 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:51:34 CEST)" (scheduled at 2024-05-13 10:49:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:51:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:51:12.257405+02:00 (in 59.997809 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:53:12 CEST)" (scheduled at 2024-05-13 10:50:12.257405+02:00) +INFO:root:2024-05-13 10:50:12.262452 : lundi, 13. mai 2024 10:50:12 : 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:03:00], next run at: 2024-05-13 10:53:12 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 3955, 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:2024-05-13 10:50:14.647809 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:50:14.650262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:50:14.654280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:50:14.657440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:50:14.664868 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:14] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:14] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:14] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:14] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:14] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:50:27.637628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:27] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:50:51.564988 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:51] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:50:57.171755 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:50:57] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:10.133836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:10] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:53:12.257405+02:00 (in 119.993874 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:53:12 CEST)" (scheduled at 2024-05-13 10:51:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:53:12 CEST)" executed successfully +INFO:root:2024-05-13 10:51:27.184796 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:27.188278 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:27.193702 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:27.197773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:27.202191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:27.207794 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:27.207794 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:27.217876 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:27.385914 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:27.393910 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:33.638420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.642713 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.649629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.653734 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.659078 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:33.662592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.668095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:33.674587 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 10:51:33.682283 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:51:33.695950 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:51:33] "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:03:00], next run at: 2024-05-13 10:54:34 CEST)" (scheduled at 2024-05-13 10:51:34.397698+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:53:34 CEST)" (scheduled at 2024-05-13 10:51:34.398749+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:53:34.398749+02:00 (in 119.987623 seconds) +INFO:root:2024-05-13 10:51:34.413924 : lundi, 13. mai 2024 10:51:34 : 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:03:00], next run at: 2024-05-13 10:54:34 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:53:34 CEST)" executed successfully +INFO:root:2024-05-13 10:52:16.864442 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:52:16] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:52:26.857093 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:52:26] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 10:52:34.376131 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 10:52:34] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:55:12.257405+02:00 (in 119.993657 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:56:12 CEST)" (scheduled at 2024-05-13 10:53:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:55:12 CEST)" (scheduled at 2024-05-13 10:53:12.257405+02:00) +INFO:root:2024-05-13 10:53:12.266743 : lundi, 13. mai 2024 10:53:12 : 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:03:00], next run at: 2024-05-13 10:56:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:55:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:54:34.397698+02:00 (in 59.989391 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:55:34 CEST)" (scheduled at 2024-05-13 10:53:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:55:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:55:34.398749+02:00 (in 59.999191 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:57:34 CEST)" (scheduled at 2024-05-13 10:54:34.397698+02:00) +INFO:root:2024-05-13 10:54:34.401534 : lundi, 13. mai 2024 10:54:34 : 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:03:00], next run at: 2024-05-13 10:57:34 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 3955, 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 2024-05-13 10:56:12.257405+02:00 (in 59.997812 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:57:12 CEST)" (scheduled at 2024-05-13 10:55:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:57:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:57:34.397698+02:00 (in 119.984424 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:57:34 CEST)" (scheduled at 2024-05-13 10:55:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:57:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:57:12.257405+02:00 (in 59.988044 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 10:59:12 CEST)" (scheduled at 2024-05-13 10:56:12.257405+02:00) +INFO:root:2024-05-13 10:56:12.278446 : lundi, 13. mai 2024 10:56:12 : 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:03:00], next run at: 2024-05-13 10:59:12 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 3955, 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 2024-05-13 10:59:12.257405+02:00 (in 119.988133 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:59:12 CEST)" (scheduled at 2024-05-13 10:57:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:59:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 10:59:34.398749+02:00 (in 119.992610 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:00:34 CEST)" (scheduled at 2024-05-13 10:57:34.397698+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:59:34 CEST)" (scheduled at 2024-05-13 10:57:34.398749+02:00) +INFO:root:2024-05-13 10:57:34.409043 : lundi, 13. mai 2024 10:57:34 : 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:03:00], next run at: 2024-05-13 11:00:34 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 10:59:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:01:12.257405+02:00 (in 119.984554 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:02:12 CEST)" (scheduled at 2024-05-13 10:59:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:01:12 CEST)" (scheduled at 2024-05-13 10:59:12.257405+02:00) +INFO:root:2024-05-13 10:59:12.275470 : lundi, 13. mai 2024 10:59:12 : 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:03:00], next run at: 2024-05-13 11:02:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:01:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:00:34.397698+02:00 (in 59.983904 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:01:34 CEST)" (scheduled at 2024-05-13 10:59:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:01:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:01:34.398749+02:00 (in 59.994684 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:03:34 CEST)" (scheduled at 2024-05-13 11:00:34.397698+02:00) +INFO:root:2024-05-13 11:00:34.405972 : lundi, 13. mai 2024 11:00:34 : 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:03:00], next run at: 2024-05-13 11:03:34 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 3955, 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 2024-05-13 11:02:12.257405+02:00 (in 59.990612 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:03:12 CEST)" (scheduled at 2024-05-13 11:01:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:03:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:03:34.397698+02:00 (in 119.985517 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:03:34 CEST)" (scheduled at 2024-05-13 11:01:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:03:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:03:12.257405+02:00 (in 59.992212 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:05:12 CEST)" (scheduled at 2024-05-13 11:02:12.257405+02:00) +INFO:root:2024-05-13 11:02:12.267672 : lundi, 13. mai 2024 11:02:12 : 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:03:00], next run at: 2024-05-13 11:05:12 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 3955, 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 2024-05-13 11:05:12.257405+02:00 (in 119.982718 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:05:12 CEST)" (scheduled at 2024-05-13 11:03:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:05:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:05:34.398749+02:00 (in 119.988820 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:06:34 CEST)" (scheduled at 2024-05-13 11:03:34.397698+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:05:34 CEST)" (scheduled at 2024-05-13 11:03:34.398749+02:00) +INFO:root:2024-05-13 11:03:34.411914 : lundi, 13. mai 2024 11:03:34 : 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:03:00], next run at: 2024-05-13 11:06:34 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:05:34 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:07:12.257405+02:00 (in 119.987069 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:08:12 CEST)" (scheduled at 2024-05-13 11:05:12.257405+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:07:12 CEST)" (scheduled at 2024-05-13 11:05:12.257405+02:00) +INFO:root:2024-05-13 11:05:12.272706 : lundi, 13. mai 2024 11:05:12 : 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:03:00], next run at: 2024-05-13 11:08:12 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:07:12 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:06:34.397698+02:00 (in 59.994192 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:07:34 CEST)" (scheduled at 2024-05-13 11:05:34.398749+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:07:34 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:06:44.715869 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:06:44.715869 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:06:44.715869 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:06:44.715869 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:06:44.715869 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:08:44.779487+02:00 (in 119.997560 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:08:12.257405+02:00 (in 59.983530 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:09:12 CEST)" (scheduled at 2024-05-13 11:07:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:09:12 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:07:34.451971 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:07:34.451971 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:07:34.451971 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:07:34.452961 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:07:34.452961 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:09:34.503407+02:00 (in 119.997048 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:09:12.257405+02:00 (in 59.993684 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:11:12 CEST)" (scheduled at 2024-05-13 11:08:12.257405+02:00) +INFO:root:2024-05-13 11:08:12.265733 : lundi, 13. mai 2024 11:08:12 : 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:03:00], next run at: 2024-05-13 11:11:12 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 3955, 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\\Job_Cron.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:2024-05-13 11:08:24.460159 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:08:24.461144 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:08:24.461144 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:08:24.461144 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:08:24.461144 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:10:24.530593+02:00 (in 119.997795 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:08:56.615405 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:08:56.616380 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:08:56.616380 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:08:56.616380 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:08:56.616380 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:10:56.670126+02:00 (in 119.998004 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:09:01.986922 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:02] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:11:12.257405+02:00 (in 119.994720 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:11:12 CEST)" (scheduled at 2024-05-13 11:09:12.257405+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:11:12 CEST)" executed successfully +INFO:root:2024-05-13 11:09:18.031074 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:18.034446 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:18.038579 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:18.039659 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:18.044124 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:18.051606 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:18.062137 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:18.071865 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:18.222780 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:18.228655 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:20.551676 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.554640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.558173 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.561896 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.567644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.570904 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:20.578029 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:09:20.585383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:20.593381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:09:20.602540 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:09:20] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:10:07.905522 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:10:07.905522 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:10:07.905522 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:10:07.905522 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:10:07.905522 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:12:07.966684+02:00 (in 119.996998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:16:23.113650 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:16:23.113650 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:16:23.114657 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:16:23.114657 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:16:23.114657 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:18:23.178765+02:00 (in 119.997615 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:2024-05-13 11:16:32.293661 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:16:32.293661 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:16:32.293661 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:16:32.293661 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:16:32.293661 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:18:32.349591+02:00 (in 119.997595 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:16:32.950430 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.952595 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.956842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.961340 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.965505 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.972946 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:32] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:16:32.983032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.987546 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:32.997003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:33.004413 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:16:33.023969 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:16:33.031506 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "POST /myclass/api/Get_Statgaire_List_Partner_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:16:33] "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\\Job_Cron.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:2024-05-13 11:18:04.379826 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:18:04.379826 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:18:04.379826 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:18:04.379826 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:18:04.379826 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:20:04.431340+02:00 (in 119.997443 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:2024-05-13 11:18:12.702216 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:18:12.702216 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:18:12.702216 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:18:12.702216 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:18:12.702216 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:20:12.755062+02:00 (in 119.999000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:19:32.819962 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:19:32.819962 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:19:32.819962 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:19:32.819962 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:19:32.819962 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:21:32.876581+02:00 (in 119.997251 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:20:04 CEST)" (scheduled at 2024-05-13 11:20:04.431340+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:21:04.431340+02:00 (in 59.990278 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:22:04 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:20:28.226928 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:20:28.227931 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:20:28.227931 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:20:28.227931 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:20:28.227931 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:22:28.298173+02:00 (in 119.997988 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.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:2024-05-13 11:21:03.218920 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:21:03.218920 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:21:03.219617 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:21:03.219617 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:21:03.219617 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +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:Added job "Internal_Global_MySy_Cron_Traitement" 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 2024-05-13 11:23:03.272494+02:00 (in 119.998000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:22:04.431340+02:00 (in 59.990579 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:24:04 CEST)" (scheduled at 2024-05-13 11:21:04.431340+02:00) +INFO:root:2024-05-13 11:21:04.442928 : lundi, 13. mai 2024 11:21:04 : 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:03:00], next run at: 2024-05-13 11:24:04 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 3955, 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\\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:2024-05-13 11:21:57.478624 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:21:57.478624 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:21:57.478624 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:21:57.478624 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:21:57.478624 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:24:04.431340+02:00 (in 119.991981 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:24:04 CEST)" (scheduled at 2024-05-13 11:22:04.431340+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:24:04 CEST)" executed successfully +INFO:root:2024-05-13 11:22:12.345357 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:22:12] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:22:37.224957 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:22:37.224957 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:22:37.224957 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:22:37.224957 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:22:37.224957 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:26:04 CEST)" (scheduled at 2024-05-13 11:24:04.431340+02:00) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:27:04 CEST)" (scheduled at 2024-05-13 11:24:04.431340+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:26:04.431340+02:00 (in 119.991891 seconds) +INFO:root:2024-05-13 11:24:04.452455 : lundi, 13. mai 2024 11:24:04 : 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:03:00], next run at: 2024-05-13 11:27:04 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 3955, 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:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:26:04 CEST)" executed successfully +INFO:root:2024-05-13 11:24:30.091488 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.095222 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.098633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.101148 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.106431 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.112070 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.120912 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.126982 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.137025 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.144599 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.149617 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.168399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.172941 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.181960 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.186413 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.194196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.199343 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.209774 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.216325 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:30.227368 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.255536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:30.259947 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:33.511003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:33.515451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:33.519345 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:33.522870 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:33.530578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:24:33.537108 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:24:33.546169 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:24:33] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:25:09.824251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:25:09.828383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:25:09.832773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:25:09.836800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:25:09.842071 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:25:09.848500 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:25:09.853983 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:09] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:25:13.871278 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:13] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:25:46.522915 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:25:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:27:04.431340+02:00 (in 59.983509 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:28:04 CEST)" (scheduled at 2024-05-13 11:26:04.431340+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:28:04 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:28:04.431340+02:00 (in 59.993929 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-13 11:30:04 CEST)" (scheduled at 2024-05-13 11:27:04.431340+02:00) +INFO:root:2024-05-13 11:27:04.439414 : lundi, 13. mai 2024 11:27:04 : 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:03:00], next run at: 2024-05-13 11:30:04 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 3955, 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: * Restarting with stat +INFO:root:2024-05-13 11:27:15.000550 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:27:15.000550 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:27:15.000550 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:27:15.000550 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:27:15.000550 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-13 11:30:04.431340+02:00 (in 119.985849 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:30:04 CEST)" (scheduled at 2024-05-13 11:28:04.431340+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-13 11:30:04 CEST)" executed successfully +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:2024-05-13 11:48:57.404984 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:48:57.404984 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:48:57.404984 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:48:57.404984 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:48:57.404984 : ++ 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:2024-05-13 11:49:05.457265 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:49:05.458296 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:49:05.458296 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:49:05.458296 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:49:05.458296 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:49:14.689752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:49:15.307004 : Cron_Monthly_Invoice_Inscription -Unrecognized expression '$eg', full error: {'ok': 0.0, 'errmsg': "Unrecognized expression '$eg'", 'code': 168, 'codeName': 'InvalidPipelineOperator'} - Line : 503 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:49:15] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:49:41.476405 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:49:41.476405 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:49:41.476405 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:49:41.476405 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:49:41.476405 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:50:07.548853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:50:08.231106 : Cron_Monthly_Invoice_Inscription -'list' object has no attribute 'keys' - Line : 549 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:50:08] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:53:37.837392 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:53:37.838388 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:53:37.838388 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:53:37.838388 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:53:37.838388 : ++ 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:2024-05-13 11:53:48.286256 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:53:48.287257 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:53:48.287257 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:53:48.287257 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:53:48.287257 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:54:05.793636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:54:05] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:55:38.938781 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:55:38.938781 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:55:38.938781 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:55:38.938781 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:55:38.939780 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:57:11.240214 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:57:11.240214 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:57:11.240214 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:57:11.240214 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:57:11.240214 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:57:29.274036 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:57:29.274036 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:57:29.274036 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:57:29.274036 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:57:29.274036 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 11:57:39.762654 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 11:57:39.763658 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 11:57:39.763658 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 11:57:39.763658 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 11:57:39.763658 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 11:58:09.804839 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:09.820233 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:12.638094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.641043 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.645296 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.649169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.653171 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.661336 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:12.666001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:12.676192 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:12.683625 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:12.690476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:12] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:22.638986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:58:23.111928 : Update_Partner_Client - L'adresse email de facturation n'est pas valide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:23] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:58:37.386785 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:58:37] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:59:23.642324 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:23] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 11:59:31.304026 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:59:31.307079 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:59:31.309094 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:59:31.314405 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 11:59:31.318416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:31] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:31] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:31] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 11:59:31] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 12:00:01.997420 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:00:02] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:00:59.443644 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:00:59.443644 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:00:59.443644 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:00:59.443644 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:00:59.443644 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:01:18.574028 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:01:18] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 12:02:20.519974 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:02:20] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 12:02:32.771932 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:02:32] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:04:03.429264 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:04:03.429264 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:04:03.429264 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:04:03.429264 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:04:03.429264 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:04:03.569940 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:04:03] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 12:04:12.348309 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:04:12] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:07:08.782796 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:07:08.783798 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:07:08.783798 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:07:08.783798 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:07:08.783798 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:07:55.087294 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:07:55.087294 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:07:55.087294 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:07:55.087294 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:07:55.087294 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:10:23.489109 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:10:23.489109 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:10:23.489109 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:10:23.490109 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:10:23.490109 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:12:20.371387 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:12:20.372374 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:12:20.372374 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:12:20.372374 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:12:20.372374 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:12:34.466134 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:12:34.466134 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:12:34.466134 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:12:34.466134 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:12:34.466134 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:13:44.249145 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:13:44.249145 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:13:44.249145 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:13:44.249145 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:13:44.249145 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:46:43.372518 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:46:43.372518 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:46:43.372518 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:46:43.372518 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:46:43.372518 : ++ 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:2024-05-13 12:46:52.362367 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:46:52.362367 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:46:52.362367 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:46:52.363367 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:46:52.363367 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:46:52.408994 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:46:52] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:48:08.148803 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:48:08.148803 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:48:08.148803 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:48:08.148803 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:48:08.148803 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:48:08.191806 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:48:08] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:48:26.817598 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:48:26.817598 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:48:26.817598 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:48:26.817598 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:48:26.817598 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:48:34.949186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:48:35] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:51:27.910726 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:51:27.910726 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:51:27.910726 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:51:27.910726 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:51:27.910726 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:51:44.177413 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:51:44.177413 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:51:44.177413 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:51:44.177413 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:51:44.177413 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:51:44.215681 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:51:44] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:52:53.744531 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:52:53.744531 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:52:53.744531 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:52:53.744531 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:52:53.744531 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:53:20.843017 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:53:20.843017 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:53:20.843017 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:53:20.843017 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:53:20.843017 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:53:32.694602 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:53:32.694602 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:53:32.694602 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:53:32.694602 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:53:32.694602 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:53:34.136136 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:53:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:54:45.502772 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:54:45.502772 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:54:45.502772 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:54:45.502772 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:54:45.503779 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:54:45.542811 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:54:45] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:55:39.421317 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:55:39.421317 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:55:39.421317 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:55:39.421317 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:55:39.421317 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:56:08.675841 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:56:08.675841 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:56:08.675841 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:56:08.676842 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:56:08.676842 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:56:08.716084 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:56:08] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:57:09.552822 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:57:09.552822 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:57:09.552822 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:57:09.552822 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:57:09.552822 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:57:09.823295 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:57:09] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:57:36.284035 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:57:36.285049 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:57:36.285049 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:57:36.285049 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:57:36.285049 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:57:36.323585 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:57:36] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 12:59:28.512150 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 12:59:28.512150 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 12:59:28.513157 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 12:59:28.513157 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 12:59:28.513157 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 12:59:33.905291 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 12:59:34.432680 : Cron_Monthly_Invoice_Inscription -'code_session' - Line : 526 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 12:59:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:00:43.826658 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:00:43.826658 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:00:43.826658 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:00:43.826658 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:00:43.826658 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:00:50.392727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:00:50] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:02:10.512608 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:02:10.513604 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:02:10.513604 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:02:10.513604 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:02:10.513604 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:02:10.555139 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:02:10] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:02:54.832459 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:02:54.832459 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:02:54.832459 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:02:54.832459 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:02:54.832459 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:02:54.879404 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:02:54] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:03:41.060973 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:03:41.060973 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:03:41.060973 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:03:41.060973 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:03:41.060973 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:03:41.112415 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:03:41] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:05:05.628346 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:05:05.629372 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:05:05.629372 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:05:05.629372 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:05:05.629372 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:05:07.197132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:05:07] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:06:09.619126 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:06:09.619126 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:06:09.619126 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:06:09.619126 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:06:09.620129 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:38:50.529269 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:38:50.529269 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:38:50.529269 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:38:50.530267 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:38:50.530267 : ++ 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:2024-05-13 13:39:03.769203 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:39:03.770205 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:39:03.770205 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:39:03.770205 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:39:03.770205 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:40:04.271669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:40:04.755066 : Invoice_Data_From_Tab : La valeur 'client_id' n'est pas presente dans 'detail_data' +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:40:04] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:40:45.445115 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:40:45.445115 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:40:45.445115 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:40:45.445115 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:40:45.445115 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:42:24.238007 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:42:24.239010 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:42:24.239010 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:42:24.239010 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:42:24.239010 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:42:38.523052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:42:39.054075 : Invoice_Data_From_Tab L'identifiant du client 65f05b37c544f77525a30645 est invalide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:42:39] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:45:12.382666 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:45:12.382666 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:45:12.383675 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:45:12.383675 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:45:12.383675 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:45:12.420789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:45:12.909472 : Invoice_Data_From_Tab L'identifiant du client 65f05b37c544f77525a30645 est invalide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:45:12] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:46:08.176529 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:46:08.176529 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:46:08.176529 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:46:08.176529 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:46:08.176529 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:46:08.218776 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:46:08.711283 : Invoice_Data_From_Tab -'token' - Line : 764 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:46:08] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:47:02.411693 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:47:02.411693 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:47:02.411693 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:47:02.411693 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:47:02.411693 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:47:02.448853 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:47:02.994860 : Invoice_Data_From_Tab -'token' - Line : 882 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:47:03] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:48:10.947053 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:48:10.947053 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:48:10.948054 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:48:10.948054 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:48:10.948054 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:48:10.984975 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:11.522795 : Get_Given_Partner_Basic_Setup - La valeur 'related_collection' n'est pas presente dans liste +INFO:root:2024-05-13 13:48:11.524799 : Invoice_Data_From_Tab Facturation : Impossible de récupérer le taux de TVA +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:11] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.824156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.829154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.834152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.840153 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.845152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.853154 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.865175 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.901943 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.909013 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.913138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.918635 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.925040 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.932041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.938624 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:37.945147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:37.950437 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:37] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:50.888211 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:50.891228 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:50.895917 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:50.900540 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:50.903848 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:50.908343 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:50.914326 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:50.925428 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.165838 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.169257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.172605 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.177063 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.185541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.194319 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.200502 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.205910 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.210269 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.215984 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.224057 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.240719 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.245780 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.252844 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:48:51.261155 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:48:51.267609 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:48:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:52:15.798764 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:52:15.798764 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:52:15.798764 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:52:15.798764 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:52:15.798764 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:53:04.656617 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:53:04.657621 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:53:04.657621 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:53:04.657621 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:53:04.657621 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:53:06.959587 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:53:07.497019 : Invoice_Data_From_Tab Facturation : Le taux de TVA est invalide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:53:07] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:53:30.747704 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:53:30.748721 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:53:30.748721 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:53:30.748721 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:53:30.748721 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:53:41.522653 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:53:41.522653 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:53:41.522653 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:53:41.522653 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:53:41.522653 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:53:41.560441 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:53:42.095575 : Invoice_Data_From_Tab Facturation : Le taux de TVA est invalide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:53:42] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:54:42.943145 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:54:42.943145 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:54:42.944136 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:54:42.944136 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:54:42.944136 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:54:58.047333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:54:58.605297 : Invoice_Data_From_Tab Facturation : Le taux de TVA est invalide +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:54:58] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_base_setup.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:55:50.700317 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:55:50.700317 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:55:50.700317 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:55:50.700317 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:55:50.700317 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 13:55:50.744257 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:55:50] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:56:29.584839 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:56:29.588512 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:56:29.597601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:56:29.600806 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:29] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:29] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:56:31.830818 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:56:31.834368 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:31] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:31] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:56:36.666324 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:36] "POST /myclass/api/Get_Given_Line_Of_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 13:56:45.576711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 13:56:45.580719 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:45] "POST /myclass/api/Get_Invoice_Liste_Payement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 13:56:45] "POST /myclass/api/Get_Invoice_Total_Amount_Payed_And_Remaining_Amount/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:57:39.123591 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:57:39.123591 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:57:39.123591 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:57:39.124591 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:57:39.124591 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:58:40.217053 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:58:40.217053 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:58:40.217053 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:58:40.217053 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:58:40.217053 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 13:59:52.473487 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 13:59:52.473487 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 13:59:52.473487 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 13:59:52.473487 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 13:59:52.473487 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:00:01.931021 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:00:02.426104 : Invoice_Data_From_Tab -can't multiply sequence by non-int of type 'float' - Line : 708 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:00:02] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:02:43.003213 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:02:43.003213 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:02:43.003213 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:02:43.004234 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:02:43.004234 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:02:43.040899 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:02:43] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:03:11.174686 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:03:11.174686 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:03:11.174686 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:03:11.174686 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:03:11.174686 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:06:19.276724 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:06:19.277738 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:06:19.277738 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:06:19.277738 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:06:19.277738 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:07:52.846534 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:07:52.846534 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:07:52.846534 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:07:52.846534 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:07:52.846534 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:21:17.536309 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:21:17.537568 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:21:17.538086 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:21:17.538086 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:21:17.538086 : ++ 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:2024-05-13 14:21:26.379619 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:21:26.379619 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:21:26.379619 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:21:26.380619 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:21:26.380619 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:21:26.942868 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.946202 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.948391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.952390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.957328 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.963003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.971647 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:26] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:26.979307 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:26.987562 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:26] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:26] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:26.996462 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.006426 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.015192 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.029189 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:27.033070 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.043640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:27.053417 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.065416 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:27.068422 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.078356 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.087366 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:27.098083 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:27.109959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:30.104154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:30.108329 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:30.113520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:30.117641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:21:30.123923 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:30.131860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:30.142674 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:30] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:21:32.975087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:21:32] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:22:33.384662 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:22:33.385688 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:22:33.385688 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:22:33.385688 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:22:33.385688 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:22:50.323573 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:22:50.323573 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:22:50.323573 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:22:50.323573 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:22:50.323573 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:23:33.154630 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:23:33.154630 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:23:33.154630 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:23:33.154630 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:23:33.154630 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:23:56.110476 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:23:56.664189 : Invoice_Data_From_Tab : La valeur 'nb_inscrit_to_invoice' n'est pas presente dans 'detail_data' +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:23:56] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:27:50.455111 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:27:50.455111 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:27:50.455111 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:27:50.455111 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:27:50.455111 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:27:50.490369 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:27:50] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:28:34.115443 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:34] "POST /myclass/api/GetAllValideSessionPartner_List_filter_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:28:37.144743 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:28:37.147943 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:28:37.150557 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:28:37.155091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:28:37.159106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:28:37.164994 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:28:37.173154 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:37] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:28:39.998672 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:28:40] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:32:37.377996 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:32:37] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:33:59.749341 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:33:59.749341 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:33:59.749341 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:33:59.749341 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:33:59.749341 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:35:37.959634 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:35:37.959634 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:35:37.959634 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:35:37.959634 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:35:37.959634 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:35:44.364941 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:35:44] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:37:18.761812 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:37:18.761812 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:37:18.761812 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:37:18.761812 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:37:18.761812 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:37:30.916739 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:37:30.917742 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:37:30.917742 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:37:30.917742 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:37:30.917742 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:37:44.525323 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:37:44] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:39:58.409194 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:39:58.409194 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:39:58.410502 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:39:58.410502 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:39:58.410502 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:40:11.578706 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:11.592923 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:11] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:15.066351 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:15.070098 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:15.073132 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:15.079163 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:15.082166 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:40:15.085618 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:15.092164 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:15.103043 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:15.113688 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:15.121217 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:15] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:26.493618 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:26] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:40:35.709612 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:40:35] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:41:02.373181 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:41:02] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:43:52.675694 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:43:52.675694 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:43:52.675694 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:43:52.675694 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:43:52.675694 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 14:45:14.880777 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 14:45:14.880777 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 14:45:14.881780 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 14:45:14.881780 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 14:45:14.881780 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 14:45:40.911704 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:45:41] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:46:24.614097 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:46:24.616100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:24] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:46:24.633246 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:46:24.636265 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:24] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:24] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:24] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:46:26.480972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:46:26.484001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:26] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:26] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:46:30.057272 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:46:30.060772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:30] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:30] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 14:46:39.163536 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 14:46:39.166542 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:39] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 14:46:39] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:08:41.362301 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:08:41.362301 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:08:41.362301 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:08:41.362301 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:08:41.362301 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:08:41.420336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:08:41] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:12:49.273619 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:12:49.273619 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:12:49.273619 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:12:49.273619 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:12:49.273619 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:12:49.315005 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.316006 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.320529 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.323691 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.328057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.329774 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:49.341293 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.348897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:49.350903 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:49.365292 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-13 16:12:49.368826 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:49.376840 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:49] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.213321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.216800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.219861 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.224497 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.238068 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.241785 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.253334 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.256346 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.264226 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.267730 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.278300 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.281321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.289002 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.297316 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.304524 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.306516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.320037 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.327461 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:12:51.339884 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_List_Partner_Client_with_filter_Like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.356393 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Ressource_Materielle_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.361466 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Partner_Or_Default_session_step/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:12:51.372120 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:12:51] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:02.629958 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:02] "POST /myclass/api/GetAllValideSessionPartner_List_filter_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:06.083281 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:06.087808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:06.090902 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:06.095585 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:06.107452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:06.110394 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:06.120852 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:06] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:08.244816 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:08] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:19.388292 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:19] "POST /myclass/api/GetAllValideSessionPartner_List_filter_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:22.426754 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:22.430265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:22.434873 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:22.441678 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:22.449644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:22.457644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:22.460159 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/Get_Session_Sequence_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:22] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:24.307722 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:24] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:45.564844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:57.665171 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:57] "POST /myclass/api/Add_Update_SessionFormation/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:13:57.881152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:13:57.883657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:57] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:13:57] "POST /myclass/api/GetAllValideSessionPartner_List_filter_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 16:14:26.396289 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:14:26] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:18:29.428077 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:18:29.428077 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:18:29.428077 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:18:29.428077 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:18:29.428077 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:19:16.353130 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:19:16.353130 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:19:16.353130 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:19:16.353130 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:19:16.353130 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:41:08.184516 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:41:08.185517 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:41:08.185517 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:41:08.185517 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:41:08.185517 : ++ 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:2024-05-13 16:41:21.412302 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:41:21.412302 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:41:21.412302 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:41:21.412302 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:41:21.412302 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:41:25.271062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:41:26.565096 : Cron_Monthly_Invoice_Inscription -'str' object has no attribute 'strftime' - Line : 534 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:41:26] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:42:09.324675 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:42:09.324675 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:42:09.324675 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:42:09.324675 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:42:09.325686 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:42:16.592946 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:42:17.705937 : Cron_Monthly_Invoice_Inscription -strptime() takes exactly 2 arguments (1 given) - Line : 533 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:42:17] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:43:35.415475 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:43:35.415475 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:43:35.416497 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:43:35.416497 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:43:35.416497 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:43:35.473840 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:43:36.233529 : Cron_Monthly_Invoice_Inscription -unconverted data remains: 13:01:27.430756 - Line : 536 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:43:36] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:44:24.659904 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:44:24.659904 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:44:24.659904 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:44:24.659904 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:44:24.659904 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:44:24.724119 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:44:25.432780 : Cron_Monthly_Invoice_Inscription -unconverted data remains: 13:01:27.430756 - Line : 538 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:44:25] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:45:09.434960 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:45:09.434960 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:45:09.434960 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:45:09.434960 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:45:09.434960 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:45:09.491060 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 16:45:10.244866 : Cron_Monthly_Invoice_Inscription -unconverted data remains: 13:01:27.430756 - Line : 538 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:45:10] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:45:35.743546 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:45:35.743546 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:45:35.743546 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:45:35.743546 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:45:35.744787 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:45:44.274887 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:45:44] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:47:50.097652 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:47:50.098702 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:47:50.098702 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:47:50.098702 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:47:50.098702 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:48:10.336994 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:48:10] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 16:50:34.934823 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 16:50:34.935940 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 16:50:34.935940 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 16:50:34.935940 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 16:50:34.935940 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 16:50:35.012496 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 16:50:35] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:05:34.578645 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:05:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:11:12.478628 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:11:13.357856 : Cron_Monthly_Invoice_Inscription -local variable 'local_node' referenced before assignment - Line : 635 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:11:13] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:12:23.861006 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:12:23.861006 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:12:23.861006 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:12:23.861006 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:12:23.861006 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 17:12:23.920758 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:12:24.639619 : Invoice_Data_From_Tab -list index out of range - Line : 778 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:12:24] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:13:33.397241 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:13:33.397241 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:13:33.398255 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:13:33.398255 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:13:33.398255 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 17:13:33.452079 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:13:34.230992 : Cron_Monthly_Invoice_Inscription -local variable 'local_node' referenced before assignment - Line : 636 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:13:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:16:38.182741 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:16:38.182741 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:16:38.182741 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:16:38.182741 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:16:38.182741 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 17:16:57.953788 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:16:59.072638 : Invoice_Data_From_Tab -list index out of range - Line : 781 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:16:59] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:19:10.784101 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:19:10.784101 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:19:10.784101 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:19:10.784101 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:19:10.784101 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 17:19:29.254127 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:19:29] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:22:43.166692 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:22:43] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:46:59.074203 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:46:59.074203 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:46:59.074203 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:46:59.074203 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:46:59.074203 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:47:36.239366 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:47:36.239366 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:47:36.239366 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:47:36.239366 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:47:36.240366 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:51:28.536820 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:51:28.536820 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:51:28.537819 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:51:28.537819 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:51:28.537819 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:52:04.863587 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:52:04.863587 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:52:04.863587 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:52:04.863587 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:52:04.863587 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:52:46.648757 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:52:46.648757 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:52:46.648757 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:52:46.648757 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:52:46.648757 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:53:25.983664 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:53:25.983664 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:53:25.983664 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:53:25.983664 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:53:25.984664 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:55:52.246904 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:55:52.246904 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:55:52.246904 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:55:52.246904 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:55:52.246904 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 17:56:14.670735 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.673729 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.677409 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.681972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.687607 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.696884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.702112 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.709304 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.715073 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.722110 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.732311 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.751447 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.761158 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.762178 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:14.768001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.778907 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.956690 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:14.962450 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:14] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:15] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:15] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:17.124320 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:17.126950 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:17] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:17] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:27.020275 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:27.022793 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:27.036952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:27.039951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:27] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:27] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:33.036330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:33.040100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:33] "POST /myclass/api/Get_Given_Partner_Invoice/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:33] "POST /myclass/api/Get_Given_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:39.454814 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:39] "POST /myclass/api/Get_Given_Line_Of_Partner_Invoice_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:56:53.248232 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:56:53.251233 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:53] "POST /myclass/api/Get_Invoice_Liste_Payement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:56:53] "POST /myclass/api/Get_Invoice_Total_Amount_Payed_And_Remaining_Amount/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:04.815353 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:04] "POST /myclass/api/Add_Invoice_Paiement/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:05.021264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:05.024588 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:05] "POST /myclass/api/Get_Invoice_Liste_Payement/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:05] "POST /myclass/api/Get_Invoice_Total_Amount_Payed_And_Remaining_Amount/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:11.842039 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:11.845825 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:11.849064 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:11.855424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:11.860792 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:11.868985 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:11.871578 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:11.877274 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:12.060485 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:12.063503 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:12] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-13 17:57:12.072168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 17:57:12.076539 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:12] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:12] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 17:57:12] "POST /myclass/api/Get_List_Partner_Invoice_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:59:12.968813 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:59:12.969814 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:59:12.969814 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:59:12.969814 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:59:12.969814 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 17:59:37.409063 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 17:59:37.409063 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 17:59:37.410070 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 17:59:37.410070 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 17:59:37.410070 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:03:37.457865 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:03:37.457865 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:03:37.458857 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:03:37.458857 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:03:37.458857 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:04:40.013740 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:04:40.013740 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:04:40.013740 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:04:40.013740 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:04:40.013740 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:05:22.973525 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:05:22.973525 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:05:22.973525 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:05:22.973525 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:05:22.973525 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:06:15.713716 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:06:15.714726 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:06:15.714726 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:06:15.714726 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:06:15.714726 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:07:20.080604 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:07:20.080604 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:07:20.080604 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:07:20.080604 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:07:20.080604 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:08:57.758949 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:08:57.758949 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:08:57.758949 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:08:57.758949 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:08:57.758949 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:11:30.247130 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:11:30.248125 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:11:30.248125 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:11:30.248125 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:11:30.248125 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:13:11.983772 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:13:11.983772 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:13:11.983772 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:13:11.983772 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:13:11.983772 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:14:48.705707 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:14:48.705707 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:14:48.705707 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:14:48.706710 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:14:48.706710 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:15:57.230569 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:15:57.230569 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:15:57.230569 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:15:57.230569 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:15:57.230569 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:16:57.000464 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:16:57.000985 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:16:57.000985 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:16:57.000985 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:16:57.000985 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:17:48.817709 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:17:48.818722 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:17:48.818722 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:17:48.818722 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:17:48.818722 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:18:33.987946 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:18:33.988930 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:18:33.988930 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:18:33.988930 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:18:33.988930 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:20:20.294966 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:20:20.475058 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.479057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.482061 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.487489 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.490544 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:20:20.516922 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:20:20.524917 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:20:20.532737 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.538901 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:20.542928 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:20] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:20:38.759615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:20:39.551708 : Controle_add_class_mass - Le domaine 'Logistique & transport' pour la formation à la ligne 2 n'est pas autorisé. Verifier la liste des domaines autorisés +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:20:39] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:21:58.422061 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:21:58.422061 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:21:58.422061 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:21:58.422061 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:21:58.422061 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:22:26.119950 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:22:26.119950 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:22:26.120953 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:22:26.120953 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:22:26.120953 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:22:51.162923 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:22:51.162923 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:22:51.162923 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:22:51.162923 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:22:51.162923 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:22:51.200300 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.204383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.207487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.212836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.217174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.222921 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.225985 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.233367 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.239825 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.247884 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.249041 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.254871 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.259700 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.268536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.283301 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.288355 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:51.291574 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:51.298327 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:22:57.075233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:22:57.797740 : Controle_add_class_mass - Le domaine 'Logistique & transport' pour la formation à la ligne 2 n'est pas autorisé. Verifier la liste des domaines autorisés +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:22:57] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:24:37.984543 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:24:37.985924 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:24:37.985924 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:24:37.985924 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:24:37.985924 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:26:21.347853 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:26:21.348851 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:26:21.348851 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:26:21.348851 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:26:21.348851 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:27:09.882742 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:27:09.882742 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:27:09.882742 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:27:09.882742 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:27:09.882742 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:27:37.801312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:27:38.303975 : Controle_add_class_mass -'categorie' - ERRORRRR AT Line : 3753 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:27:38] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:28:44.777247 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:28:44.777247 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:28:44.777247 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:28:44.777247 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:28:44.777247 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:28:44.815594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:28:45.289649 : add_class_mass -'int' object is not subscriptable - ERRORRRR AT Line : 3216 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:28:45] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:29:57.943314 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:29:57.943314 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:29:57.943314 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:29:57.943314 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:29:57.943314 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:29:57.984773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:29:58.087420 : external_code = IFOD_01 ==> CONDUIRE UN PROJET +INFO:root:2024-05-13 18:29:58.805539 : La formation indexée (champ title) =664240065407cfe49176e9a6 +INFO:root:2024-05-13 18:29:58.806528 : 1 ont été indexes => title +INFO:root:2024-05-13 18:29:58.845265 : external_code = IFOD_02 ==> ASSISTANT D’ADMINISTRATION ET DE COMMUNICATION COMMERCIALE +INFO:root:2024-05-13 18:29:59.176843 : La formation indexée (champ title) =664240065407cfe49176e9c8 +INFO:root:2024-05-13 18:29:59.177900 : 1 ont été indexes => title +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:29:59] "POST /myclass/api/add_class_mass/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:29:59.184674 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:29:59] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.621412 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.624802 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.627893 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.631525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.637427 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.645030 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.652771 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.660265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.669744 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.675951 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.693349 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.703366 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.709802 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.719020 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.727622 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.734647 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.747936 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.752972 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:14.764452 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:14.767980 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:14] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:15.172601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:15.176962 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:15.183118 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:15] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:15.186939 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:15] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:15] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:15] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:30:29.225614 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:30:29.699753 : update_class -'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - ERRORRRR AT Line : 935 +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:30:29] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:32:18.910916 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:32:18.910916 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:32:18.911924 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:32:18.911924 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:32:18.911924 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\class_mgt.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-13 18:33:09.987675 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-13 18:33:09.987675 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-13 18:33:09.987675 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-13 18:33:09.987675 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-13 18:33:09.987675 : ++ LMS_BAS_URL mysy-training.com/ ++ +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-13 18:33:10.028174 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.031522 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.034516 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.036669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.041203 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.046333 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.056414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.068601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.069974 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.079132 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.084382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.094166 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.099308 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.103468 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.108206 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:10.115607 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.133697 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:10.147717 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:10] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.595629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.598790 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.602066 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.608645 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.615180 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.622175 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.633135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.638142 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.650106 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.658405 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.664836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.672280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.680467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.687662 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.695902 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.707396 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.711374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.719336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:13.734449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:13.737769 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:13] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:14.131927 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:14.135068 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:14.139629 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:14.145620 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:14] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:14] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:14] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:14] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:23.981070 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:25.087810 : update_class - La formation a bin ete mise à jour =664240065407cfe49176e9c8 +INFO:root:2024-05-13 18:33:25.092828 : external_code = IFOD_02 ==> ASSISTANT D’ADMINISTRATION ET DE COMMUNICATION COMMERCIALE +INFO:root:2024-05-13 18:33:25.526526 : La formation indexée (champ title) =664240065407cfe49176e9c8 +INFO:root:2024-05-13 18:33:25.526526 : 1 ont été indexes => title +INFO:root:2024-05-13 18:33:25.531212 : external_code = IFOD_02 ==> +INFO:root:2024-05-13 18:33:25.868577 : documents must be a non-empty list +INFO:root:2024-05-13 18:33:25.873177 : La formation indexée (champs objectif) =664240065407cfe49176e9c8 +INFO:root:2024-05-13 18:33:25.873177 : 1 ont été indexes ==> keyword +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:25] "POST /myclass/api/update_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:30.908689 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.912601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.916596 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.920868 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.922032 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:30.929607 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.935621 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:30.955820 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:30.957040 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:30.965875 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:31.103307 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.106678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.109778 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.114315 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.117622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.123988 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:31.141983 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:31.145597 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:31.156033 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:31.160445 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:31] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.551155 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.553379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.557941 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.559890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.566397 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.577909 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.586355 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.588398 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.597122 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.608524 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.619311 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.624140 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.636815 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.646017 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.653436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.660754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.670407 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:42.678010 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Unite_Enseignement_Of_Given_Class/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.685492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Unite_Enseignement_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:42.692571 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_Niveau_Formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:42] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:root:2024-05-13 18:33:43.103543 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:43.107240 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:43.114273 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-13 18:33:43.119290 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:43] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:43] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:43] "POST /myclass/api/getRecodedClassImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [13/May/2024 18:33:43] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - diff --git a/Session_Formation.py b/Session_Formation.py index 2f22331..baea5cb 100644 --- a/Session_Formation.py +++ b/Session_Formation.py @@ -8269,7 +8269,7 @@ def Prepare_and_Send_Facture_From_Session_By_Inscription_Id(tab_files, Folder, d tab_my_inscription_ids_Object.append(ObjectId(str(my_inscription_id))) - print(" éééé tab_my_inscription_ids_Object = ", tab_my_inscription_ids_Object) + # Verifier que la session est valide is_session_valide = MYSY_GV.dbname['session_formation'].count_documents( {'_id': ObjectId(str(diction['session_id'])), @@ -8727,8 +8727,8 @@ def Invoice_Partner_From_Session_By_Inscription_Id( diction): tab_apprenant.append(ObjectId(str(val['apprenant_id']))) - print(" ### tab_participant = ", tab_participant) - print(" ### tab_apprenant = ", tab_apprenant) + #print(" ### tab_participant = ", tab_participant) + #print(" ### tab_apprenant = ", tab_apprenant) # Recuperations des info de la session de formation session_data = MYSY_GV.dbname['session_formation'].find_one({'_id': ObjectId(str(diction['session_id']))}) diff --git a/class_mgt.py b/class_mgt.py index 1b7b9ce..eec90b1 100644 --- a/class_mgt.py +++ b/class_mgt.py @@ -346,6 +346,19 @@ def add_class(diction): if ("metier" in diction.keys()): if diction['metier']: metier = diction['metier'] + """ + Verifier la validé du métier + """ + is_valide_metier = MYSY_GV.dbname['class_metier'].count_documents( + {'_id': ObjectId(str(diction['metier'])), + 'valide': '1', + 'locked': '0'}) + + if (is_valide_metier <= 0): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le métier de formation n'est pas valide ") + return False, " Le métier de formation n'est pas valide ", False + mydata['metier'] = metier @@ -443,6 +456,18 @@ def add_class(diction): if ("domaine" in diction.keys()): if diction['domaine']: domaine = diction['domaine'] + """ + Verifier la validé du domaine + """ + is_valide_domaine = MYSY_GV.dbname['class_domaine'].count_documents({'_id':ObjectId(str(diction['domaine'])), + 'valide':'1', + 'locked':'0'}) + + if( is_valide_domaine <= 0 ): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le domaine de formation n'est pas valide ") + return False, " Le domaine de formation n'est pas valide ", False + mydata['domaine'] = domaine version = "" @@ -455,6 +480,21 @@ def add_class(diction): if ("categorie" in diction.keys()): if diction['categorie']: categorie = diction['categorie'] + + """ + Verifier la validé de la catégoeir + """ + is_valide_categorie = MYSY_GV.dbname['class_categorie'].count_documents( + {'_id': ObjectId(str(diction['categorie'])), + 'valide': '1', + 'locked': '0'}) + + if (is_valide_categorie <= 0): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La catégorie de formation n'est pas valide ") + return False, " La catégorie de formation n'est pas valide ", False + + mydata['categorie'] = categorie # Traitement de l'url imag @@ -888,6 +928,20 @@ def update_class(diction): if ("metier" in diction.keys()): mydata['metier'] = diction['metier'] + if( diction['metier'] ): + """ + Verifier la validé du métier + """ + is_valide_metier = MYSY_GV.dbname['class_metier'].count_documents( + {'_id': ObjectId(str(diction['metier'])), + 'valide': '1', + 'locked': '0'}) + + if (is_valide_metier <= 0): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le métier de formation n'est pas valide ") + return False, " Le métier de formation n'est pas valide ", False + if ("published" in diction.keys()): mydata['published'] = diction['published'] @@ -964,11 +1018,39 @@ def update_class(diction): if ("domaine" in diction.keys()): mydata['domaine'] = diction['domaine'] + if (diction['domaine']): + """ + Verifier la validé du domaine + """ + is_valide_domaine = MYSY_GV.dbname['class_domaine'].count_documents( + {'_id': ObjectId(str(diction['domaine'])), + 'valide': '1', + 'locked': '0'}) + + if (is_valide_domaine <= 0): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le domaine de formation n'est pas valide ") + return False, " Le domaine de formation n'est pas valide ", False + + if ("version" in diction.keys()): mydata['version'] = diction['version'] if ("categorie" in diction.keys()): mydata['categorie'] = diction['categorie'] + if (diction['categorie']): + """ + Verifier la validé de la catégorie + """ + is_valide_categorie = MYSY_GV.dbname['class_categorie'].count_documents( + {'_id': ObjectId(str(diction['categorie'])), + 'valide': '1', + 'locked': '0'}) + + if (is_valide_categorie <= 0): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La catégorie de formation n'est pas valide ") + return False, " La catégorie de formation n'est pas valide ", False if ("zone_diffusion" in diction.keys()): @@ -3119,21 +3201,23 @@ def add_class_mass(file=None, Folder=None, diction=None): mydata['external_code'] = str(df['external_code'].values[n]).strip() mydata['title'] = str(df['titre'].values[n]).strip() - mydata['domaine'] = str(df['domaine'].values[n]).strip() tmp_desc = str(df['description'].values[n]).strip() tmp_desc = mycommon.format_MySy_Text_Tag(tmp_desc) mydata['description'] = tmp_desc + """ + Recuperer l'_id du domaine + """ + domaine_data = MYSY_GV.dbname['class_domaine'].find_one( + {'code': str(df['domaine'].values[n]).strip(), + 'valide': '1', + 'locked': '0'}) - """ - Verifier que le domaine est bien dans la liste acceptée - """ - count_domaine = MYSY_GV.dbname['liste_domaine_metier'].count_documents({'domaine': str(mydata['domaine']).lower(), 'valide': '1', 'locked':'0'}) - if (count_domaine <= 0): - mycommon.myprint(str( - inspect.stack()[0][ - 3]) + " - Le domaine '"+str(mydata['domaine'])+"' pour la formation à la ligne " + str(n + 2) +" n'est pas autorisé. Verifier la liste des domaines autorisés") - return False, " - Le domaine '"+str(mydata['domaine'])+"' pour la formation à la ligne " + str(n + 2) +" n'est pas autorisé. Verifier la liste des domaines autorisés" + if (domaine_data is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le domaine de formation n'est pas valide ") + return False, " Le domaine de formation n'est pas valide " + mydata['domaine'] = str(domaine_data['_id']) @@ -3149,11 +3233,28 @@ def add_class_mass(file=None, Folder=None, diction=None): version = str(df['version'].values[n]).strip() mydata['version'] = version - categorie = "" + + + categorie_id = "" if ("categorie" in df.keys()): if (str(df['categorie'].values[n])): categorie = str(df['categorie'].values[n]).strip() - mydata['categorie'] = categorie + """ + Recuperer l'_id de la catégorie + """ + categorie_data = MYSY_GV.dbname['class_categorie'].find_one( + {'code': str(df['domaine'].values[n]).strip(), + 'valide': '1', + 'locked': '0'}) + + if (categorie_data is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " La catégorie de formation n'est pas valide ") + return False, " La catégorie de formation n'est pas valide " + + categorie_id = str(categorie_data['_id']) + + mydata['categorie'] = categorie_id #mydata['duration'] = float(str(df['duree'].values[n])) @@ -3200,22 +3301,27 @@ def add_class_mass(file=None, Folder=None, diction=None): mydata['price'] = price - metier = "" + metier_id = "" if ("metier" in df.keys()): if (str(df['metier'].values[n])): metier = str(df['metier'].values[n]).strip() """ - Verifier que le metier est bien dans la liste acceptée - """ - count_domaine = MYSY_GV.dbname['liste_domaine_metier'].count_documents( - {'metier': str(metier).lower(), 'valide': '1', 'locked': '0'}) - if (count_domaine <= 0): - mycommon.myprint(str( - inspect.stack()[0][ 3]) + " - Le metier '" + str(metier) + "' pour la formation à la ligne " + str(n + 2) + " n'est pas autorisé. Verifier la liste des domaines autorisés") - return False, " - Le metier '" + str(metier) + "' pour la formation à la ligne " + str( n + 2) + " n'est pas autorisé. Verifier la liste des domaines autorisés" + Recuperer l'_id de la catégorie + """ + metier_data = MYSY_GV.dbname['class_metier'].find_one( + {'code': str(df['metier'].values[n]).strip(), + 'valide': '1', + 'locked': '0'}) + + if (metier_data is None): + mycommon.myprint( + str(inspect.stack()[0][3]) + " Le metier de formation n'est pas valide ") + return False, " Le métier de formation n'est pas valide " + + metier_id = str(metier_data['_id']) - mydata['metier'] = metier + mydata['metier'] = metier_id published = "1" @@ -3620,8 +3726,10 @@ def Controle_add_class_mass(saved_file=None, Folder=None, diction=None): """ Verifier que le domaine est bien dans la liste acceptée """ - count_domaine = MYSY_GV.dbname['liste_domaine_metier'].count_documents( - {'domaine': str(mydata['domaine']).lower(), 'valide': '1', 'locked': '0'}) + print(" domaine a tester = ", str(mydata['domaine']).strip()) + count_domaine = MYSY_GV.dbname['class_domaine'].count_documents( + {'code': str(mydata['domaine']).strip(), 'valide': '1', 'locked': '0', + }) if (count_domaine <= 0): mycommon.myprint(str( inspect.stack()[0][ @@ -3644,10 +3752,25 @@ def Controle_add_class_mass(saved_file=None, Folder=None, diction=None): version = str(df['version'].values[n]).strip() mydata['version'] = version + + categorie = "" if ("categorie" in df.keys()): if (str(df['categorie'].values[n])): categorie = str(df['categorie'].values[n]).strip() + count_categorie = MYSY_GV.dbname['class_categorie'].count_documents( + {'code': str(mydata['categorie']).strip(), 'valide': '1', 'locked': '0', + }) + if (count_categorie <= 0): + mycommon.myprint(str( + inspect.stack()[0][ + 3]) + " - La catégorie '" + str( + mydata['categorie']) + "' pour la formation à la ligne " + str( + n + 2) + " n'est pas autorisée. Verifier la liste des catégories autorisés") + return False, " - La catégorie '" + str( + mydata['categorie']) + "' pour la formation à la ligne " + str( + n + 2) + " n'est pas autorisée. Verifier la liste des catégories autorisés" + mydata['categorie'] = categorie @@ -3740,9 +3863,9 @@ def Controle_add_class_mass(saved_file=None, Folder=None, diction=None): """ Verifier que le metier est bien dans la liste acceptée """ - count_domaine = MYSY_GV.dbname['liste_domaine_metier'].count_documents( - {'metier': str(metier).lower(), 'valide': '1', 'locked': '0'}) - if (count_domaine <= 0): + count_metier = MYSY_GV.dbname['class_metier'].count_documents( + {'code': str(metier).strip(), 'valide': '1', 'locked': '0'}) + if (count_metier <= 0): mycommon.myprint(str( inspect.stack()[0][3]) + " - Le metier '" + str( metier) + "' pour la formation à la ligne " + str( diff --git a/main.py b/main.py index 1de5943..1aaa9fd 100644 --- a/main.py +++ b/main.py @@ -9190,6 +9190,8 @@ if __name__ == '__main__': """ /!\ Dasactivé en dev pour pas consommer de ressource pr rien. + """ + """ scheduler = BackgroundScheduler() # Create the job @@ -9203,6 +9205,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/partner_base_setup.py b/partner_base_setup.py index d84e08e..9393f93 100644 --- a/partner_base_setup.py +++ b/partner_base_setup.py @@ -313,7 +313,7 @@ def Get_Given_Partner_Basic_Setup(diction): """ Verification des champs obligatoires """ - field_list_obligatoire = ['token','config_name', 'related_collection' ] + field_list_obligatoire = ['token','config_name', ] for val in field_list_obligatoire: if val not in diction: mycommon.myprint( @@ -333,6 +333,13 @@ def Get_Given_Partner_Basic_Setup(diction): if (local_status is not True): return local_status, my_partner + + related_collection = "" + if( "related_collection" in diction.keys() and diction['related_collection']) : + related_collection = diction['related_collection'] + + + if( str(diction['config_name']) not in MYSY_GV.PARTNER_BASE_CONFIG_NAME ): mycommon.myprint( str(inspect.stack()[0][3]) + " - La valeur '" + str(diction['config_name']) + "' n'est pas valide ") @@ -344,12 +351,13 @@ def Get_Given_Partner_Basic_Setup(diction): param_retval_value = "" qry_tva = {'partner_owner_recid':str(my_partner['recid']), 'valide':'1', - 'locked':'0', 'config_name':str(diction['config_name'])} + 'locked':'0', 'config_name':str(diction['config_name']), + 'related_collection':str(related_collection)} - #print(" ### qry_tva = ", qry_tva) + print(" ### qry_tva = ", qry_tva) for New_retVal in MYSY_GV.dbname['base_partner_setup'].find({'partner_owner_recid':str(my_partner['recid']), 'valide':'1', 'locked':'0', 'config_name':str(diction['config_name']), - 'related_collection':str(diction['related_collection'])}): + 'related_collection':str(related_collection)}): user = New_retVal param_retval_value = str(New_retVal['config_value']) @@ -358,10 +366,17 @@ def Get_Given_Partner_Basic_Setup(diction): Si la valeur est vide, alors on va aller chercher la configuration par default """ if( str(param_retval_value).strip() == ""): + + qry_tva2 = {'partner_owner_recid': "default", 'valide': '1', + 'locked': '0', 'config_name': str(diction['config_name']), + 'related_collection':str(related_collection)} + + print(" ### qry_tva2 = ", qry_tva2) + for New_retVal in MYSY_GV.dbname['base_partner_setup'].find( {'partner_owner_recid': "default", 'valide': '1', 'locked': '0', 'config_name': str(diction['config_name']), - 'related_collection':str(diction['related_collection'])}): + 'related_collection':str(related_collection)}): user = New_retVal param_retval_value = str(New_retVal['config_value']) diff --git a/partner_client.py b/partner_client.py index 75bc7c3..2a01c08 100644 --- a/partner_client.py +++ b/partner_client.py @@ -41,7 +41,7 @@ def Add_Partner_Client(diction): 'invoice_email', 'invoice_nom', 'invoice_siret', 'invoice_tva', 'invoice_condition_paiement_id', 'invoice_adresse', 'invoice_ville', 'invoice_code_postal', 'invoice_pays', "client_type_id", - 'is_fournisseur', 'is_client', 'is_financeur', 'is_company'] + 'is_fournisseur', 'is_client', 'is_financeur', 'is_company', 'invoice_automatique'] print(" diction = ", diction) @@ -151,6 +151,12 @@ def Add_Partner_Client(diction): is_company = diction['is_company'] data['is_company'] = is_company + invoice_automatique = "" + if ("invoice_automatique" in diction.keys()): + if diction['invoice_automatique']: + invoice_automatique = diction['invoice_automatique'] + data['invoice_automatique'] = invoice_automatique + is_fournisseur = "" if ("is_fournisseur" in diction.keys() and diction['is_fournisseur']): @@ -500,7 +506,7 @@ def Update_Partner_Client(diction): 'invoice_email', 'invoice_nom', 'invoice_siret', 'invoice_tva','invoice_condition_paiement_id', 'invoice_adresse', 'invoice_ville', 'invoice_code_postal', 'invoice_pays', 'client_type_id', - 'is_fournisseur', 'is_client', 'is_financeur', 'is_company'] + 'is_fournisseur', 'is_client', 'is_financeur', 'is_company', 'invoice_automatique'] incom_keys = diction.keys() for val in incom_keys: @@ -581,6 +587,11 @@ def Update_Partner_Client(diction): nom = diction['nom'] data_update['nom'] = diction['nom'] + + if ("invoice_automatique" in diction.keys()): + data_update['invoice_automatique'] = diction['invoice_automatique'] + + # Le nom est un champ obligatoire if( str(nom).strip() == ""): mycommon.myprint(str(inspect.stack()[0][ @@ -1186,6 +1197,9 @@ def Get_Given_Partner_Client_From_Id(diction): user['client_type_code'] = client_type_data['code'] + if( "invoice_automatique" not in retval.keys() ): + user['invoice_automatique'] = "" + RetObject.append(mycommon.JSONEncoder().encode(user)) #print(" ### RetObject = ", RetObject)