diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 135fe2a..cc0a3d7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,12 @@ - + + - + @@ -460,7 +461,6 @@ - @@ -485,6 +485,7 @@ - \ No newline at end of file diff --git a/GlobalVariable.py b/GlobalVariable.py index 3095349..f2bd4aa 100644 --- a/GlobalVariable.py +++ b/GlobalVariable.py @@ -557,9 +557,11 @@ En termes de process, un document de type devis peut avoir le un des statuts ci- • Brouillon => valeur 0 • En cours => valeur 1 • Fermé => valeur 2 +• gagné => valeur 3 +• perdu => valeur 4 • Annulé => valeur -1 """ -PARTNER_QUOTATION_STATUS = ['-1', '0', '1', '2'] +PARTNER_QUOTATION_STATUS = ['-1', '0', '1', '2', '3', '4'] """ diff --git a/Job_Cron.py b/Job_Cron.py index 5029776..28c2c96 100644 --- a/Job_Cron.py +++ b/Job_Cron.py @@ -15,6 +15,7 @@ from datetime import datetime, date, timedelta import module_editique +import partner_order import prj_common as mycommon import secrets import inspect @@ -185,7 +186,6 @@ def Cron_Send_Survey(): local_dicton['tab_ids'] = (str(val['_id'])) - local_status, local_retval = survey_mgt.Automatic_Send_Survey_TabIds(local_dicton) #data['date_update'] = str(datetime.now()) @@ -256,7 +256,8 @@ def Cron_Quotation_Relance(): devis_qery_match = {'$and': [{'partner_owner_recid':str(local_partner_owner_recid), 'valide':'1', - 'locked':'0', + 'locked':'0', 'order_header_type':'devis', 'order_header_status':'1', + 'relance_auto':'1'}, { @@ -279,8 +280,16 @@ def Cron_Quotation_Relance(): {'$match': devis_qery_match}, ]) - #print(" ## pipe_qry Cron_Quotation_Relance = ", pipe_qry) + print(" ## pipe_qry Cron_Quotation_Relance = ", pipe_qry) for local_devis in MYSY_GV.dbname['partner_order_header'].aggregate(pipe_qry): + + is_quotation_validated = 0 + if( "validation_by" in local_devis.keys() and local_devis['validation_by'] and + "date_validation" in local_devis.keys() and local_devis['date_validation'] ): + # Ce devis a déjà ete validée, donc pas de relance + is_quotation_validated = 1 + + #print( "### local_devis a traiter = ", local_devis) relance_done = 0 @@ -312,56 +321,87 @@ def Cron_Quotation_Relance(): print(" ### LA PROCHAINE RELANCE EST ", new_relance_date_ISODATE) + new_relance_date_no_ISODATE = str(new_relance_date_ISODATE.strftime("%d/%m/%Y")) + print(" ### LA PROCHAINE RELANCE EST (new_relance_date_no_ISODATE) ", new_relance_date_no_ISODATE) - if( relance_done <= nb_limite_relance ): + datetime.strptime(str(todays_date), '%d/%m/%Y') + if( datetime.strptime(str(todays_date), '%d/%m/%Y') >= datetime.strptime( str(new_relance_date_no_ISODATE).strip(), '%d/%m/%Y') ): + print(" ### todays_date est SUPERIEUR = new_relance_date_ISODATE") + else: + print(" ### todays_date est INFERIEUR new_relance_date_ISODATE") + + + if( is_quotation_validated == 0 and relance_done <= nb_limite_relance and datetime.strptime(str(todays_date), '%d/%m/%Y') >= datetime.strptime( str(new_relance_date_no_ISODATE).strip(), '%d/%m/%Y') ): + print(" ### OUIIII on fait la relanceeeeeeeeeeeee") """ On fait le traitement, on envoie le mail + 1 - recuperation des data """ - """ - Une fois la relance faite, on met à jour le devis avec les infos suivant : - - liste_relance - - """ + local_status, my_partner = mycommon.Get_Connected_User_Partner_Data_From_RecID(str(local_devis['partner_owner_recid'])) + if (local_status is not True): + return local_status, my_partner - frequence_relance_auto_reached = "0" - if("list_relance" in local_devis.keys() and local_devis['list_relance']): - local_node = {} - local_node['date_relance'] = str(date.today()) - local_devis['list_relance'].append(local_node) + tab_client = [] + tab_client.append(ObjectId(str(local_devis['order_header_client_id']))) - else : + local_diction = {'token':str(my_partner['token']), 'order_id': str(local_devis['_id'])} - local_node = {} - local_node['date_relance'] = str(date.today()) - local_devis['list_relance'] = [] - local_devis['list_relance'].append(local_node) + local_send_remind_status, local_send_remind_retval = partner_order.Send_Quotation_Remind_Level1(local_diction) - nb_relance = str(len(local_devis['list_relance'])) + print(" relance return local_send_remind_status = ", local_send_remind_status) - local_data_update = local_devis + if( local_send_remind_status is True): - id_to_update = str(local_data_update['_id']) + print(" RELANCE FAIT ET OK ") + """ + Une fois la relance faite, on met à jour le devis avec les infos suivant : + - liste_relance + + """ - del local_data_update['_id'] - del local_data_update['mysy_devis_expiration_date'] + frequence_relance_auto_reached = "0" - local_data_update['nb_relance'] = str(nb_relance) - local_data_update['date_dernier_relance_auto'] = str(todays_date) + if("list_relance" in local_devis.keys() and local_devis['list_relance']): + local_node = {} + local_node['date_relance'] = str(date.today()) + local_node['mesg_relance'] = str(local_send_remind_retval) + local_devis['list_relance'].append(local_node) - result = MYSY_GV.dbname['partner_order_header'].find_one_and_update( - {'_id': ObjectId(str(id_to_update)), + else : - 'valide': '1', - 'locked': '0'}, - {"$set": local_data_update}, - upsert=False, - return_document=ReturnDocument.AFTER - ) + local_node = {} + local_node['date_relance'] = str(date.today()) + local_devis['list_relance'] = [] + local_devis['list_relance'].append(local_node) + local_node['mesg_relance'] = str(local_send_remind_retval) + + nb_relance = str(len(local_devis['list_relance'])) + + local_data_update = local_devis + + id_to_update = str(local_data_update['_id']) + + del local_data_update['_id'] + del local_data_update['mysy_devis_expiration_date'] + + local_data_update['nb_relance'] = str(nb_relance) + local_data_update['date_dernier_relance_auto'] = str(todays_date) + + result = MYSY_GV.dbname['partner_order_header'].find_one_and_update( + {'_id': ObjectId(str(id_to_update)), + + 'valide': '1', + 'locked': '0'}, + {"$set": local_data_update}, + upsert=False, + return_document=ReturnDocument.AFTER + ) else: + print(" ### NoNNNNNNNNNN on NEEEE fait la relanceeeeeeeeeeeee") print(" limite relance atteint : ") print(" limite relance_done : ", relance_done) print(" limite nb_limite_relance : ", nb_limite_relance) diff --git a/Log/log_file.log b/Log/log_file.log index 001fd54..3c163b7 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -2350466,3 +2350466,6859 @@ 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-11 19:32:02.633356+02:00 (in 119.992649 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:32:02 CEST)" (scheduled at 2024-05-11 19:30:02.634351+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:32:02 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: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-12 11:30:01.074528 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:30:01.074528 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:30:01.074528 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:30:01.075534 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:30:01.075534 : ++ 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-12 11:32:01.167575+02:00 (in 119.995087 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-12 11:30:13.919607 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:30:13.919607 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:30:13.919607 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:30:13.920603 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:30:13.920603 : ++ 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-12 11:32:14.058789+02:00 (in 119.995985 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 11:30:45.500931 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:45.503934 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:45.505379 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:45.508290 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:45.511251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:45.515144 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:45] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:45] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:45] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:45] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:45.988654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:46] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:46.083717 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:46.115261 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:46] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:46.146377 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:46] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:46] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.019423 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.020909 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.025968 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.029724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.033679 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.042111 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.347067 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.351852 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.362418 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.364759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.372006 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.383256 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.677725 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.679157 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.688093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.689221 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.697183 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.698196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:47.991093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:47.995456 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:47] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.005585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.006597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.013469 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.025463 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.317978 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.322269 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.330822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.333836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.333836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.340939 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.633752 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.637755 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.648287 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.657726 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.659763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.663196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.946425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.950414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.958890 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:48.977033 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.980560 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:48.984590 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:48] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.260098 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.264089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.275505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.295502 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.299507 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.303255 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.582502 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.588184 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.593820 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.625207 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.627803 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.628813 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.905613 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.909548 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.913300 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.953930 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:30:49.958230 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:30:49.962593 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:30:49] "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-12 11:32:01 CEST)" (scheduled at 2024-05-12 11:32:01.167575+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:33:01.167575+02:00 (in 59.983430 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:34:01 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-12 11:32:14 CEST)" (scheduled at 2024-05-12 11:32:14.058789+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:33:14.057787+02:00 (in 59.997345 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:34:14 CEST)" executed successfully +INFO:root:2024-05-12 11:32:15.249046 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.251039 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.253042 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.255043 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.258035 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.264898 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:15.611651 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.615148 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.721540 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:15.726858 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:15] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.308565 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.312599 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.316599 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.322586 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.327487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.333539 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.338909 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.342656 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.352557 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.358391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.363125 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.374268 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.378265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.381264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.388264 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.401415 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.403441 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.408755 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.418103 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.428327 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.434388 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.441931 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.449815 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.452824 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.461971 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.468235 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.471727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.482991 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.487377 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.490724 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.499978 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.503444 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.510303 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.517095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.522204 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.529037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.535026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.542038 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.548441 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.554921 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.559474 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.565653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.572305 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.579150 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.583543 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.590080 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.594989 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.600325 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.604344 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.612137 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.619045 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.628357 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.634858 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.642284 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.646773 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:32:16.650766 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.659058 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.670041 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.678011 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:32:16.683154 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:32:16] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:34:01.167575+02:00 (in 59.992108 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 11:36:01 CEST)" (scheduled at 2024-05-12 11:33:01.167575+02:00) +INFO:root:2024-05-12 11:33:01.236841 : dimanche, 12. mai 2024 11:33:01 : 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 11:36:01 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-12 11:34:14.058789+02:00 (in 59.984078 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 11:36:14 CEST)" (scheduled at 2024-05-12 11:33:14.057787+02:00) +INFO:root:2024-05-12 11:33:14.077158 : dimanche, 12. mai 2024 11:33:14 : 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 11:36:14 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-12 11:36:01.167575+02:00 (in 119.993925 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:36:01 CEST)" (scheduled at 2024-05-12 11:34:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:36:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:36:14.057787+02:00 (in 119.990049 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:36:14 CEST)" (scheduled at 2024-05-12 11:34:14.058789+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:36:14 CEST)" executed successfully +INFO:root:2024-05-12 11:35:28.969390 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.239481 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.247481 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.250484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.256660 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.271129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.281534 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.301009 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.326323 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.340461 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.342460 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.601970 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.607887 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.614781 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.622431 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.633208 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.643169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:35:29.652166 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.680102 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.708120 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:29.723659 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:29] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:35:45.648794 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:35:45] "GET /myclass/api/Global_MySy_Cron_Traitement/ 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-12 11:38:01 CEST)" (scheduled at 2024-05-12 11:36:01.167575+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-12 11:36:01 CEST)" (scheduled at 2024-05-12 11:36:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:38:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:38:01.167575+02:00 (in 119.986827 seconds) +INFO:root:2024-05-12 11:36:01.184753 : dimanche, 12. mai 2024 11:36:01 : 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 11:39:01 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 +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 11:39:14 CEST)" (scheduled at 2024-05-12 11:36:14.057787+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:38:14 CEST)" (scheduled at 2024-05-12 11:36:14.058789+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:38:14.058789+02:00 (in 119.993069 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:38:14 CEST)" executed successfully +INFO:root:2024-05-12 11:36:14.067936 : dimanche, 12. mai 2024 11:36:14 : 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 11:39:14 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-12 11:39:01.167575+02:00 (in 59.894625 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:40:01 CEST)" (scheduled at 2024-05-12 11:38:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:40:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:39:14.057787+02:00 (in 59.995770 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:40:14 CEST)" (scheduled at 2024-05-12 11:38:14.058789+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:40:14 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:40:01.167575+02:00 (in 59.980869 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 11:42:01 CEST)" (scheduled at 2024-05-12 11:39:01.167575+02:00) +INFO:root:2024-05-12 11:39:01.193695 : dimanche, 12. mai 2024 11:39:01 : 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 11:42:01 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-12 11:40:14.058789+02:00 (in 59.991773 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 11:42:14 CEST)" (scheduled at 2024-05-12 11:39:14.057787+02:00) +INFO:root:2024-05-12 11:39:14.070010 : dimanche, 12. mai 2024 11:39:14 : 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 11:42:14 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-12 11:42:01.167575+02:00 (in 119.992976 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:42:01 CEST)" (scheduled at 2024-05-12 11:40:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:42:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:42:14.057787+02:00 (in 119.991880 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:42:14 CEST)" (scheduled at 2024-05-12 11:40:14.058789+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:42:14 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:44:01.167575+02:00 (in 119.998299 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:44:01 CEST)" (scheduled at 2024-05-12 11:42:01.167575+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-12 11:45:01 CEST)" (scheduled at 2024-05-12 11:42:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:44:01 CEST)" executed successfully +INFO:root:2024-05-12 11:42:01.173281 : dimanche, 12. mai 2024 11:42:01 : 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 11:45:01 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-12 11:44:14.058789+02:00 (in 119.994627 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 11:45:14 CEST)" (scheduled at 2024-05-12 11:42:14.057787+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:44:14 CEST)" (scheduled at 2024-05-12 11:42:14.058789+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:44:14 CEST)" executed successfully +INFO:root:2024-05-12 11:42:14.067161 : dimanche, 12. mai 2024 11:42:14 : 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 11:45:14 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-12 11:42:39.681762 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:42:39.681762 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:42:39.681762 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:42:39.681762 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:42:39.681762 : ++ 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-12 11:44:39.806079+02:00 (in 119.997517 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 11:42:39.873782 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:42:40.806309 : Cron_Quotation_Relance -time data '2099-12-11 00:00:00' does not match format '%d/%m/%Y' - Line : 317 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:42:40] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:45:01.167575+02:00 (in 59.991357 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:46:01 CEST)" (scheduled at 2024-05-12 11:44:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:46:01 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-12 11:44:15.529245 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:44:15.529245 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:44:15.529245 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:44:15.529245 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:44:15.529245 : ++ 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-12 11:46:15.611361+02:00 (in 119.997958 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 11:44:15.661306 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:44:16.438648 : Cron_Quotation_Relance -time data '2024-06-14 00:00:00' does not match format '%d/%m/%Y' - Line : 326 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:44:16] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:46:01.167575+02:00 (in 59.994639 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 11:48:01 CEST)" (scheduled at 2024-05-12 11:45:01.167575+02:00) +INFO:root:2024-05-12 11:45:01.175182 : dimanche, 12. mai 2024 11:45:01 : 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 11:48:01 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-12 11:45:28.850411 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:45:28.851415 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:45:28.851415 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:45:28.851415 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:45:28.851415 : ++ 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-12 11:47:28.917765+02:00 (in 119.997888 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-12 11:48:01.167575+02:00 (in 119.989045 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:48:01 CEST)" (scheduled at 2024-05-12 11:46:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:48:01 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-12 11:47:28 CEST)" (scheduled at 2024-05-12 11:47:28.917765+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:48:28.916721+02:00 (in 59.987218 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:49:28 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:50:01.167575+02:00 (in 119.992620 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:50:01 CEST)" (scheduled at 2024-05-12 11:48:01.167575+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-12 11:51:01 CEST)" (scheduled at 2024-05-12 11:48:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:50:01 CEST)" executed successfully +INFO:root:2024-05-12 11:48:01.179483 : dimanche, 12. mai 2024 11:48:01 : 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 11:51:01 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 +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 11:57:28 CEST)" was missed by 0:01:38.798178 +WARNING:apscheduler.executors.default:Run time of job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:49:28 CEST)" was missed by 0:00:38.833402 +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:57:28.916721+02:00 (in 81.202825 seconds) +INFO:root:2024-05-12 11:56:34.325009 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.115942 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.120957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.125940 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.134948 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.143939 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.149950 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.156955 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.165955 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.172968 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.184982 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.193965 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.217516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.240510 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.249520 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.258501 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:57.273497 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.307668 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:57.328657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:57] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:56:59.380804 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:56:59.383790 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:59] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:56:59] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:57:07.959163 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:57:07] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 11:57:08.473328 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:57:08.478331 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 11:57:08.484341 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:57:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:57:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:57:08] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 11:59:28.917765+02:00 (in 119.949201 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 12:00:28 CEST)" (scheduled at 2024-05-12 11:57:28.916721+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:59:28 CEST)" (scheduled at 2024-05-12 11:57:28.917765+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:59:28 CEST)" executed successfully +INFO:root:2024-05-12 11:57:28.971626 : dimanche, 12. mai 2024 11:57:28 : 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 12:00:28 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-12 11:58:01.167575+02:00 (in 21.262805 seconds) +WARNING:apscheduler.executors.default:Run time of job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 11:58:01 CEST)" was missed by 0:01:38.737973 +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 12:00:01 CEST)" was missed by 0:00:38.737973 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:00:01.167575+02:00 (in 119.987889 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:00:01 CEST)" (scheduled at 2024-05-12 11:58:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:00:01 CEST)" executed successfully +INFO:root:2024-05-12 11:58:27.753313 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:58:27] "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: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-12 11:59:39.468939 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 11:59:39.470453 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 11:59:39.470453 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 11:59:39.470453 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 11:59:39.470453 : ++ 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-12 12:01:39.535449+02:00 (in 119.997312 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 11:59:49.080030 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 11:59:49] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:02:01.167575+02:00 (in 119.997765 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:02:01 CEST)" (scheduled at 2024-05-12 12:00:01.167575+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-12 12:03:01 CEST)" (scheduled at 2024-05-12 12:00:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:02:01 CEST)" executed successfully +INFO:root:2024-05-12 12:00:01.174381 : dimanche, 12. mai 2024 12:00:01 : 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 12:03:01 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:01:39 CEST)" (scheduled at 2024-05-12 12:01:39.535449+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:02:39.535449+02:00 (in 59.992914 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:03:39 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:03:01.167575+02:00 (in 59.989301 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:04:01 CEST)" (scheduled at 2024-05-12 12:02:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:04:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:03:39.535449+02:00 (in 59.982223 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 12:05:39 CEST)" (scheduled at 2024-05-12 12:02:39.535449+02:00) +INFO:root:2024-05-12 12:02:39.556307 : dimanche, 12. mai 2024 12:02:39 : 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 12:05:39 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-12 12:04:01.167575+02:00 (in 59.995193 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 12:06:01 CEST)" (scheduled at 2024-05-12 12:03:01.167575+02:00) +INFO:root:2024-05-12 12:03:01.175237 : dimanche, 12. mai 2024 12:03:01 : 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 12:06:01 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-12 12:05:39.535449+02:00 (in 119.986916 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:05:39 CEST)" (scheduled at 2024-05-12 12:03:39.535449+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:05:39 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:06:01.167575+02:00 (in 119.987394 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:06:01 CEST)" (scheduled at 2024-05-12 12:04:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:06:01 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-12 12:08:39 CEST)" (scheduled at 2024-05-12 12:05:39.535449+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:05:39 CEST)" (scheduled at 2024-05-12 12:05:39.535449+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:07:39.535449+02:00 (in 119.990873 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:07:39 CEST)" executed successfully +INFO:root:2024-05-12 12:05:39.547658 : dimanche, 12. mai 2024 12:05:39 : 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 12:08:39 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-12 12:08:01.167575+02:00 (in 119.998058 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:08:01 CEST)" (scheduled at 2024-05-12 12:06:01.167575+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-12 12:09:01 CEST)" (scheduled at 2024-05-12 12:06:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:08:01 CEST)" executed successfully +INFO:root:2024-05-12 12:06:01.174285 : dimanche, 12. mai 2024 12:06:01 : 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 12:09:01 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-12 12:08:39.535449+02:00 (in 59.986469 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:09:39 CEST)" (scheduled at 2024-05-12 12:07:39.535449+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:09:39 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:09:01.167575+02:00 (in 59.993157 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:10:01 CEST)" (scheduled at 2024-05-12 12:08:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:10:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:09:39.535449+02:00 (in 59.989464 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 12:11:39 CEST)" (scheduled at 2024-05-12 12:08:39.535449+02:00) +INFO:root:2024-05-12 12:08:39.550265 : dimanche, 12. mai 2024 12:08:39 : 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 12:11:39 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-12 12:10:01.167575+02:00 (in 59.995477 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 12:12:01 CEST)" (scheduled at 2024-05-12 12:09:01.167575+02:00) +INFO:root:2024-05-12 12:09:01.175704 : dimanche, 12. mai 2024 12:09:01 : 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 12:12:01 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-12 12:11:39.535449+02:00 (in 119.988571 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:11:39 CEST)" (scheduled at 2024-05-12 12:09:39.535449+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:11:39 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:12:01.167575+02:00 (in 119.988645 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:12:01 CEST)" (scheduled at 2024-05-12 12:10:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:12:01 CEST)" executed successfully +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-12 12:10:14.343621 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:10:14.343621 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:10:14.343621 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:10:14.343621 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:10:14.343621 : ++ 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-12 12:12:14.414524+02:00 (in 119.996981 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-12 12:10:47.559970 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:10:47.560970 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:10:47.560970 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:10:47.560970 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:10:47.560970 : ++ 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-12 12:12:47.627472+02:00 (in 119.997601 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-12 12:11:17.616174 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:11:17.617180 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:11:17.617180 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:11:17.617180 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:11:17.617180 : ++ 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-12 12:13:17.692862+02:00 (in 119.997988 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:11:50.683066 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:11:50.688262 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:11:52.523179 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:52] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:11:53.194367 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:11:53.217519 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:53] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:11:53.224719 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:53] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:11:53] "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 12:14:01.167575+02:00 (in 119.996228 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:14:01 CEST)" (scheduled at 2024-05-12 12:12:01.167575+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-12 12:15:01 CEST)" (scheduled at 2024-05-12 12:12:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:14:01 CEST)" executed successfully +INFO:root:2024-05-12 12:12:01.176349 : dimanche, 12. mai 2024 12:12:01 : 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 12:15:01 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-12 12:12:15.534110 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:12:16.588445 : Send_Partner_Order_By_Email - Aucune ligne de détail pour cette commande +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:12:16] "POST /myclass/api/Send_Partner_Order_By_Email/ 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-12 12:13:17 CEST)" (scheduled at 2024-05-12 12:13:17.692862+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:14:17.692862+02:00 (in 59.997208 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:15:17 CEST)" executed successfully +INFO:root:2024-05-12 12:13:58.414469 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:13:58.417472 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:13:58.422758 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:13:58.430784 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:13:58.431815 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:13:58.442336 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:13:58.447459 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:13:58.467318 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:13:58.490208 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:13:58] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:14:00.826063 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:14:00.830238 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:15:01.167575+02:00 (in 59.991249 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:16:01 CEST)" (scheduled at 2024-05-12 12:14:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:16:01 CEST)" executed successfully +INFO:root:2024-05-12 12:14:11.645767 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:14:11.668277 : Send_Partner_Order_By_Email - Aucune ligne de détail pour cette commande +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:11] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:15:17.692862+02:00 (in 59.996331 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 12:17:17 CEST)" (scheduled at 2024-05-12 12:14:17.692862+02:00) +INFO:root:2024-05-12 12:14:17.698621 : dimanche, 12. mai 2024 12:14:17 : 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 12:17:17 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-12 12:14:31.392406 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:14:34.140409 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:34] "POST /myclass/api/get_Class_From_Internal_Url/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:14:40.689050 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:40] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:14:41.195249 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:14:41.217185 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:41] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:14:41] "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 12:16:01.167575+02:00 (in 59.994430 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 12:18:01 CEST)" (scheduled at 2024-05-12 12:15:01.167575+02:00) +INFO:root:2024-05-12 12:15:01.177153 : dimanche, 12. mai 2024 12:15:01 : 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 12:18:01 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-12 12:15:05.663075 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:05] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:15:06.251998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:15:06.262022 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:15:06.269108 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:06] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:06] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:06] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:15:16.269742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:16] "POST /myclass/api/Get_Given_Line_Of_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 12:17:17.692862+02:00 (in 119.993580 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:17:17 CEST)" (scheduled at 2024-05-12 12:15:17.692862+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:17:17 CEST)" executed successfully +INFO:root:2024-05-12 12:15:25.684168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:25] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:15:26.385627 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:15:26.412683 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:26] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:15:26] "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 12:18:01.167575+02:00 (in 119.993935 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:18:01 CEST)" (scheduled at 2024-05-12 12:16:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:18:01 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-12 12:19:17 CEST)" (scheduled at 2024-05-12 12:17:17.692862+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-12 12:20:17 CEST)" (scheduled at 2024-05-12 12:17:17.692862+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:19:17.692862+02:00 (in 119.913831 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:19:17 CEST)" executed successfully +INFO:root:2024-05-12 12:17:17.784008 : dimanche, 12. mai 2024 12:17:17 : 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 12:20:17 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\\partner_order.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-12 12:17:51.967143 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:17:51.967143 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:17:51.967143 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:17:51.967143 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:17:51.967143 : ++ 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-12 12:19:52.045387+02:00 (in 119.998163 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-12 12:20:01.167575+02:00 (in 119.992077 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:20:01 CEST)" (scheduled at 2024-05-12 12:18:01.167575+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-12 12:21:01 CEST)" (scheduled at 2024-05-12 12:18:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:20:01 CEST)" executed successfully +INFO:root:2024-05-12 12:18:01.179019 : dimanche, 12. mai 2024 12:18:01 : 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 12:21:01 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\\partner_order.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-12 12:19:41.322857 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:19:41.323860 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:19:41.323860 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:19:41.323860 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:19:41.323860 : ++ 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-12 12:21:41.391849+02:00 (in 119.998219 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-12 12:21:01.167575+02:00 (in 59.988361 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:22:01 CEST)" (scheduled at 2024-05-12 12:20:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:22:01 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:20:33.072914 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:20:33.072914 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:20:33.073948 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:20:33.073948 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:20:33.073948 : ++ 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-12 12:22:33.194547+02:00 (in 119.996458 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_order.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-12 12:20:51.217720 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:20:51.218239 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:20:51.218239 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:20:51.218239 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:20:51.218239 : ++ 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-12 12:22:51.275707+02:00 (in 119.998005 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-12 12:22:01.167575+02:00 (in 59.985181 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 12:24:01 CEST)" (scheduled at 2024-05-12 12:21:01.167575+02:00) +INFO:root:2024-05-12 12:21:01.191510 : dimanche, 12. mai 2024 12:21:01 : 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 12:24:01 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\\partner_order.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-12 12:21:29.157987 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:21:29.157987 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:21:29.157987 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:21:29.157987 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:21:29.159025 : ++ 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-12 12:23:29.214130+02:00 (in 119.998020 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_order.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-12 12:21:57.168273 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:21:57.168273 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:21:57.168273 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:21:57.168273 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:21:57.168273 : ++ 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-12 12:23:57.222651+02:00 (in 119.998119 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-12 12:24:01.167575+02:00 (in 119.870974 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:24:01 CEST)" (scheduled at 2024-05-12 12:22:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:24:01 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:23:10.198811 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:23:10.198811 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:23:10.198811 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:23:10.198811 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:23:10.198811 : ++ 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-12 12:25:10.251187+02:00 (in 119.996998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:23:23.182649 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.187022 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.189564 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.193855 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.197280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.202804 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.212701 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.220661 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.384986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.387008 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.391165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.397515 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.405265 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.407777 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.415976 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.435698 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.447793 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.452794 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.477684 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.484649 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.490086 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.515686 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.538362 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.559590 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:23.565095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:23.582164 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:23] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:25.491697 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:25.494654 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:25] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:25] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:31.581755 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:31] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:31.997118 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:32.010821 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:32] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:32.015213 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:32] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:32] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:40.118999 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:40] "POST /myclass/api/Get_Given_Line_Of_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:44.221517 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:44] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:44.478511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:44.490516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:44] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:44] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:56.948831 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:56.952271 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:56.955830 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:56.960330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:56.963533 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:56.968692 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-12 12:23:56.972095 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:56.977902 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:56] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.142897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.145454 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.147808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.152435 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.159034 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.165495 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.176488 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.192639 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.199637 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.208907 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.226133 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.236032 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.241076 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.265393 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.444546 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.463060 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:23:57.478903 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:23:57.493021 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:23:57] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:26:01.167575+02:00 (in 119.976454 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:26:01 CEST)" (scheduled at 2024-05-12 12:24:01.167575+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-12 12:27:01 CEST)" (scheduled at 2024-05-12 12:24:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:26:01 CEST)" executed successfully +INFO:root:2024-05-12 12:24:01.193881 : dimanche, 12. mai 2024 12:24:01 : 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 12:27:01 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-12 12:24:08.574233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:24:08.578233 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:24:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:24:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:25:10.121120 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:25:10.121120 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:25:10.121120 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:25:10.121120 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:25:10.121120 : ++ 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-12 12:27:10.183585+02:00 (in 119.997810 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:25:10.227523 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:10] "POST /myclass/api/Get_Given_Line_Of_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:10.950361 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:10] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:11.203156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:11.218462 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:11] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:11] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:29.827303 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:29] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:30.155695 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:30.159903 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:30.170759 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:30] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:30] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:37.177000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:37] "POST /myclass/api/Get_Given_Line_Of_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:43.576246 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:43] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:43.842387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:43.846960 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:43] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:43] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:48.449113 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:48] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:48.810077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:48.823584 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:25:48.826718 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:48] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:48] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:25:48] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:25:59.802742 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_18

\n


adresse01
code_postal01
ville01

\n

 

\n

 

\n

Devis n° Devis_18
Date Devis : 11/05/2024
 

\n

 Expiration : 09/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
Le tuteur de stage dans la formation en soins infirmiers27511502.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 HT1502.0 €
 TVATVA 20% €
 Total1802.4 €
\n

 

\n
\n
 
\n
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_56.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:27:01.167575+02:00 (in 59.995033 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:28:01 CEST)" (scheduled at 2024-05-12 12:26:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:28:01 CEST)" executed successfully +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:26:01] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:26:01.469576 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:26:01] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:26:56.047683 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:26:56.047683 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:26:56.047683 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:26:56.048687 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:26:56.048687 : ++ 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-12 12:28:56.100984+02:00 (in 119.999245 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_order.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-12 12:28:01.167575+02:00 (in 59.987527 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 12:30:01 CEST)" (scheduled at 2024-05-12 12:27:01.167575+02:00) +INFO:root:2024-05-12 12:27:01.191891 : dimanche, 12. mai 2024 12:27:01 : 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 12:30:01 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-12 12:27:10.219410 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:27:10.219410 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:27:10.220417 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:27:10.220417 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:27:10.220417 : ++ 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-12 12:29:10.271768+02:00 (in 119.997541 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-12 12:30:01.167575+02:00 (in 119.988665 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:30:01 CEST)" (scheduled at 2024-05-12 12:28:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:30:01 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:29:10.845705 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:29:10.845705 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:29:10.847187 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:29:10.847187 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:29:10.847187 : ++ 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-12 12:31:10.903386+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\\partner_order.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-12 12:32:01.167575+02:00 (in 119.998277 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:32:01 CEST)" (scheduled at 2024-05-12 12:30:01.167575+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-12 12:33:01 CEST)" (scheduled at 2024-05-12 12:30:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:32:01 CEST)" executed successfully +INFO:root:2024-05-12 12:30:01.172092 : dimanche, 12. mai 2024 12:30:01 : 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 12:33:01 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-12 12:30:05.106559 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:30:05.106559 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:30:05.106559 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:30:05.107559 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:30:05.107559 : ++ 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-12 12:32:05.164538+02:00 (in 119.997951 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:30:30.228615 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.231622 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.234696 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.238696 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.243183 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.250052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.257244 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.264348 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.427402 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.430100 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.433165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.440018 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.443872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.452441 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.455433 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.475703 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.481709 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.485487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.506137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.509665 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.516377 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.545680 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.549210 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:30.571374 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.578093 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:30.586124 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:31.956367 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:30:31.958400 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:31] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:31] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:40.538359 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_18

\n


adresse01
code_postal01
ville01

\n

 

\n

 

\n

Devis n° Devis_18
Date Devis : 11/05/2024
 

\n

 Expiration : 09/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
Le tuteur de stage dans la formation en soins infirmiers27511502.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 HT1502.0 €
 TVATVA 20% €
 Total1802.4 €
\n

 

\n
\n
 
\n
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_89.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:41] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:30:41.228763 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:30:41] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:33:01.167575+02:00 (in 59.988044 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:34:01 CEST)" (scheduled at 2024-05-12 12:32:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:34:01 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-12 12:32:05 CEST)" (scheduled at 2024-05-12 12:32:05.164538+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:33:05.164538+02:00 (in 59.999300 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:34:05 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:34:01.167575+02:00 (in 59.995540 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 12:36:01 CEST)" (scheduled at 2024-05-12 12:33:01.167575+02:00) +INFO:root:2024-05-12 12:33:01.180253 : dimanche, 12. mai 2024 12:33:01 : 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 12:36:01 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-12 12:34:05.164538+02:00 (in 59.996792 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 12:36:05 CEST)" (scheduled at 2024-05-12 12:33:05.164538+02:00) +INFO:root:2024-05-12 12:33:05.170749 : dimanche, 12. mai 2024 12:33:05 : 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 12:36:05 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-12 12:36:01.167575+02:00 (in 119.986721 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:36:01 CEST)" (scheduled at 2024-05-12 12:34:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:36:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:36:05.164538+02:00 (in 119.998839 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:36:05 CEST)" (scheduled at 2024-05-12 12:34:05.164538+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:36:05 CEST)" executed successfully +INFO:root:2024-05-12 12:34:44.871908 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:34:44] "POST /myclass/api/Insert_Quotation_To_Session/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:34:45.046554 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:34:45.048567 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:34:45.059479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:34:45.066201 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:34:45] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:34:45] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:34:45] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:34:45] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:38:01.167575+02:00 (in 119.992726 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:38:01 CEST)" (scheduled at 2024-05-12 12:36:01.167575+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-12 12:39:01 CEST)" (scheduled at 2024-05-12 12:36:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:38:01 CEST)" executed successfully +INFO:root:2024-05-12 12:36:01.184823 : dimanche, 12. mai 2024 12:36:01 : 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 12:39:01 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:38:05 CEST)" (scheduled at 2024-05-12 12:36:05.164538+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-12 12:36:05 CEST)" (scheduled at 2024-05-12 12:36:05.164538+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:38:05.164538+02:00 (in 119.987749 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:38:05 CEST)" executed successfully +INFO:root:2024-05-12 12:36:05.178844 : dimanche, 12. mai 2024 12:36:05 : 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 12:39:05 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-12 12:39:01.167575+02:00 (in 59.986583 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:40:01 CEST)" (scheduled at 2024-05-12 12:38:01.167575+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:40:01 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:39:05.164538+02:00 (in 59.985852 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:40:05 CEST)" (scheduled at 2024-05-12 12:38:05.164538+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:40:05 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:40:01.167575+02:00 (in 59.995422 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 12:42:01 CEST)" (scheduled at 2024-05-12 12:39:01.167575+02:00) +INFO:root:2024-05-12 12:39:01.174152 : dimanche, 12. mai 2024 12:39:01 : 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 12:42:01 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: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-12 12:42:53.699833 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:42:53.699833 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:42:53.699833 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:42:53.699833 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:42:53.699833 : ++ 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-12 12:44:53.751933+02:00 (in 119.997396 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-12 12:43:02.673458 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:43:02.674463 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:43:02.674463 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:43:02.674463 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:43:02.674463 : ++ 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-12 12:45:02.735156+02:00 (in 119.997995 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\\GlobalVariable.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-12 12:44:31.240486 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:44:31.240486 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:44:31.240486 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:44:31.240486 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:44:31.240486 : ++ 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-12 12:46:31.544092+02:00 (in 119.996726 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:44:31.595808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.600147 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.604204 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.609280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.614339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.619346 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.626963 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-12 12:44:31.628376 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.633715 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.644193 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.657241 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.661240 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.671034 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.680168 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.684169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.691572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.704813 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.719175 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.735087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.749098 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.754087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.769854 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.785282 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.812209 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:31.815879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:31.833000 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:34.266616 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:34.269143 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:34] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:34] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:37.554129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:37.557810 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:37] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:37] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:44:42.073533 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:44:42.076528 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:42] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:44:42] "POST /myclass/api/Get_Given_Partner_Order/ 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-12 12:44:53 CEST)" (scheduled at 2024-05-12 12:44:53.751933+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:45:53.751933+02:00 (in 59.986878 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:46:53 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:46:53.751933+02:00 (in 59.983683 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 12:48:53 CEST)" (scheduled at 2024-05-12 12:45:53.751933+02:00) +INFO:root:2024-05-12 12:45:53.785807 : dimanche, 12. mai 2024 12:45:53 : 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 12:48:53 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:46:31 CEST)" (scheduled at 2024-05-12 12:46:31.544092+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:47:31.544092+02:00 (in 59.989920 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:48:31 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:48:53.751933+02:00 (in 119.990175 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:48:53 CEST)" (scheduled at 2024-05-12 12:46:53.751933+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:48:53 CEST)" executed successfully +INFO:root:2024-05-12 12:47:00.487404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:47:00.491339 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:47:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:47:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:47:12.270840 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:47:12.274397 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:47:12] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:47:12] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:47:14.967952 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:47:15.602118 : Add_Partner_Order Le champ 'nb_relance_auto' n'est pas autorisé +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:47:15] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:48:31.544092+02:00 (in 59.987047 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 12:50:31 CEST)" (scheduled at 2024-05-12 12:47:31.544092+02:00) +INFO:root:2024-05-12 12:47:31.559042 : dimanche, 12. mai 2024 12:47:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 12:50:31 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 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\\partner_order.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-12 12:48:27.041990 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:48:27.041990 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:48:27.041990 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:48:27.041990 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:48:27.041990 : ++ 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-12 12:50:27.103528+02:00 (in 119.996999 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-12 12:50:53 CEST)" (scheduled at 2024-05-12 12:48:53.751933+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-12 12:48:53 CEST)" (scheduled at 2024-05-12 12:48:53.751933+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:50:53 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:50:53.751933+02:00 (in 119.986339 seconds) +INFO:root:2024-05-12 12:48:53.768302 : dimanche, 12. mai 2024 12:48:53 : 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 12:51:53 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\\partner_order.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-12 12:52:18.948304 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:52:18.948304 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:52:18.948304 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:52:18.948304 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:52:18.948304 : ++ 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-12 12:54:19.027900+02:00 (in 119.988990 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-12 12:52:28.329748 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:52:28.329748 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:52:28.329748 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:52:28.329748 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:52:28.329748 : ++ 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-12 12:54:28.382404+02:00 (in 119.997144 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:52:28.420829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:52:28.854827 : Add_Partner_Order Le champ 'nb_relance_auto' n'est pas autorisé +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:52:28] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:53:22.501297 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:53:22.501297 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:53:22.502298 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:53:22.502298 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:53:22.502298 : ++ 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-12 12:55:22.556357+02:00 (in 119.998079 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:53:22.594751 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:53:23.080368 : Add_Partner_Order Le champ 'nb_relance_auto' n'est pas autorisé +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:53:23] "POST /myclass/api/Convert_Quotation_to_Order/ 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-12 12:54:19 CEST)" (scheduled at 2024-05-12 12:54:19.027900+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:55:19.027900+02:00 (in 59.981608 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:56:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:56:19.027900+02:00 (in 59.990747 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 12:58:19 CEST)" (scheduled at 2024-05-12 12:55:19.027900+02:00) +INFO:root:2024-05-12 12:55:19.054306 : dimanche, 12. mai 2024 12:55:19 : 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 12:58:19 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:55:22 CEST)" (scheduled at 2024-05-12 12:55:22.556357+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 12:56:22.555319+02:00 (in 59.984901 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:57:22 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:56:08.858783 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:56:08.858783 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:56:08.859784 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:56:08.859784 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:56:08.859784 : ++ 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-12 12:58:08.910957+02:00 (in 119.998450 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-12 12:58:19.027900+02:00 (in 119.999116 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:58:19 CEST)" (scheduled at 2024-05-12 12:56:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:58:19 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:57:40.946842 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:57:40.946842 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:57:40.947837 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:57:40.947837 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:57:40.947837 : ++ 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-12 12:59:41.001308+02:00 (in 119.998162 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_order.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-12 12:58:10.175274 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:58:10.176271 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:58:10.176271 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:58:10.176271 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:58:10.176271 : ++ 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-12 13:00:10.242641+02:00 (in 119.997999 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 "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 13:01:19 CEST)" (scheduled at 2024-05-12 12:58:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:58:19 CEST)" (scheduled at 2024-05-12 12:58:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 12:58:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:00:19.027900+02:00 (in 119.988621 seconds) +INFO:root:2024-05-12 12:58:19.042042 : dimanche, 12. mai 2024 12:58:19 : 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 13:01:19 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-12 12:58:28.869235 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:29.403094 : Add_Update_Partner_Order_Line Le champ 'update_by' n'existe pas +INFO:root:2024-05-12 12:58:29.404338 : Convert_Quotation_to_Order Le devis Devis_18 a été correctement convertie en commande avec le numero : Order_81 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:29] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:58:29.410664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:29.413759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:29.417586 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:29.428716 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:29] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:29] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:58:34.664508 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:34.668060 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:34] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:34] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:58:40.556516 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:58:40.560523 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:40] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:40] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:58:46.838211 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:46] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:58:47.193649 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:58:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 12:59:55.373045 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 12:59:55.374049 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 12:59:55.374049 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 12:59:55.374049 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 12:59:55.374049 : ++ 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-12 13:01:55.426625+02:00 (in 119.997998 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 12:59:55.464633 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:59:55.468660 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:55] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:55] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:59:57.346800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:59:58.046290 : Add_Update_Partner_Order_Line Le champ 'update_by' n'existe pas +INFO:root:2024-05-12 12:59:58.048288 : Convert_Quotation_to_Order Le devis Devis_18 a été correctement convertie en commande avec le numero : Order_82 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:58] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 12:59:58.056553 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:59:58.059626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:59:58.073116 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 12:59:58.080687 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:58] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:58] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 12:59:58] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:00.830056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:00.832600 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:01:19.027900+02:00 (in 59.982433 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:02:19 CEST)" (scheduled at 2024-05-12 13:00:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:02:19 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 13:00:38.122680 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:00:38.122680 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:00:38.123678 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:00:38.123678 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:00:38.123678 : ++ 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-12 13:02:38.180178+02:00 (in 119.998790 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 13:00:38.216798 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:38] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:38.267967 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:38] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:41.639723 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:41.643589 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:41] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:41] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:46.916297 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:47.923074 : Convert_Quotation_to_Order Le devis Devis_18 a été correctement convertie en commande avec le numero : Order_83 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:47] "POST /myclass/api/Convert_Quotation_to_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:47.932500 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:47.937511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:47.944035 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:47.965540 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:48] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:48] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:48] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:48] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:50.822827 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:00:50.825833 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:00:59.748777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:00:59] "POST /myclass/api/Get_Given_Line_Of_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:01:10.017033 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:01:10.020029 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:10] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:10] "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 13:02:19.027900+02:00 (in 59.987120 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 13:04:19 CEST)" (scheduled at 2024-05-12 13:01:19.027900+02:00) +INFO:root:2024-05-12 13:01:19.042768 : dimanche, 12. mai 2024 01:01:19 : 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 13:04:19 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-12 13:01:23.635459 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:01:23.638479 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:23] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:23] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:01:25.665278 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:01:25.668310 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:25] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:01:25] "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 13:04:19.027900+02:00 (in 119.987623 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:04:19 CEST)" (scheduled at 2024-05-12 13:02:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:04:19 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-12 13:02:38 CEST)" (scheduled at 2024-05-12 13:02:38.180178+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:03:38.180178+02:00 (in 59.984956 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:04:38 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:04:38.180178+02:00 (in 59.988580 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 13:06:38 CEST)" (scheduled at 2024-05-12 13:03:38.180178+02:00) +INFO:root:2024-05-12 13:03:38.193617 : dimanche, 12. mai 2024 01:03:38 : 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 13:06:38 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-12 13:03:39.091383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:03:39.095828 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:03:39.098841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:03:39.105378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:03:39.108370 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:03:39.119115 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:03:39.122624 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:03:39.143655 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:03:39.149949 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:03:39] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:06:19.027900+02:00 (in 119.991657 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 13:07:19 CEST)" (scheduled at 2024-05-12 13:04:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:06:19 CEST)" (scheduled at 2024-05-12 13:04:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:06:19 CEST)" executed successfully +INFO:root:2024-05-12 13:04:19.039202 : dimanche, 12. mai 2024 01:04:19 : 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 13:07:19 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-12 13:06:38.180178+02:00 (in 119.991645 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:06:38 CEST)" (scheduled at 2024-05-12 13:04:38.180178+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:06:38 CEST)" executed successfully +INFO:root:2024-05-12 13:05:29.263727 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.267685 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.268742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.275191 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.280221 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.284231 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.286500 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.295053 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.519479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.523757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.525772 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.531773 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.538793 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.543797 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.551860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.574168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.586572 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.592309 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.615458 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.620041 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.625929 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.643648 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.670582 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:29.839014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.869853 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:29.882113 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:29] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:30.477644 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:30.481521 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:30.484525 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:30.489818 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:30.494011 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:30.502183 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:30.506699 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:30.525705 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:30.538354 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:30] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:31.960650 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:31.963758 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:31] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:31] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:05:39.098069 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:05:39.101091 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:39] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:05:39] "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 13:07:19.027900+02:00 (in 59.990126 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:08:19 CEST)" (scheduled at 2024-05-12 13:06:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:08:19 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-12 13:09:38 CEST)" (scheduled at 2024-05-12 13:06:38.180178+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:06:38 CEST)" (scheduled at 2024-05-12 13:06:38.180178+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:08:38.180178+02:00 (in 119.991502 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:08:38 CEST)" executed successfully +INFO:root:2024-05-12 13:06:38.191189 : dimanche, 12. mai 2024 01:06:38 : 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 13:09:38 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\\partner_order.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-12 13:07:14.274844 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:07:14.274844 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:07:14.274844 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:07:14.274844 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:07:14.274844 : ++ 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-12 13:09:14.346092+02:00 (in 119.997006 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-12 13:08:19.027900+02:00 (in 59.988856 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 13:10:19 CEST)" (scheduled at 2024-05-12 13:07:19.027900+02:00) +INFO:root:2024-05-12 13:07:19.042049 : dimanche, 12. mai 2024 01:07:19 : 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 13:10:19 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\\partner_order.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-12 13:10:19.027900+02:00 (in 119.992486 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:10:19 CEST)" (scheduled at 2024-05-12 13:08:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:10:19 CEST)" executed successfully +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-12 13:08:31.907340 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:08:31.907340 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:08:31.907340 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:08:31.907340 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:08:31.907340 : ++ 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-12 13:10:31.961724+02:00 (in 119.997953 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_order.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-12 13:09:27.185039 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:09:27.185039 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:09:27.185039 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:09:27.185039 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:09:27.185039 : ++ 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-12 13:11:27.241453+02:00 (in 119.998021 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_order.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-12 13:10:00.528403 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:10:00.528403 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:10:00.528403 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:10:00.529405 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:10:00.529405 : ++ 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-12 13:12:00.582612+02:00 (in 119.997895 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_order.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-12 13:12:19.027900+02:00 (in 119.988337 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 13:13:19 CEST)" (scheduled at 2024-05-12 13:10:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:12:19 CEST)" (scheduled at 2024-05-12 13:10:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:12:19 CEST)" executed successfully +INFO:root:2024-05-12 13:10:19.042550 : dimanche, 12. mai 2024 01:10:19 : 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 13:13:19 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-12 13:10:22.769089 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:10:22.770082 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:10:22.770082 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:10:22.770082 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:10:22.770082 : ++ 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-12 13:12:22.872680+02:00 (in 119.997003 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_order.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-12 13:11:15.830485 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:11:15.831483 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:11:15.831483 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:11:15.831483 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:11:15.831483 : ++ 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-12 13:13:15.991798+02:00 (in 119.994002 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_order.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-12 13:11:56.639978 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:11:56.639978 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:11:56.639978 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:11:56.639978 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:11:56.639978 : ++ 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-12 13:13:57.073658+02:00 (in 119.997900 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_order.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-12 13:13:19.027900+02:00 (in 59.988096 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:14:19 CEST)" (scheduled at 2024-05-12 13:12:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:14:19 CEST)" executed successfully +INFO:root:2024-05-12 13:12:21.979994 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:12:21.979994 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:12:21.979994 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:12:21.979994 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:12:21.979994 : ++ 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-12 13:14:22.034373+02:00 (in 119.998222 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_order.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-12 13:12:44.123387 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:12:44.123387 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:12:44.123387 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:12:44.123387 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:12:44.123387 : ++ 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-12 13:14:44.180721+02:00 (in 119.998019 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-12 13:14:19.027900+02:00 (in 59.994915 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 13:16:19 CEST)" (scheduled at 2024-05-12 13:13:19.027900+02:00) +INFO:root:2024-05-12 13:13:19.034200 : dimanche, 12. mai 2024 01:13:19 : 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 13:16:19 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-12 13:13:46.164182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:46.166620 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:46] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:46] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.004366 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.007998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.011584 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.016721 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.020917 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.025107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.026113 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.038398 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.206653 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.208656 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.212654 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.217804 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.222242 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.229795 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.235044 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.248475 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.265338 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.274884 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.291883 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.304305 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.312315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.330260 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.338292 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.359827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:54.374687 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:54.381340 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:54] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:13:57.623708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:13:57.627709 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:57] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:13:57] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:14:09.475680 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:14:10.059467 : Update_Partner_Quotation_Header - Le champ 'Statut' est invalide. Les valeurs acceptées ['-1', '0', '1', '2'] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:14:10] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:16:19.027900+02:00 (in 119.988942 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:16:19 CEST)" (scheduled at 2024-05-12 13:14:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:16:19 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\GlobalVariable.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-12 13:14:41.267881 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 13:14:41.267881 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 13:14:41.267881 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 13:14:41.267881 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 13:14:41.267881 : ++ 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-12 13:16:41.323366+02:00 (in 119.997779 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 13:14:41.362821 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:14:41] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:14:41.420676 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:14:41.423511 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:14:41.428422 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:14:41] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:14:41] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:14:41] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:18:19.027900+02:00 (in 119.989707 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 13:19:19 CEST)" (scheduled at 2024-05-12 13:16:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:18:19 CEST)" (scheduled at 2024-05-12 13:16:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:18:19 CEST)" executed successfully +INFO:root:2024-05-12 13:16:19.041203 : dimanche, 12. mai 2024 01:16:19 : 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 13:19:19 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-12 13:16:36.410526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:36.412837 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:36.417068 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:36.420558 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:36.427298 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:36.430413 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:36.436942 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:36.461343 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:36.470315 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:36] "POST /myclass/api/GetAllValideSessionPartner_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-12 13:16:41 CEST)" (scheduled at 2024-05-12 13:16:41.323366+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:17:41.323366+02:00 (in 59.985799 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:18:41 CEST)" executed successfully +INFO:root:2024-05-12 13:16:44.456375 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.459386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.463421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.468711 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.471244 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.476237 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-12 13:16:44.478503 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.489626 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.658814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.662156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.665914 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.672169 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.677610 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.683484 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.690482 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.703273 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.719434 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.723456 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.739344 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.748057 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.753053 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.775867 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.784876 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:16:44.816452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.824122 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:16:44.825126 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:16:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:18:41.323366+02:00 (in 59.989389 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 13:20:41 CEST)" (scheduled at 2024-05-12 13:17:41.323366+02:00) +INFO:root:2024-05-12 13:17:41.335950 : dimanche, 12. mai 2024 01:17:41 : 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 13:20:41 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-12 13:17:55.497758 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:17:55.500841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:17:55.504055 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:17:55.510829 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:17:55.520505 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:17:55.525715 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:17:55.531749 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:17:55.559669 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:17:55.570348 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:17:55] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:18:04.017316 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.020319 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.024184 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.027425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.033165 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:18:04.042707 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.046720 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:18:04.068151 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:18:04.073720 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:18:04] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:19:19.027900+02:00 (in 59.988610 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:20:19 CEST)" (scheduled at 2024-05-12 13:18:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:20:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:20:41.323366+02:00 (in 119.998220 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:20:41 CEST)" (scheduled at 2024-05-12 13:18:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:20:41 CEST)" executed successfully +INFO:root:2024-05-12 13:19:06.658029 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:19:06.662031 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:19:06.666027 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:19:06.672030 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:19:06.678044 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:19:06.685029 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:19:06.690030 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:19:06.707235 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:19:06.715414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:19:06] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:20:19.027900+02:00 (in 59.990307 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 13:22:19 CEST)" (scheduled at 2024-05-12 13:19:19.027900+02:00) +INFO:root:2024-05-12 13:19:19.039595 : dimanche, 12. mai 2024 01:19:19 : 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 13:22:19 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-12 13:22:19.027900+02:00 (in 119.996435 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:22:19 CEST)" (scheduled at 2024-05-12 13:20:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:22:19 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-12 13:23:41 CEST)" (scheduled at 2024-05-12 13:20:41.323366+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:20:41 CEST)" (scheduled at 2024-05-12 13:20:41.323366+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:22:41.323366+02:00 (in 119.998063 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:22:41 CEST)" executed successfully +INFO:root:2024-05-12 13:20:41.328392 : dimanche, 12. mai 2024 01:20:41 : 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 13:23:41 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-12 13:24:19.027900+02:00 (in 119.997782 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 13:25:19 CEST)" (scheduled at 2024-05-12 13:22:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:24:19 CEST)" (scheduled at 2024-05-12 13:22:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:24:19 CEST)" executed successfully +INFO:root:2024-05-12 13:22:19.032280 : dimanche, 12. mai 2024 01:22:19 : 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 13:25:19 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-12 13:23:41.323366+02:00 (in 59.988570 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:24:41 CEST)" (scheduled at 2024-05-12 13:22:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:24:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:24:41.323366+02:00 (in 59.988311 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 13:26:41 CEST)" (scheduled at 2024-05-12 13:23:41.323366+02:00) +INFO:root:2024-05-12 13:23:41.336581 : dimanche, 12. mai 2024 01:23:41 : 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 13:26:41 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-12 13:25:19.027900+02:00 (in 59.986800 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:26:19 CEST)" (scheduled at 2024-05-12 13:24:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:26:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:26:41.323366+02:00 (in 119.993626 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:26:41 CEST)" (scheduled at 2024-05-12 13:24:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:26:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:26:19.027900+02:00 (in 59.989480 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 13:28:19 CEST)" (scheduled at 2024-05-12 13:25:19.027900+02:00) +INFO:root:2024-05-12 13:25:19.041142 : dimanche, 12. mai 2024 01:25:19 : 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 13:28:19 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-12 13:28:19.027900+02:00 (in 119.991665 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:28:19 CEST)" (scheduled at 2024-05-12 13:26:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:28:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:28:41.323366+02:00 (in 119.996404 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 13:29:41 CEST)" (scheduled at 2024-05-12 13:26:41.323366+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:28:41 CEST)" (scheduled at 2024-05-12 13:26:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:28:41 CEST)" executed successfully +INFO:root:2024-05-12 13:26:41.328938 : dimanche, 12. mai 2024 01:26:41 : 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 13:29:41 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-12 13:30:19.027900+02:00 (in 119.989124 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 13:31:19 CEST)" (scheduled at 2024-05-12 13:28:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:30:19 CEST)" (scheduled at 2024-05-12 13:28:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:30:19 CEST)" executed successfully +INFO:root:2024-05-12 13:28:19.043281 : dimanche, 12. mai 2024 01:28:19 : 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 13:31:19 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-12 13:29:41.323366+02:00 (in 59.995668 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:30:41 CEST)" (scheduled at 2024-05-12 13:28:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:30:41 CEST)" executed successfully +INFO:root:2024-05-12 13:29:24.542955 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:29:24.547333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:29:24.552628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:29:24.558128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:29:24.564239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:29:24.570359 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:29:24.579616 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 13:29:24.589511 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 13:29:24.607470 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 13:29:24] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:30:41.323366+02:00 (in 59.994801 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 13:32:41 CEST)" (scheduled at 2024-05-12 13:29:41.323366+02:00) +INFO:root:2024-05-12 13:29:41.330570 : dimanche, 12. mai 2024 01:29:41 : 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 13:32:41 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-12 13:31:19.027900+02:00 (in 59.992330 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:32:19 CEST)" (scheduled at 2024-05-12 13:30:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:32:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:32:41.323366+02:00 (in 119.995667 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:32:41 CEST)" (scheduled at 2024-05-12 13:30:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:32:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:32:19.027900+02:00 (in 59.995219 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 13:34:19 CEST)" (scheduled at 2024-05-12 13:31:19.027900+02:00) +INFO:root:2024-05-12 13:31:19.040896 : dimanche, 12. mai 2024 01:31:19 : 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 13:34:19 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-12 13:34:19.027900+02:00 (in 119.991424 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:34:19 CEST)" (scheduled at 2024-05-12 13:32:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:34:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:34:41.323366+02:00 (in 119.998944 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 13:35:41 CEST)" (scheduled at 2024-05-12 13:32:41.323366+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:34:41 CEST)" (scheduled at 2024-05-12 13:32:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:34:41 CEST)" executed successfully +INFO:root:2024-05-12 13:32:41.327394 : dimanche, 12. mai 2024 01:32:41 : 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 13:35:41 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-12 13:36:19.027900+02:00 (in 119.993635 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 13:37:19 CEST)" (scheduled at 2024-05-12 13:34:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:36:19 CEST)" (scheduled at 2024-05-12 13:34:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:36:19 CEST)" executed successfully +INFO:root:2024-05-12 13:34:19.042921 : dimanche, 12. mai 2024 01:34:19 : 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 13:37:19 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-12 13:35:41.323366+02:00 (in 59.995766 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:36:41 CEST)" (scheduled at 2024-05-12 13:34:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:36:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:36:41.323366+02:00 (in 59.999715 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 13:38:41 CEST)" (scheduled at 2024-05-12 13:35:41.323366+02:00) +INFO:root:2024-05-12 13:35:41.326145 : dimanche, 12. mai 2024 01:35:41 : 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 13:38:41 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-12 13:37:19.027900+02:00 (in 59.996037 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:38:19 CEST)" (scheduled at 2024-05-12 13:36:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:38:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:38:41.323366+02:00 (in 119.989065 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:38:41 CEST)" (scheduled at 2024-05-12 13:36:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:38:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:38:19.027900+02:00 (in 59.992401 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 13:40:19 CEST)" (scheduled at 2024-05-12 13:37:19.027900+02:00) +INFO:root:2024-05-12 13:37:19.036961 : dimanche, 12. mai 2024 01:37:19 : 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 13:40:19 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-12 13:40:19.027900+02:00 (in 119.065922 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:40:19 CEST)" (scheduled at 2024-05-12 13:38:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:40:19 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 13:40:41.323366+02:00 (in 119.057828 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 13:41:41 CEST)" (scheduled at 2024-05-12 13:38:41.323366+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:40:41 CEST)" (scheduled at 2024-05-12 13:38:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 13:40:41 CEST)" executed successfully +INFO:root:2024-05-12 13:38:42.267539 : dimanche, 12. mai 2024 01:38:42 : 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 13:41:41 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 +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 14:22:19 CEST)" was missed by 0:02:13.417970 +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 14:22:19.027900+02:00 (in 46.600269 seconds) +WARNING:apscheduler.executors.default:Run time of job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:22:19 CEST)" was missed by 0:01:13.419065 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 14:22:41.323366+02:00 (in 46.591258 seconds) +WARNING:apscheduler.executors.default:Run time of job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:22:41 CEST)" was missed by 0:01:13.409755 +WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 14:23:41 CEST)" was missed by 0:01:13.410740 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 14:24:19.027900+02:00 (in 119.977836 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 14:25:19 CEST)" (scheduled at 2024-05-12 14:22:19.027900+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:24:19 CEST)" (scheduled at 2024-05-12 14:22:19.027900+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:24:19 CEST)" executed successfully +INFO:root:2024-05-12 14:22:19.063357 : dimanche, 12. mai 2024 02:22:19 : 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 14:25:19 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-12 14:23:41.323366+02:00 (in 59.965275 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:24:41 CEST)" (scheduled at 2024-05-12 14:22:41.323366+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 14:24:41 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 14:24:41.323366+02:00 (in 59.984240 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 14:26:41 CEST)" (scheduled at 2024-05-12 14:23:41.323366+02:00) +INFO:root:2024-05-12 14:23:41.359015 : dimanche, 12. mai 2024 02:23:41 : 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 14:26:41 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-12 15:51:33.776684 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 15:51:33.776684 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 15:51:33.776684 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 15:51:33.776684 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 15:51:33.778085 : ++ 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-12 15:53:33.865950+02:00 (in 119.997000 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-12 15:51:46.993004 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 15:51:46.994002 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 15:51:46.994002 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 15:51:46.994002 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 15:51:46.994002 : ++ 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-12 15:53:47.077101+02:00 (in 119.998007 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 15:52:35.015275 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.017271 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.019466 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.022001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.025018 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.030125 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:35.705617 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:35.735227 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:35.744393 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:35.744393 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:35] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.137425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.139424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.143426 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.152443 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.155689 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.161694 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.168280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.173279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.183841 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.189836 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.194255 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.204606 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.207274 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.214044 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.225195 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.230434 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.236793 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.243160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.247977 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.253836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.262189 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.267281 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.273101 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.276274 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.287386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.292212 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.296132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.303573 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.309946 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.316354 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.319874 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.324966 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.333599 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.337426 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.341926 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.347559 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.355183 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.358688 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.365231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.372231 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.380772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.388218 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.394327 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.400418 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.406912 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.413890 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.418411 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.424362 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.434728 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.439903 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.443107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.449736 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.457089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.464521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.472047 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.477554 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.481179 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:36.483613 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.491860 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:36.499301 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:39.846541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:39] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.098445 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.103456 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.115628 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.124201 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.133288 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.142287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.152856 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.168675 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.181180 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.189788 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.360045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.365712 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.372336 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.382264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.394153 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.407085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:40.421066 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.454399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.465218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:40.477938 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:40] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:42.887097 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:42.911196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:42] "POST /myclass/api/Get_Partner_Group_Purchase_Price_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:42] "POST /myclass/api/Get_Partner_Group_Purchase_Price_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.560497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.566821 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.576001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.586066 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.598066 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.612226 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.625973 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.642467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.666094 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.679118 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.692149 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.713195 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.738055 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.748785 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.768304 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.788434 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:47.814888 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:47.845601 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:47] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:48] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:48] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:52:50.379245 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:52:50.383505 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:50] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:52:50] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:53:00.432772 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:00] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:53:00.901444 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:53:00.906030 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:53:00.912129 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:00] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:00] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:53:12.199234 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:53:12.204572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:12] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:12] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:53:31.874367 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:53:31] "GET /myclass/api/Global_MySy_Cron_Traitement/ 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-12 15:53:33 CEST)" (scheduled at 2024-05-12 15:53:33.865950+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:54:33.864951+02:00 (in 59.991914 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:55:33 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-12 15:53:47 CEST)" (scheduled at 2024-05-12 15:53:47.077101+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:54:47.077101+02:00 (in 59.997340 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:55:47 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:55:33.865950+02:00 (in 59.996864 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 15:57:33 CEST)" (scheduled at 2024-05-12 15:54:33.864951+02:00) +INFO:root:2024-05-12 15:54:33.887789 : dimanche, 12. mai 2024 03:54:33 : 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 15:57:33 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-12 15:55:47.077101+02:00 (in 59.996683 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 15:57:47 CEST)" (scheduled at 2024-05-12 15:54:47.077101+02:00) +INFO:root:2024-05-12 15:54:47.084437 : dimanche, 12. mai 2024 03:54:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 15:57:47 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 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-12 15:54:55.831961 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:55.836320 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:55.843540 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:55.848279 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:55.854899 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:55.857048 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:55.872884 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:55.879614 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.107632 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.112331 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.116231 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.121271 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.133480 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.142476 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.154104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.170267 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.177678 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.183670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.196677 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.214932 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.224763 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.232640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.258634 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.263537 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:54:56.274376 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:54:56.283476 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:54:56] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:01.266387 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:01.272218 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:01] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:04.134280 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:04] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.465451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.471027 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.478541 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.485390 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.493814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.501612 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.501612 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.520713 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.800783 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.805048 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.809522 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.816943 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.823890 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.834872 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.840972 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.867252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.875161 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.880545 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.883561 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.914313 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.923456 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.932740 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.939743 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.964657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:22] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:22.979631 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:22.984150 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:23] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:23] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:23] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:23] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:27.298956 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:27.324484 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:30.466709 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:30.474348 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:30.484467 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:30.493854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:30.503101 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:30.529940 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:30.538554 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:30.550626 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:55:30.562893 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_List_Entity_Contact/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:55:30.576775 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "POST /myclass/api/Get_List_object_owner_collection_Stored_Files/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:55:30] "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-12 15:57:33.864951+02:00 (in 119.997244 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:33 CEST)" (scheduled at 2024-05-12 15:55:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:57:47.077101+02:00 (in 119.983364 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:47 CEST)" (scheduled at 2024-05-12 15:55:47.077101+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:47 CEST)" executed successfully +INFO:root:2024-05-12 15:56:20.460637 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:20] "POST /myclass/api/Update_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:27.509430 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:56:27.515462 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:56:27.523451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:56:27.531488 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:27] "POST /myclass/api/Get_List_Entity_Activite/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:27] "POST /myclass/api/Get_List_Entity_Activite/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:37.291595 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:37] "POST /myclass/api/Add_activite/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:37.369375 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:37] "POST /myclass/api/Get_List_Entity_Activite/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:42.454632 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:56:42.461080 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:42] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:42] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:44.446916 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:44] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:55.017833 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:56:55.024424 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:55] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:55] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:56:57.046532 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:56:57] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:06.740759 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:06.746523 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:06.752182 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:06.760573 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:06.767590 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:06.777287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:06.779282 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:06.794636 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:06] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.156744 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.163574 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.171116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.183221 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.193233 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.202220 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.211919 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.224789 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.230795 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.249254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.257077 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.281597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.286157 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:07.300054 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.313181 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.330108 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.341401 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:07.351381 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:07] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:09.440619 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:09.444833 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:09] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:09] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:11.647045 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:11] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:25.927305 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:25] "POST /myclass/api/Add_Partner_Quotation/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:26.208670 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:26] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:29.639077 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:29.645279 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:29] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:29] "POST /myclass/api/Get_Given_Partner_Order/ 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-12 16:00:33 CEST)" (scheduled at 2024-05-12 15:57:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:33 CEST)" (scheduled at 2024-05-12 15:57:33.865950+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:59:33.865950+02:00 (in 119.994245 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:59:33 CEST)" executed successfully +INFO:root:2024-05-12 15:57:33.874397 : dimanche, 12. mai 2024 03:57:33 : 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 16:00:33 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-12 15:57:42.834172 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:43] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:45.768332 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:45] "POST /myclass/api/get_Class_From_Internal_Url/ 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-12 16:00:47 CEST)" (scheduled at 2024-05-12 15:57:47.077101+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:47 CEST)" (scheduled at 2024-05-12 15:57:47.077101+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 15:57:47 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 15:59:47.077101+02:00 (in 119.985834 seconds) +INFO:root:2024-05-12 15:57:47.095313 : dimanche, 12. mai 2024 03:57:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 16:00:47 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 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-12 15:57:52.972695 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:53] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:57:53.423435 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:57:53.428919 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:53] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:57:53] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:58:37.016017 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:58: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: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-12 15:59:17.384679 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 15:59:17.385680 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 15:59:17.385680 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 15:59:17.385680 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 15:59:17.385680 : ++ 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-12 16:01:17.497621+02:00 (in 119.995671 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 15:59:17.572044 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:17] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:59:17.633315 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:59:17.646724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:59:17.666200 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:17] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:17] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:17] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:59:28.820275 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:28] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:00:33.864951+02:00 (in 59.988489 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:01:33 CEST)" (scheduled at 2024-05-12 15:59:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:01:33 CEST)" executed successfully +INFO:root:2024-05-12 15:59:45.611830 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:59:46.668697 : Update_Partner_Quotation_Header -'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - Line : 1804 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:46] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 15:59:53.061079 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 15:59:53.091808 : Update_Partner_Quotation_Header -'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - Line : 1804 +INFO:werkzeug:127.0.0.1 - - [12/May/2024 15:59:53] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:01:33.865950+02:00 (in 59.992025 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 16:03:33 CEST)" (scheduled at 2024-05-12 16:00:33.864951+02:00) +INFO:root:2024-05-12 16:00:33.875927 : dimanche, 12. mai 2024 04:00:33 : 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 16:03:33 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\\partner_order.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-12 16:03:33.864951+02:00 (in 119.856452 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:03:33 CEST)" (scheduled at 2024-05-12 16:01:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:03:33 CEST)" executed successfully +INFO:root:2024-05-12 16:01:37.465172 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 16:01:37.466157 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 16:01:37.466157 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 16:01:37.466157 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 16:01:37.466157 : ++ 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-12 16:03:37.637952+02:00 (in 119.995007 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 16:01:37.738538 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:01:37] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:01:37.798661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:01:37.805664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:01:37.825537 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:01:37] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:01:37] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:01:37] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:02:27.126699 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:02:27] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:02:27.633993 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:02:27.639096 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:02:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:02:27] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:02:27.662762 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:02:27] "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 16:05:33.865950+02:00 (in 119.993942 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 16:06:33 CEST)" (scheduled at 2024-05-12 16:03:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:05:33 CEST)" (scheduled at 2024-05-12 16:03:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:05:33 CEST)" executed successfully +INFO:root:2024-05-12 16:03:33.874990 : dimanche, 12. mai 2024 04:03:33 : 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 16:06:33 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:03:37 CEST)" (scheduled at 2024-05-12 16:03:37.637952+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:04:37.637952+02:00 (in 59.985007 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:05:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:05:37.637952+02:00 (in 59.996620 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 16:07:37 CEST)" (scheduled at 2024-05-12 16:04:37.637952+02:00) +INFO:root:2024-05-12 16:04:37.644327 : dimanche, 12. mai 2024 04:04:37 : 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 16:07:37 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-12 16:05:01.971452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:01.978825 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:01.987107 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:01.994636 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:05:02.005072 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:02.009109 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:02.023625 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:05:02.057130 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:05:02.062980 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:05:02] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:06:33.864951+02:00 (in 59.989404 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:07:33 CEST)" (scheduled at 2024-05-12 16:05:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:07:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:07:37.637952+02:00 (in 119.998994 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:07:37 CEST)" (scheduled at 2024-05-12 16:05:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:07:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:07:33.865950+02:00 (in 59.999006 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 16:09:33 CEST)" (scheduled at 2024-05-12 16:06:33.864951+02:00) +INFO:root:2024-05-12 16:06:33.876425 : dimanche, 12. mai 2024 04:06:33 : 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 16:09:33 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-12 16:07:16.141657 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.145403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.149763 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.156014 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.159028 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.165086 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-12 16:07:16.167089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.186275 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.361262 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.365597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.369597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.374597 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.380128 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.390318 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.402922 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.417191 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.423624 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.432055 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.450930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.457274 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.464616 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:16.471634 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.489962 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.503253 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.512202 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:16.521487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:27.148103 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.151725 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.156424 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.161404 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.164907 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:27.182432 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.192149 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:27.218425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:27.223666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:28.835840 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:28.841026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:28] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:28] "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 16:09:33.864951+02:00 (in 119.990477 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:09:33 CEST)" (scheduled at 2024-05-12 16:07:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:09:33 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-12 16:10:37 CEST)" (scheduled at 2024-05-12 16:07:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:07:37 CEST)" (scheduled at 2024-05-12 16:07:37.637952+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:09:37.637952+02:00 (in 119.989698 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:09:37 CEST)" executed successfully +INFO:root:2024-05-12 16:07:37.652774 : dimanche, 12. mai 2024 04:07:37 : 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 16:10:37 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-12 16:07:47.893373 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:47] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:07:48.317205 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:48.327526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:07:48.724523 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:48] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:48] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:07:48] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:08:51.954343 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:08:51.960358 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:08:51.965783 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:08:51.975179 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:51] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:08:51.986184 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:08:51.999724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:08:52.010635 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:08:52.040626 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:08:52.053643 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:08:52] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:09:00.638847 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:09:00] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:09:00.994225 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:09:01.012169 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:09:01.016690 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:09:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:09:01] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:09:01] "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 16:11:33.865950+02:00 (in 119.997714 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 16:12:33 CEST)" (scheduled at 2024-05-12 16:09:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:11:33 CEST)" (scheduled at 2024-05-12 16:09:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:11:33 CEST)" executed successfully +INFO:root:2024-05-12 16:09:33.871409 : dimanche, 12. mai 2024 04:09:33 : 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 16:12:33 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-12 16:10:37.637952+02:00 (in 59.985770 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:11:37 CEST)" (scheduled at 2024-05-12 16:09:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:11:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:11:37.637952+02:00 (in 59.996574 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 16:13:37 CEST)" (scheduled at 2024-05-12 16:10:37.637952+02:00) +INFO:root:2024-05-12 16:10:37.643355 : dimanche, 12. mai 2024 04:10:37 : 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 16:13:37 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-12 16:10:41.789871 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.795866 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.802285 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:10:41.815817 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.820584 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.831808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.845587 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:10:41.886784 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:10:41.891778 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:10:42] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.099854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.103067 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.107087 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.113720 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.118661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.121770 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-12 16:11:01.124771 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.140812 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.323146 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.327492 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.331498 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.339751 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.344479 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.352205 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.363008 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.371009 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.385031 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.392570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.397881 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.412280 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.417144 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.425710 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.446959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.455259 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:01.462339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:01.470700 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:01] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:03.754016 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:03.759644 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:03] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:03] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:10.260998 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:10] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:10.717257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:10.720760 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:10] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:10.747997 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:10] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:10] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:11:24.797476 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:11:24.804191 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:24] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:24] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:12:33.864951+02:00 (in 59.984220 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:13:33 CEST)" (scheduled at 2024-05-12 16:11:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:13:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:13:37.637952+02:00 (in 119.984985 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:13:37 CEST)" (scheduled at 2024-05-12 16:11:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:13:37 CEST)" executed successfully +INFO:root:2024-05-12 16:11:39.487797 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:11:39] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:14.219027 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:14] "POST /myclass/api/Get_Given_Line_Of_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:17.990556 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:18] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:18.485421 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:12:18.491627 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:18] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:18] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:25.855232 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:25] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:26.313358 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:12:26.319690 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:12:26.348578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:26] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:26] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:26] "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 16:13:33.865950+02:00 (in 59.987365 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 16:15:33 CEST)" (scheduled at 2024-05-12 16:12:33.864951+02:00) +INFO:root:2024-05-12 16:12:33.888640 : dimanche, 12. mai 2024 04:12:33 : 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 16:15:33 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-12 16:12:45.169353 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_26.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:46] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:12:46.624297 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:12:46] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:13:07.749014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:13:07] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:15:33.864951+02:00 (in 119.983422 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:15:33 CEST)" (scheduled at 2024-05-12 16:13:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:15:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:15:37.637952+02:00 (in 119.992811 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 16:16:37 CEST)" (scheduled at 2024-05-12 16:13:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:15:37 CEST)" (scheduled at 2024-05-12 16:13:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:15:37 CEST)" executed successfully +INFO:root:2024-05-12 16:13:37.648312 : dimanche, 12. mai 2024 04:13:37 : 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 16:16:37 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-12 16:13:57.429524 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:13:57] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:14:27.121035 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_83.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:14:27] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:14:27.795429 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:14:27] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:17:33.865950+02:00 (in 119.989706 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 16:18:33 CEST)" (scheduled at 2024-05-12 16:15:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:17:33 CEST)" (scheduled at 2024-05-12 16:15:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:17:33 CEST)" executed successfully +INFO:root:2024-05-12 16:15:33.879875 : dimanche, 12. mai 2024 04:15:33 : 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 16:18:33 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-12 16:16:37.637952+02:00 (in 59.999348 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:17:37 CEST)" (scheduled at 2024-05-12 16:15:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:17:37 CEST)" executed successfully +INFO:root:2024-05-12 16:16:08.952285 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:08.956052 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:08.960416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:08.965475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:08.974746 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:08.979750 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:08.984749 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:08.994916 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.188301 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.193306 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.197993 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.203768 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.211718 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.215800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.225410 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.246067 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.259010 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.273646 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.279647 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.288885 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.299022 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.313586 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.329129 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.334594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:09.340694 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:09.366238 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:09] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:18.364925 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:18.370482 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:18] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:18] "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 16:17:37.637952+02:00 (in 59.990370 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 16:19:37 CEST)" (scheduled at 2024-05-12 16:16:37.637952+02:00) +INFO:root:2024-05-12 16:16:37.650040 : dimanche, 12. mai 2024 04:16:37 : 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 16:19:37 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-12 16:16:51.711988 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:16:51.717682 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:51] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:51] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:16:54.226851 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:16:54] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:04.282190 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:04] "POST /myclass/api/Add_Partner_Quotation/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:04.652598 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:04] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:14.791326 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:17:14.797345 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:14] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:14] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:24.792753 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:24] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:27.383602 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:27] "POST /myclass/api/get_Class_From_Internal_Url/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:32.666089 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:32] "POST /myclass/api/Add_Update_Partner_Order_Line/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:33.219165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:17:33.234838 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:33] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:33] "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 16:18:33.864951+02:00 (in 59.987207 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:19:33 CEST)" (scheduled at 2024-05-12 16:17:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:19:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:19:37.637952+02:00 (in 119.990385 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:19:37 CEST)" (scheduled at 2024-05-12 16:17:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:19:37 CEST)" executed successfully +INFO:root:2024-05-12 16:17:39.714675 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:39] "POST /myclass/api/Confirm_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:40.336827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:40] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:40.365400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:17:40.372789 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:40] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:40] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:50.113049 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_20

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_20
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
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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_19.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:51] "POST /myclass/api/Send_Partner_Order_By_Email/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:17:51.849887 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:17:51] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:19:33.865950+02:00 (in 59.989894 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 16:21:33 CEST)" (scheduled at 2024-05-12 16:18:33.864951+02:00) +INFO:root:2024-05-12 16:18:33.878883 : dimanche, 12. mai 2024 04:18:33 : 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 16:21:33 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-12 16:21:33.864951+02:00 (in 119.990169 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:21:33 CEST)" (scheduled at 2024-05-12 16:19:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:21:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:21:37.637952+02:00 (in 119.987029 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 16:22:37 CEST)" (scheduled at 2024-05-12 16:19:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:21:37 CEST)" (scheduled at 2024-05-12 16:19:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:21:37 CEST)" executed successfully +INFO:root:2024-05-12 16:19:37.654932 : dimanche, 12. mai 2024 04:19:37 : 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 16:22:37 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-12 16:20:30.904087 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:30.914512 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:30.922194 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:30] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:30.929321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:30.945145 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:30.958329 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:30.970118 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:30] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:30.999422 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:31.037497 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:43.981380 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:43.985676 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:43] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:43.990194 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:43.995382 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.001257 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.010777 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.011969 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.022415 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.252526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.257522 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.263248 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.270851 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.274113 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.283062 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.289057 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.306311 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.317739 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.328259 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.331724 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.347692 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.359214 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.369132 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.386601 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:20:44.390920 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.414926 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:20:44.421925 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:20:44] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:08.322258 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:08.326085 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:08.330097 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:08.334629 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:08.340822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:08.347341 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:08.351821 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:08.369477 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:08.382506 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:08] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:10.181440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:10.185442 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:10] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:10] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:23.916741 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:23.923625 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:23] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:23] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:21:33.077990 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:21:33.084092 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:33] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:21:33] "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 16:23:33.865950+02:00 (in 119.991117 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 16:24:33 CEST)" (scheduled at 2024-05-12 16:21:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:23:33 CEST)" (scheduled at 2024-05-12 16:21:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:23:33 CEST)" executed successfully +INFO:root:2024-05-12 16:21:33.878818 : dimanche, 12. mai 2024 04:21:33 : 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 16:24:33 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-12 16:22:37.637952+02:00 (in 59.989102 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:23:37 CEST)" (scheduled at 2024-05-12 16:21:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:23:37 CEST)" executed successfully +INFO:root:2024-05-12 16:22:18.000227 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:22:18] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:23:37.637952+02:00 (in 59.994868 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 16:25:37 CEST)" (scheduled at 2024-05-12 16:22:37.637952+02:00) +INFO:root:2024-05-12 16:22:37.645085 : dimanche, 12. mai 2024 04:22:37 : 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 16:25:37 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-12 16:23:30.373563 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:23:30] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:24:33.864951+02:00 (in 59.995103 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:25:33 CEST)" (scheduled at 2024-05-12 16:23:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:25:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:25:37.637952+02:00 (in 119.990342 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:25:37 CEST)" (scheduled at 2024-05-12 16:23:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:25:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:25:33.865950+02:00 (in 59.985713 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 16:27:33 CEST)" (scheduled at 2024-05-12 16:24:33.864951+02:00) +INFO:root:2024-05-12 16:24:33.892583 : dimanche, 12. mai 2024 04:24:33 : 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 16:27:33 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-12 16:27:33.864951+02:00 (in 119.984851 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:27:33 CEST)" (scheduled at 2024-05-12 16:25:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:27:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:27:37.637952+02:00 (in 119.986417 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 16:28:37 CEST)" (scheduled at 2024-05-12 16:25:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:27:37 CEST)" (scheduled at 2024-05-12 16:25:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:27:37 CEST)" executed successfully +INFO:root:2024-05-12 16:25:37.655519 : dimanche, 12. mai 2024 04:25:37 : 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 16:28:37 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-12 16:29:33.865950+02:00 (in 119.989351 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 16:30:33 CEST)" (scheduled at 2024-05-12 16:27:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:29:33 CEST)" (scheduled at 2024-05-12 16:27:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:29:33 CEST)" executed successfully +INFO:root:2024-05-12 16:27:33.881305 : dimanche, 12. mai 2024 04:27:33 : 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 16:30:33 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-12 16:28:37.637952+02:00 (in 59.987755 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:29:37 CEST)" (scheduled at 2024-05-12 16:27:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:29:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:29:37.637952+02:00 (in 59.998965 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 16:31:37 CEST)" (scheduled at 2024-05-12 16:28:37.637952+02:00) +INFO:root:2024-05-12 16:28:37.641591 : dimanche, 12. mai 2024 04:28:37 : 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 16:31:37 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-12 16:30:33.864951+02:00 (in 59.990834 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:31:33 CEST)" (scheduled at 2024-05-12 16:29:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:31:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:31:37.637952+02:00 (in 119.993700 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:31:37 CEST)" (scheduled at 2024-05-12 16:29:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:31:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:31:33.865950+02:00 (in 59.996933 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 16:33:33 CEST)" (scheduled at 2024-05-12 16:30:33.864951+02:00) +INFO:root:2024-05-12 16:30:33.871037 : dimanche, 12. mai 2024 04:30:33 : 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 16:33:33 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-12 16:33:33.864951+02:00 (in 119.994188 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:33:33 CEST)" (scheduled at 2024-05-12 16:31:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:33:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:33:37.637952+02:00 (in 119.989625 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 16:34:37 CEST)" (scheduled at 2024-05-12 16:31:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:33:37 CEST)" (scheduled at 2024-05-12 16:31:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:33:37 CEST)" executed successfully +INFO:root:2024-05-12 16:31:37.652197 : dimanche, 12. mai 2024 04:31:37 : 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 16:34:37 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-12 16:33:31.442223 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.449449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.454930 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.463753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.466605 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.474800 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.484802 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.514777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.533774 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.551793 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.562841 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.589425 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.594187 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.600858 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.623383 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.633681 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:31.640701 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:33:31.664890 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:31] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:35:33.865950+02:00 (in 119.991835 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 16:36:33 CEST)" (scheduled at 2024-05-12 16:33:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:35:33 CEST)" (scheduled at 2024-05-12 16:33:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:35:33 CEST)" executed successfully +INFO:root:2024-05-12 16:33:33.887331 : dimanche, 12. mai 2024 04:33:33 : 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 16:36:33 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-12 16:33:33.953366 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:33:33.957404 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:33] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:33:33] "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 16:34:37.637952+02:00 (in 59.991359 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:35:37 CEST)" (scheduled at 2024-05-12 16:33:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:35:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:35:37.637952+02:00 (in 59.984054 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 16:37:37 CEST)" (scheduled at 2024-05-12 16:34:37.637952+02:00) +INFO:root:2024-05-12 16:34:37.655904 : dimanche, 12. mai 2024 04:34:37 : 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 16:37:37 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-12 16:36:33.864951+02:00 (in 59.997231 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:37:33 CEST)" (scheduled at 2024-05-12 16:35:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:37:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:37:37.637952+02:00 (in 119.993804 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:37:37 CEST)" (scheduled at 2024-05-12 16:35:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:37:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:37:33.865950+02:00 (in 59.984946 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 16:39:33 CEST)" (scheduled at 2024-05-12 16:36:33.864951+02:00) +INFO:root:2024-05-12 16:36:33.884390 : dimanche, 12. mai 2024 04:36:33 : 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 16:39:33 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-12 16:39:33.864951+02:00 (in 119.992259 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:39:33 CEST)" (scheduled at 2024-05-12 16:37:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:39:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:39:37.637952+02:00 (in 119.992581 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 16:40:37 CEST)" (scheduled at 2024-05-12 16:37:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:39:37 CEST)" (scheduled at 2024-05-12 16:37:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:39:37 CEST)" executed successfully +INFO:root:2024-05-12 16:37:37.648380 : dimanche, 12. mai 2024 04:37:37 : 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 16:40:37 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 +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-12 16:42:33 CEST)" (scheduled at 2024-05-12 16:39:33.864951+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:41:33.865950+02:00 (in 119.985732 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:41:33 CEST)" (scheduled at 2024-05-12 16:39:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:41:33 CEST)" executed successfully +INFO:root:2024-05-12 16:39:33.897413 : dimanche, 12. mai 2024 04:39:33 : 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 16:42:33 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-12 16:40:37.637952+02:00 (in 59.997711 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:41:37 CEST)" (scheduled at 2024-05-12 16:39:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:41:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:41:37.637952+02:00 (in 59.984302 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 16:43:37 CEST)" (scheduled at 2024-05-12 16:40:37.637952+02:00) +INFO:root:2024-05-12 16:40:37.655030 : dimanche, 12. mai 2024 04:40:37 : 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 16:43:37 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-12 16:42:33.864951+02:00 (in 59.970840 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:43:33 CEST)" (scheduled at 2024-05-12 16:41:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:43:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:43:37.637952+02:00 (in 119.989147 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:43:37 CEST)" (scheduled at 2024-05-12 16:41:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:43:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:43:33.865950+02:00 (in 59.997032 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 16:45:33 CEST)" (scheduled at 2024-05-12 16:42:33.864951+02:00) +INFO:root:2024-05-12 16:42:33.870446 : dimanche, 12. mai 2024 04:42:33 : 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 16:45:33 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-12 16:45:33.864951+02:00 (in 119.986245 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:45:33 CEST)" (scheduled at 2024-05-12 16:43:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:45:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:45:37.637952+02:00 (in 119.989279 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 16:46:37 CEST)" (scheduled at 2024-05-12 16:43:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:45:37 CEST)" (scheduled at 2024-05-12 16:43:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:45:37 CEST)" executed successfully +INFO:root:2024-05-12 16:43:37.650116 : dimanche, 12. mai 2024 04:43:37 : 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 16:46:37 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-12 16:45:27.342506 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.346856 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.352309 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.360590 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.366146 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.379917 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.392361 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.412533 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.421245 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.444485 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.451302 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.472947 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.482248 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.495246 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.507723 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.516600 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:27.545464 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:27.554492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:27] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.044965 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.048978 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.054005 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.064001 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.070609 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.082847 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.091303 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.099733 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.120239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.124253 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.141347 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.159406 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.166418 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.178135 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.199258 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.207463 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:28.220241 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:28.229361 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:28] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:45:29.663207 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:45:29.667207 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:29] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:45:29] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:47:33.865950+02:00 (in 119.992478 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 16:48:33 CEST)" (scheduled at 2024-05-12 16:45:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:47:33 CEST)" (scheduled at 2024-05-12 16:45:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:47:33 CEST)" executed successfully +INFO:root:2024-05-12 16:45:33.876522 : dimanche, 12. mai 2024 04:45:33 : 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 16:48:33 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-12 16:46:37.637952+02:00 (in 59.987065 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:47:37 CEST)" (scheduled at 2024-05-12 16:45:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:47:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:47:37.637952+02:00 (in 59.985795 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 16:49:37 CEST)" (scheduled at 2024-05-12 16:46:37.637952+02:00) +INFO:root:2024-05-12 16:46:37.661469 : dimanche, 12. mai 2024 04:46:37 : 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 16:49:37 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-12 16:48:33.864951+02:00 (in 59.991119 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:49:33 CEST)" (scheduled at 2024-05-12 16:47:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:49:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:49:37.637952+02:00 (in 119.989063 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:49:37 CEST)" (scheduled at 2024-05-12 16:47:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:49:37 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:49:33.865950+02:00 (in 59.975606 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 16:51:33 CEST)" (scheduled at 2024-05-12 16:48:33.864951+02:00) +INFO:root:2024-05-12 16:48:33.891349 : dimanche, 12. mai 2024 04:48:33 : 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 16:51:33 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-12 16:48:35.753455 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:48:35.758475 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:48:35.764494 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:48:35.777364 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:48:35.786741 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:48:35.792933 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:48:35.797964 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:48:35.819014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:48:35.840487 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:48:35] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:49:12.566095 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:12.579090 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:49:12.592098 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:12.598102 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:12.603099 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:12.614459 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:12.625480 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:49:12.647488 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:49:12.663090 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:12] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:49:17.789555 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:49:17.793879 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:17] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:49:17] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:51:33.864951+02:00 (in 119.992306 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:51:33 CEST)" (scheduled at 2024-05-12 16:49:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:51:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:51:37.637952+02:00 (in 119.990326 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 16:52:37 CEST)" (scheduled at 2024-05-12 16:49:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:51:37 CEST)" (scheduled at 2024-05-12 16:49:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:51:37 CEST)" executed successfully +INFO:root:2024-05-12 16:49:37.650616 : dimanche, 12. mai 2024 04:49:37 : 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 16:52:37 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-12 16:53:33.865950+02:00 (in 119.996608 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 16:54:33 CEST)" (scheduled at 2024-05-12 16:51:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:53:33 CEST)" (scheduled at 2024-05-12 16:51:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:53:33 CEST)" executed successfully +INFO:root:2024-05-12 16:51:33.879451 : dimanche, 12. mai 2024 04:51:33 : 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 16:54:33 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-12 16:52:37.637952+02:00 (in 59.985692 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:53:37 CEST)" (scheduled at 2024-05-12 16:51:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:53:37 CEST)" executed successfully +INFO:root:2024-05-12 16:51:48.592403 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.601002 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.606723 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:51:48.624149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.626138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.629137 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.645769 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:51:48.670333 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:48.676532 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:48] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:51:53.474009 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:51:53.478543 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:53] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:51:53] "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 16:53:37.637952+02:00 (in 59.987564 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 16:55:37 CEST)" (scheduled at 2024-05-12 16:52:37.637952+02:00) +INFO:root:2024-05-12 16:52:37.653910 : dimanche, 12. mai 2024 04:52:37 : 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 16:55:37 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-12 16:54:33.864951+02:00 (in 59.983525 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:55:33 CEST)" (scheduled at 2024-05-12 16:53:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:55:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:55:37.637952+02:00 (in 119.988786 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:55:37 CEST)" (scheduled at 2024-05-12 16:53:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:55:37 CEST)" executed successfully +INFO:root:2024-05-12 16:53:43.565394 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.582064 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.589486 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:53:43.599460 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.609572 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.610592 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.620544 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:53:43.648577 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:53:43.715981 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:53:43] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:55:33.865950+02:00 (in 59.991109 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 16:57:33 CEST)" (scheduled at 2024-05-12 16:54:33.864951+02:00) +INFO:root:2024-05-12 16:54:33.908196 : dimanche, 12. mai 2024 04:54:33 : 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 16:57:33 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-12 16:54:34.252921 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:54:34.262372 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:54:34.269360 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:54:34.275129 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:54:34.281517 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:54:34.291309 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:54:34.296394 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:54:34.318193 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:54:34.329950 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:54:34] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:55:05.804302 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:05.816192 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:05.821713 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:55:05.829445 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:05.835128 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:05.845254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:05.855258 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:55:05.874604 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:55:05.893252 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:06] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:55:09.037339 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:55:09.044160 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:09] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:55:09] "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 16:57:33.864951+02:00 (in 119.987717 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:57:33 CEST)" (scheduled at 2024-05-12 16:55:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:57:33 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:57:37.637952+02:00 (in 119.980972 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 16:58:37 CEST)" (scheduled at 2024-05-12 16:55:37.637952+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:57:37 CEST)" (scheduled at 2024-05-12 16:55:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:57:37 CEST)" executed successfully +INFO:root:2024-05-12 16:55:37.659068 : dimanche, 12. mai 2024 04:55:37 : 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 16:58:37 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-12 16:56:13.689330 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:13.693373 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:13.705489 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:56:13.713401 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:13.728941 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:13.736277 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:56:13.743916 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:13.754433 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:56:13.784465 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:13] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:56:59.205025 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:56:59.215597 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:59] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:56:59] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:03.719682 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:03.723680 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:03] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:03] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:07.505450 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.509714 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.515582 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.519067 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:07.528127 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.537760 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.546033 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:07.574389 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:07.580429 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:07] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:59:33.865950+02:00 (in 119.998895 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 17:00:33 CEST)" (scheduled at 2024-05-12 16:57:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:59:33 CEST)" (scheduled at 2024-05-12 16:57:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:59:33 CEST)" executed successfully +INFO:root:2024-05-12 16:57:33.875931 : dimanche, 12. mai 2024 04:57:33 : 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 17:00:33 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-12 16:58:37.637952+02:00 (in 59.990090 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:59:37 CEST)" (scheduled at 2024-05-12 16:57:37.637952+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 16:59:37 CEST)" executed successfully +INFO:root:2024-05-12 16:57:41.639661 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:41.645765 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:41.653814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:41.659477 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:41.669298 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:41.678346 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:57:41.684291 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:41.724123 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:57:41.732488 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:57:41] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:58:00.114005 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:58:00.119003 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:58:00.125010 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:58:00.129054 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:58:00.138045 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:58:00.145657 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 16:58:00.153657 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:58:00.184658 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 16:58:00.190651 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 16:58:00] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 16:59:37.637952+02:00 (in 59.963459 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 17:01:37 CEST)" (scheduled at 2024-05-12 16:58:37.637952+02:00) +INFO:root:2024-05-12 16:58:37.679476 : dimanche, 12. mai 2024 04:58:37 : 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 17:01:37 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:00:33.864951+02:00 (in 59.989155 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:01:33 CEST)" (scheduled at 2024-05-12 16:59:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:01:33 CEST)" executed successfully +INFO:root:2024-05-12 16:59:34.202982 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 16:59:34.203986 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 16:59:34.203986 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 16:59:34.203986 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 16:59:34.203986 : ++ 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-12 17:01:34.290029+02:00 (in 119.997011 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-12 16:59:54.882757 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 16:59:54.882757 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 16:59:54.882757 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 16:59:54.883760 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 16:59:54.883760 : ++ 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-12 17:01:55.241263+02:00 (in 119.965151 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-12 17:01:33.865950+02:00 (in 59.992954 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 17:03:33 CEST)" (scheduled at 2024-05-12 17:00:33.864951+02:00) +INFO:root:2024-05-12 17:00:33.881170 : dimanche, 12. mai 2024 05:00:33 : 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 17:03:33 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-12 17:01:00.114340 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:01:00.114340 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:01:00.114340 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:01:00.114340 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:01:00.114340 : ++ 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-12 17:03:00.201874+02:00 (in 119.998009 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-12 17:01:28.731294 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:01:28.732306 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:01:28.732306 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:01:28.732306 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:01:28.732306 : ++ 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-12 17:03:28.809581+02:00 (in 119.997993 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-12 17:03:33.864951+02:00 (in 119.810112 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:03:33 CEST)" (scheduled at 2024-05-12 17:01:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:03:33 CEST)" executed successfully +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_order.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-12 17:05:33.865950+02:00 (in 119.985452 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 17:06:33 CEST)" (scheduled at 2024-05-12 17:03:33.864951+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:05:33 CEST)" (scheduled at 2024-05-12 17:03:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:05:33 CEST)" executed successfully +INFO:root:2024-05-12 17:03:33.889323 : dimanche, 12. mai 2024 05:03:33 : 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 17:06:33 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-12 17:03:35.312583 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:03:35.313592 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:03:35.313592 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:03:35.313592 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:03:35.313592 : ++ 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-12 17:05:35.399179+02:00 (in 119.997955 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_order.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-12 17:06:33.864951+02:00 (in 59.983891 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:07:33 CEST)" (scheduled at 2024-05-12 17:05:33.865950+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:07:33 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-12 17:23:48.031877 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:23:48.031877 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:23:48.031877 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:23:48.031877 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:23:48.031877 : ++ 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-12 17:25:48.086121+02:00 (in 119.997026 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-12 17:23:57.210238 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:23:57.210238 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:23:57.210238 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:23:57.210238 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:23:57.210238 : ++ 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-12 17:25:57.266788+02:00 (in 119.997469 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 17:24:12.382467 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_67.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_20

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_20
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
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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_12.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:24:13] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:25:18.079165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:25:18.082177 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:25:18] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:25:18] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:25:24.701534 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:25:24.705051 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:25:24] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:25:24] "POST /myclass/api/Get_Given_Partner_Order_Lines/ 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-12 17:25:48 CEST)" (scheduled at 2024-05-12 17:25:48.086121+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:26:48.086121+02:00 (in 59.995909 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:27:48 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-12 17:25:57 CEST)" (scheduled at 2024-05-12 17:25:57.266788+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:26:57.266788+02:00 (in 59.984283 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:27:57 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:27:48.086121+02:00 (in 59.982769 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 17:29:48 CEST)" (scheduled at 2024-05-12 17:26:48.086121+02:00) +INFO:root:2024-05-12 17:26:48.121022 : dimanche, 12. mai 2024 05:26:48 : 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 17:29:48 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-12 17:27:57.266788+02:00 (in 59.995141 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 17:29:57 CEST)" (scheduled at 2024-05-12 17:26:57.266788+02:00) +INFO:root:2024-05-12 17:26:57.273652 : dimanche, 12. mai 2024 05:26:57 : 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 17:29:57 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-12 17:27:26.561396 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:27:26.562393 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:27:26.562393 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:27:26.562393 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:27:26.562393 : ++ 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-12 17:29:26.641831+02:00 (in 119.996949 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-12 17:29:48.086121+02:00 (in 119.992713 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:29:48 CEST)" (scheduled at 2024-05-12 17:27:48.086121+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:29:48 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-12 17:28:24.514908 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-12 17:28:24.514908 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-12 17:28:24.515909 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-12 17:28:24.515909 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-12 17:28:24.515909 : ++ 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-12 17:30:24.569752+02:00 (in 119.997334 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-12 17:28:26.717138 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:28:26] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:29:33.537695 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_66.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_20

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_20
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
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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_13.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:29:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:29:42.910797 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:29:42.913800 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:29:42] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:29:42] "POST /myclass/api/Get_Given_Partner_Order_Lines/ 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-12 17:31:48 CEST)" (scheduled at 2024-05-12 17:29:48.086121+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-12 17:29:48 CEST)" (scheduled at 2024-05-12 17:29:48.086121+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:31:48 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:31:48.086121+02:00 (in 119.996726 seconds) +INFO:root:2024-05-12 17:29:48.091400 : dimanche, 12. mai 2024 05:29:48 : 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 17:32:48 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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:30:24 CEST)" (scheduled at 2024-05-12 17:30:24.569752+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:31:24.569752+02:00 (in 59.998174 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:32:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:32:24.569752+02:00 (in 59.986986 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 17:34:24 CEST)" (scheduled at 2024-05-12 17:31:24.569752+02:00) +INFO:root:2024-05-12 17:31:24.584161 : dimanche, 12. mai 2024 05:31: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-12 17:34: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-12 17:32:48.086121+02:00 (in 59.991221 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:33:48 CEST)" (scheduled at 2024-05-12 17:31:48.086121+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:33:48 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:34:24.569752+02:00 (in 119.985334 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:34:24 CEST)" (scheduled at 2024-05-12 17:32:24.569752+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:34:24 CEST)" executed successfully +INFO:root:2024-05-12 17:32:32.514264 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:32:32.517271 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:32:32.521895 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:32:32.527258 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:32:32.530257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:32:32.538926 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:32:32.543247 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:32:32.564619 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:32:32.581722 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:32:32] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:33:48.086121+02:00 (in 59.989382 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 17:35:48 CEST)" (scheduled at 2024-05-12 17:32:48.086121+02:00) +INFO:root:2024-05-12 17:32:48.098722 : dimanche, 12. mai 2024 05:32:48 : 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 17:35:48 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-12 17:33:28.489658 : Security check : IP adresse '127.0.0.1' connected +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_55.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +DEBUG:xhtml2pdf:pisaDocument options: + src = '\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\n
\n

--- LOGO ---

\n
\n

Devis n° Devis_20

\n


adr_client2_fact
75001
paris

\n

 

\n

 

\n

Devis n° Devis_20
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
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
' + dest = <_io.BufferedRandom name='./temp_direct/Devis_43598_12_05_2024_12.pdf'> + path = None + link_callback = None + xhtml = False + context_meta = None +DEBUG:xhtml2pdf:Col 0 has width 600 +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +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] +DEBUG:xhtml2pdf:Col 0 has width 90.0901% +DEBUG:xhtml2pdf:Col widths: ['90.0901%'] +DEBUG:xhtml2pdf:Col widths: [600.0] +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:33:29] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:33:36.836533 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:33:36.841530 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:33:36] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:33:36] "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 17:35:48.086121+02:00 (in 119.991418 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:35:48 CEST)" (scheduled at 2024-05-12 17:33:48.086121+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:35:48 CEST)" executed successfully +INFO:root:2024-05-12 17:34:15.306814 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:15.310462 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:15.313392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:15.317541 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:34:15.326236 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:15.333841 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:15.339382 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:34:15.354386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:34:15.374457 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:15] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-12 17:34:24.198125 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:24.201133 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:24] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:24] "POST /myclass/api/Get_Given_Partner_Order_Lines/ 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-12 17:36:24 CEST)" (scheduled at 2024-05-12 17:34:24.569752+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-12 17:34:24 CEST)" (scheduled at 2024-05-12 17:34:24.569752+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-12 17:36:24 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-12 17:36:24.569752+02:00 (in 119.985037 seconds) +INFO:root:2024-05-12 17:34:24.586714 : dimanche, 12. mai 2024 05:34: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-12 17:37: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-12 17:34:28.744258 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-12 17:34:28.747427 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:28] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [12/May/2024 17:34:28] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - diff --git a/partner_order.py b/partner_order.py index 0f511a7..218f74e 100644 --- a/partner_order.py +++ b/partner_order.py @@ -1793,7 +1793,7 @@ def Update_Partner_Quotation_Header(diction): order_header_vendeur_id = "" - if ("order_header_vendeur_id" in diction.keys()): + if ("order_header_vendeur_id" in diction.keys() and diction['order_header_vendeur_id']): order_header_vendeur_id = diction['order_header_vendeur_id'] # local_qry = {'_id': ObjectId(str(order_header_vendeur_id)), 'valide': '1', 'locked': '0', 'partner_recid': str(my_partner['recid'])} @@ -2243,6 +2243,36 @@ def Add_Update_Partner_Order_Line(diction): str(inspect.stack()[0][3]) + " - Impossible de mettre à jour la ligne (3)") return False, " Impossible de mettre à jour la ligne (3) " + """ + Une fois qu'on a modifier une ligne, il faut remettre les statuts d'entete et de ligne à 'brouillon' + pour obligier l'utilisateur à revalider le devis + """ + + local_update_data = {} + local_update_data['date_update'] = str(datetime.now()) + local_update_data['update_by'] = str(my_partner['_id']) + local_update_data['order_header_status'] = "0" + + upadate_header = MYSY_GV.dbname['partner_order_header'].find_one_and_update( + {'_id': ObjectId(str(diction['order_header_id'])), 'valide': '1', 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])}, + {"$set": local_update_data}, + return_document=ReturnDocument.AFTER, + upsert=False, + ) + + local_update_data = {} + local_update_data['date_update'] = str(datetime.now()) + local_update_data['update_by'] = str(my_partner['_id']) + local_update_data['order_line_status'] = "0" + + upadate_line = MYSY_GV.dbname['partner_order_line'].find_one_and_update( + {'order_header_id': str(diction['order_header_id']), 'valide': '1', 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])}, + {"$set": local_update_data}, + return_document=ReturnDocument.AFTER, + upsert=False, + ) else: # Il s'agit d'une creation d'une nouvelle ligne @@ -2260,6 +2290,40 @@ def Add_Update_Partner_Order_Line(diction): " Impossible de créer la ligne la commande ") return False, " Impossible de créer la ligne la commande " + """ + Une fois qu'on a modifier une ligne, il faut remettre les statuts d'entete et de ligne à 'brouillon' + pour obligier l'utilisateur à revalider le devis + """ + + + local_update_data = {} + local_update_data['date_update'] = str(datetime.now()) + local_update_data['update_by'] = str(my_partner['_id']) + local_update_data['order_header_status'] = "0" + + upadate_header = MYSY_GV.dbname['partner_order_header'].find_one_and_update( + {'_id': ObjectId(str(diction['order_header_id'])), 'valide': '1', 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])}, + {"$set": local_update_data}, + return_document=ReturnDocument.AFTER, + upsert=False, + ) + + local_update_data = {} + local_update_data['date_update'] = str(datetime.now()) + local_update_data['update_by'] = str(my_partner['_id']) + local_update_data['order_line_status'] = "0" + + upadate_line = MYSY_GV.dbname['partner_order_line'].find_one_and_update( + {'order_header_id': str(diction['order_header_id']), 'valide': '1', 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])}, + {"$set": local_update_data}, + return_document=ReturnDocument.AFTER, + upsert=False, + ) + + + return True, " La ligne de commande a été correctement ajoutée/mise à jour" except Exception as e: @@ -5310,9 +5374,13 @@ def Send_Partner_Order_By_Email(diction): Mettre à jour la commande /devis pour dire que quand le document a été envoyé """ updata_data = {} - updata_data['date_update'] = datetime.now() + updata_data['date_update'] = str(datetime.now()) updata_data['update_by'] = str(my_partner['recid']) - updata_data['date_envoi_quotation'] = datetime.now() + updata_data['date_envoi_quotation'] = str(datetime.now()) + + todays_date = str(date.today().strftime("%d/%m/%Y")) + + updata_data['date_dernier_relance_auto'] = str(todays_date) MYSY_GV.dbname['partner_order_header'].find_one_and_update( {'_id': ObjectId(str(Order_header_data['_id'])), @@ -5375,7 +5443,7 @@ def Convert_Quotation_to_Order(diction): # Verification de la validité du devis à convertir qry = {'_id': ObjectId(str(diction['order_id'])), 'valide': '1', 'locked': '0','order_header_type':'devis', 'partner_owner_recid': str(my_partner['recid'])} - print(" ### qry = ", qry) + #print(" ### qry = ", qry) is_Order_Existe_Count = MYSY_GV.dbname['partner_order_header'].count_documents( {'_id': ObjectId(str(diction['order_id'])), @@ -5430,10 +5498,16 @@ def Convert_Quotation_to_Order(diction): Supprimer les data qui ne concernent pas la commande comme la date de validation du devis, la date reservation, etc """ - for val in ['is_validated', 'date_reservation', 'mode_reservation', 'validation_by', 'reservation_by', 'date_validation', 'update_by'] : + list_champ_to_delete = ['validation_by', 'date_validation', 'mode_reservation', 'date_reservation', + 'date_envoi_quotation', 'date_dernier_relance_auto', 'nb_relance', + 'list_relance', 'frequence_relance_auto', 'relance_auto', 'nb_relance_auto', + 'is_validated', 'reservation_by', 'update_by'] + + for val in list_champ_to_delete : if( val in New_Order_Header.keys() ): del New_Order_Header[val] + local_status, local_message, local_retval = Add_Partner_Order(New_Order_Header) if( local_status is False ): @@ -5441,7 +5515,7 @@ def Convert_Quotation_to_Order(diction): new_created_order = MYSY_GV.dbname['partner_order_header'].find_one({'order_header_ref_interne':str(local_retval)}) - print(" ### La nouvelle Entete a été créer le num_order = ", new_created_order['order_header_ref_interne']) + #print(" ### La nouvelle Entete a été créer le num_order = ", new_created_order['order_header_ref_interne']) # Traitement des lignes @@ -5454,7 +5528,7 @@ def Convert_Quotation_to_Order(diction): - print( " #### qry convert = ", qyr_convert) + #print( " #### qry convert = ", qyr_convert) for Quotation_line_data in MYSY_GV.dbname['partner_order_line'].find({'order_header_id': str(diction['order_id']), 'valide': '1', 'locked': '0', @@ -5472,11 +5546,63 @@ def Convert_Quotation_to_Order(diction): New_Order_Line['token'] = mytoken New_Order_Line['order_line_id'] = "" New_Order_Line['order_line_status'] = "0" + + + list_champ_to_delete = ['validation_by', 'date_validation', 'mode_reservation', 'date_reservation', + 'date_envoi_quotation', 'date_dernier_relance_auto', 'nb_relance', + 'list_relance', 'frequence_relance_auto', 'relance_auto', 'nb_relance_auto', + 'is_validated', 'reservation_by', 'update_by'] + + for val in list_champ_to_delete: + if (val in New_Order_Line.keys()): + del New_Order_Line[val] + + ##print(" ### New_Order_Line = ",New_Order_Line) local_add_line_status, local_add_line_retval = Add_Update_Partner_Order_Line(New_Order_Line) print(" Ligne = ", cpt_line) cpt_line = cpt_line + 1 + + """ + Apres la convertion, on met à jour le devis pour dire qu'il a été gagné + """ + data_update = {} + data_update['date_update'] = str(datetime.now()) + data_update['update_by'] = str(my_partner['_id']) + data_update['order_header_status'] = "3" + + + result = MYSY_GV.dbname['partner_order_header'].find_one_and_update( + {'_id': ObjectId(str(diction['order_id'])), + 'valide': '1', 'locked': '0', + 'order_header_type': 'devis', + 'partner_owner_recid': str( + my_partner['recid'])} + , + {"$set": data_update}, + upsert=False, + return_document=ReturnDocument.AFTER + ) + + data_update = {} + data_update['date_update'] = str(datetime.now()) + data_update['update_by'] = str(my_partner['_id']) + data_update['order_line_status'] = "3" + + result = MYSY_GV.dbname['partner_order_header'].update_many( + {'_id': ObjectId(str(diction['order_id'])), + 'valide': '1', 'locked': '0', + 'order_header_type': 'devis', + 'partner_owner_recid': str( + my_partner['recid'])} + , + {"$set": data_update}, + ) + + + + mycommon.myprint( str(inspect.stack()[0][3]) + " Le devis "+str(Quotation_header_data_tmp['order_header_ref_interne'])+" a été correctement convertie en commande avec le numero : "+ new_created_order['order_header_ref_interne']) return True, " Le devis a été correctement convertit en commande. Ref. Commande est : "+str(str(new_created_order['order_header_ref_interne'])), str(new_created_order['order_header_ref_interne']) @@ -6283,3 +6409,409 @@ def Insert_Quotation_To_Session_From_Partner_Owner_Recid(diction): exc_type, exc_obj, exc_tb = sys.exc_info() mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) return False, "Impossible de créer / mettre à jour la session de formation" + + +""" +Cette fonction envoie une relance d'email, niveau 1 +""" +def Send_Quotation_Remind_Level1(diction): + try: + field_list = ['order_id', 'token',] + incom_keys = diction.keys() + for val in incom_keys: + if val not in field_list and val.startswith('my_') is False: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ") + return False, "Les informations fournies sont incorrectes" + + """ + Verification de la liste des champs obligatoires + """ + field_list_obligatoire = ['order_id', 'token', ] + + for val in field_list_obligatoire: + if val not in diction: + mycommon.myprint( + str(inspect.stack()[0][3]) + " - : La valeur '" + val + "' n'est pas presente dans liste ") + return False, " Les informations fournies sont incorrectes " + + query_get_data = {} + mytoken = "" + if ("token" in diction.keys()): + if diction['token']: + mytoken = diction['token'] + + local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction) + if (local_status is not True): + return local_status, my_partner + + + + # Verification de la validité de l'order + qry = {'_id': ObjectId(str(diction['order_id'])), 'valide': '1', 'locked': '0', + 'partner_owner_recid': str(my_partner['recid'])} + # print(" ### qry = ", qry) + + is_Order_Existe_Count = MYSY_GV.dbname['partner_order_header'].count_documents( + {'_id': ObjectId(str(diction['order_id'])), + 'valide': '1', 'locked': '0', 'order_header_type':'devis', + 'partner_owner_recid': str(my_partner['recid'])}) + + if (is_Order_Existe_Count != 1): + mycommon.myprint( + str(inspect.stack()[0][3]) + " - La commande n'est pas valide ") + return False, " La commande n'est pas valide", + + Order_header_data = MYSY_GV.dbname['partner_order_header'].find_one({'_id': ObjectId(str(diction['order_id'])), + 'valide': '1', 'locked': '0','order_header_type':'devis', + 'partner_owner_recid': str( + my_partner['recid'])}) + + partner_document_CONF_ORDER_data_qry = {'partner_owner_recid': str(my_partner['recid']), + 'valide': '1', 'locked': '0', 'ref_interne': 'PART_ORDER', + 'type_doc': 'email'} + + # print(" ### partner_document_CONF_ORDER_data_qry = ", partner_document_CONF_ORDER_data_qry) + partner_document_CONF_ORDER_data = MYSY_GV.dbname['courrier_template'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'valide': '1', 'locked': '0', 'ref_interne': 'PART_ORDER', 'type_doc': 'email'}) + + if (partner_document_CONF_ORDER_data is None): + # Il n'existe pas de personnalisation de la preinscription pour ce partenaire, on va aller récupérer la presinscription pa defaut + partner_document_CONF_ORDER_data = MYSY_GV.dbname['courrier_template'].find_one( + {'partner_owner_recid': 'default', + 'valide': '1', 'locked': '0', 'ref_interne': 'PART_ORDER', 'type_doc': 'email'}) + + if (partner_document_CONF_ORDER_data is None): + mycommon.myprint( + str(inspect.stack()[0][ + 3]) + "Aucun document parametré ") + return False, "Aucun document parametré " + + if ("contenu_doc" not in partner_document_CONF_ORDER_data or len( + str(partner_document_CONF_ORDER_data['contenu_doc'])) <= 0): + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - Le parametrage du document est invalide") + return False, " Le parametrage du document est invalide " + + # Recuperation des données du client + if ("order_header_client_id" in Order_header_data.keys()): + Order_header_client_data = MYSY_GV.dbname['partner_client'].find_one( + {'_id': ObjectId(str(Order_header_data['order_header_client_id'])), + 'partner_recid': str(my_partner['recid']), 'valide': '1', 'locked': '0'}) + + if (Order_header_client_data is None): + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - Le client est invalide") + return False, " Le client est invalide" + + # Recuperation des details de lignes de : partner_order_line + filt_class_partner_recid = {'partner_owner_recid': str(my_partner['recid'])} + filt_order_header_order_id = {'order_header_id': str(diction['order_id'])} + + query = [{'$match': {'$and': [filt_order_header_order_id, + {'partner_owner_recid': str(my_partner['recid'])}]}}, + {'$lookup': + { + 'from': 'myclass', + 'localField': 'order_line_formation', + 'foreignField': 'internal_url', + 'pipeline': [{'$match': {'$and': [filt_class_partner_recid]}}, + {'$project': {'title': 1, 'domaine': 1, + 'duration': 1, + 'duration_unit': 1, + 'external_code': 1}}], + 'as': 'myclass_collection' + } + } + ] + # print("#### Get_Given_Partner_Order_Lines_From_order_ref_interne : query pip= ", query) + val_tmp = 0 + Order_header_lines_data = [] + for retval in MYSY_GV.dbname['partner_order_line'].aggregate(query): + if ('myclass_collection' in retval.keys() and len(retval['myclass_collection']) > 0): + user = {} + user['id'] = str(val_tmp) + val_tmp = val_tmp + 1 + user['_id'] = retval['_id'] + user['order_line_formation'] = retval['order_line_formation'] + user['order_line_qty'] = retval['order_line_qty'] + user['order_line_prix_unitaire'] = retval['order_line_prix_unitaire'] + user['order_header_id'] = retval['order_header_id'] + user['order_header_ref_interne'] = retval['order_header_ref_interne'] + user['valide'] = retval['valide'] + user['locked'] = retval['locked'] + + if ("order_line_montant_reduction" in retval.keys()): + user['order_line_montant_reduction'] = retval['order_line_montant_reduction'] + else: + user['order_line_montant_reduction'] = "0" + + if ("order_line_montant_toutes_taxes" in retval.keys()): + user['order_line_montant_toutes_taxes'] = retval['order_line_montant_toutes_taxes'] + else: + user['order_line_montant_toutes_taxes'] = "0" + + if ("order_line_tax" in retval.keys()): + user['order_line_tax'] = retval['order_line_tax'] + else: + user['order_line_tax'] = "" + + if ("order_line_tax_amount" in retval.keys()): + user['order_line_tax_amount'] = retval['order_line_tax_amount'] + else: + user['order_line_tax_amount'] = "0" + + if ("order_line_type_reduction" in retval.keys()): + user['order_line_type_reduction'] = retval['order_line_type_reduction'] + else: + user['order_line_montant_reduction'] = "" + + if ("order_line_type_valeur" in retval.keys()): + user['order_line_type_valeur'] = retval['order_line_type_valeur'] + else: + user['order_line_type_valeur'] = "0" + + if ("order_line_montant_hors_taxes" in retval.keys()): + user['order_line_montant_hors_taxes'] = str( + round(mycommon.tryFloat(str(retval['order_line_montant_hors_taxes'])), 2)) + else: + user['order_line_montant_hors_taxes'] = "0" + + user['date_update'] = retval['date_update'] + user['partner_owner_recid'] = retval['partner_owner_recid'] + user['order_line_type'] = retval['order_line_type'] + user['order_line_status'] = retval['order_line_status'] + if ("order_line_comment" in retval.keys()): + user['order_line_comment'] = retval['order_line_comment'] + else: + user['order_line_comment'] = "" + + user['title'] = retval['myclass_collection'][0]['title'] + user['order_line_formation_external_code'] = retval['myclass_collection'][0]['external_code'] + + if ("domaine" in retval['myclass_collection'][0].keys()): + user['domaine'] = retval['myclass_collection'][0]['domaine'] + else: + user['domaine'] = "" + + user['duration'] = retval['myclass_collection'][0]['duration'] + user['duration_unit'] = retval['myclass_collection'][0]['duration_unit'] + + if (str(retval['myclass_collection'][0]['duration_unit']) == "heure"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " h" + + elif (str(retval['myclass_collection'][0]['duration_unit']) == "jour"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " j" + + elif (str(retval['myclass_collection'][0]['duration_unit']) == "semaine"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " s" + + elif (str(retval['myclass_collection'][0]['duration_unit']) == "mois"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " m" + + elif (str(retval['myclass_collection'][0]['duration_unit']) == "annee"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " a" + + elif (str(retval['myclass_collection'][0]['duration_unit']) == "user_rythme"): + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " u" + + else: + user['duration_concat'] = str(retval['myclass_collection'][0]['duration']) + " ?" + + Order_header_lines_data.append(user) + + if (len(Order_header_lines_data) <= 0): + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - Aucune ligne de détail pour cette commande ") + return False, " Aucune ligne de détail pour cette commande " + + # print(" ### Order_header_lines_data = ", Order_header_lines_data) + + contenu_doc_Template = jinja2.Template(str(partner_document_CONF_ORDER_data['contenu_doc'])) + + contenu_doc_Template_subject = jinja2.Template(str(partner_document_CONF_ORDER_data['sujet'])) + + # print(" #### Order_header_data = ", Order_header_data) + Order_header_data['order_header_type'] = str(Order_header_data['order_header_type']).capitalize() + sourceHtml = contenu_doc_Template.render(params=Order_header_data, param_order_lines=Order_header_lines_data) + sujetHtml = str(Order_header_data['order_header_type']) + " : " + str( + Order_header_data['order_header_ref_interne']) + + new_model_courrier_with_code_tag = str( + sourceHtml) + "

Signature Client
 


" \ + "

 

" + + todays_date = str(date.today().strftime("%d_%m_%Y")) + ts = datetime.now().timestamp() + ts = str(ts).replace(".", "").replace(",", "")[-2:] + + orig_file_name = "Devis_" + str(my_partner['recid'])[0:5] + "_" + str(todays_date) + "_" + str(ts) + ".pdf" + outputFilename = str(MYSY_GV.TEMPORARY_DIRECTORY) + "/" + str(orig_file_name) + + # open output file for writing (truncated binary) + resultFile = open(outputFilename, "w+b") + + # convert HTML to PDF + pisaStatus = pisa.CreatePDF( + src=sourceHtml, # the HTML to convert + dest=resultFile) # file handle to receive result + + # close output file + resultFile.close() + + """ + Recuperation des parametre SMTP du partner si le client a decidé d'utiliser son propre smpt + """ + partner_own_smtp_value = "0" + partner_own_smtp = MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'partner_smtp', + 'valide': '1', + 'locked': '0'}) + + if (partner_own_smtp and "config_value" in partner_own_smtp.keys()): + partner_own_smtp_value = partner_own_smtp['config_value'] + + if (str(partner_own_smtp_value) == "1"): + partner_SMTP_COUNT_password = str(MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'smtp_user_pwd', + 'valide': '1', + 'locked': '0'}, {'config_value': 1})['config_value']) + + partner_SMTP_COUNT_smtpsrv = str(MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'smtp_server', + 'valide': '1', + 'locked': '0'}, {'config_value': 1})['config_value']) + + partner_SMTP_COUNT_user = str(MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'smtp_user', + 'valide': '1', + 'locked': '0'}, {'config_value': 1})['config_value']) + + partner_SMTP_COUNT_From_User = str(MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'smtp_count_from_name', + 'valide': '1', + 'locked': '0'}, {'config_value': 1})['config_value']) + + partner_SMTP_COUNT_port = str(MYSY_GV.dbname['base_partner_setup'].find_one( + {'partner_owner_recid': str(my_partner['recid']), + 'config_name': 'smtp_count_port', + 'valide': '1', + 'locked': '0'}, {'config_value': 1})['config_value']) + + if (str(partner_own_smtp_value) == "1"): + print("debut envoi mail de test ") + msg = EmailMessage() + msg.set_content(sourceHtml, subtype='html') + smtpserver = smtplib.SMTP(partner_SMTP_COUNT_smtpsrv, partner_SMTP_COUNT_port) + + """ + La commande est envoyée à l'adresse email qui se trouve sur la commande, le champ : 'order_header_email_client'. + + Si ce champ est vide alors on regarde si il y a un email sur la fiche client. + """ + client_main_mail_tmp = "" + + if ("order_header_email_client" in Order_header_data.keys() and Order_header_data[ + 'order_header_email_client']): + client_main_mail_tmp = str(Order_header_data['order_header_email_client']) + + if (mycommon.isEmailValide(client_main_mail_tmp) is True): + msg['To'] = client_main_mail_tmp + + else: + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - L'adresse email sur la commande n'est pas valide ") + return False, " L'adresse email sur la commande n'est pas valide " + + else: + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - Aucune adresse email sur la commande ") + return False, " Aucune adresse email sur la commande " + + msg['From'] = partner_SMTP_COUNT_From_User + msg['Bcc'] = 'contact@mysy-training.com' + msg['Subject'] = sujetHtml + + smtpserver.ehlo() + smtpserver.starttls() + smtpserver.login(partner_SMTP_COUNT_user, partner_SMTP_COUNT_password) + val = smtpserver.send_message(msg) + smtpserver.close() + print(" Email envoyé " + str(val)) + + + + else: + + print("debut envoi mail de test ") + msg = EmailMessage() + msg.set_content(sourceHtml, subtype='html') + smtpserver = smtplib.SMTP(MYSY_GV.O365_SMTP_COUNT_smtpsrv, MYSY_GV.O365_SMTP_COUNT_port) + + """ + La commande est envoyée à l'adresse email qui se trouve sur la commande, le champ : 'order_header_email_client'. + + Si ce champ est vide alors on regarde si il y a un email sur la fiche client. + """ + client_main_mail_tmp = "" + + if ("order_header_email_client" in Order_header_data.keys() and Order_header_data[ + 'order_header_email_client']): + client_main_mail_tmp = str(Order_header_data['order_header_email_client']) + + if (mycommon.isEmailValide(client_main_mail_tmp) is True): + msg['To'] = client_main_mail_tmp + + else: + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - L'adresse email sur la commande n'est pas valide ") + return False, " L'adresse email sur la commande n'est pas valide " + + else: + mycommon.myprint(str(inspect.stack()[0][ + 3]) + " - Aucune adresse email sur la commande ") + return False, " Aucune adresse email sur la commande " + + msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User + msg['Bcc'] = 'contact@mysy-training.com' + msg['Subject'] = sujetHtml + + smtpserver.ehlo() + smtpserver.starttls() + smtpserver.login(MYSY_GV.O365_SMTP_COUNT_user, MYSY_GV.O365_SMTP_COUNT_password) + val = smtpserver.send_message(msg) + smtpserver.close() + print(" Email envoyé " + str(val)) + + + + """ + Mettre à jour la commande /devis pour dire que quand le document a été envoyé + """ + updata_data = {} + updata_data['date_update'] = str(datetime.now()) + updata_data['update_by'] = str(my_partner['recid']) + updata_data['date_envoi_quotation'] = str(datetime.now()) + + todays_date = str(date.today().strftime("%d/%m/%Y")) + + updata_data['date_dernier_relance_auto'] = str(todays_date) + + MYSY_GV.dbname['partner_order_header'].find_one_and_update( + {'_id': ObjectId(str(Order_header_data['_id'])), + 'partner_owner_recid': str(Order_header_data['partner_owner_recid'])}, + {'$set': updata_data}) + + return True, " Relance envoyé à : '" + str(client_main_mail_tmp) + "' " + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + print(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno)) + return False, "Impossible de faire la relance du devis " +