From dc2d85742108f785079058f1e12c20d4bb38e444 Mon Sep 17 00:00:00 2001 From: cherif Date: Sat, 11 May 2024 19:30:07 +0200 Subject: [PATCH] dd --- .idea/workspace.xml | 27 +- Job_Cron.py | 163 ++- Log/log_file.log | 3087 +++++++++++++++++++++++++++++++++++++++++++ main.py | 13 +- 4 files changed, 3273 insertions(+), 17 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 475846d..135fe2a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,12 +1,11 @@ - + - + - - + @@ -461,7 +460,6 @@ - @@ -486,6 +484,7 @@ - \ No newline at end of file diff --git a/Job_Cron.py b/Job_Cron.py index 0b194d3..5029776 100644 --- a/Job_Cron.py +++ b/Job_Cron.py @@ -10,7 +10,9 @@ from pymongo import MongoClient import json from bson import ObjectId import re -from datetime import datetime +from datetime import datetime, date, timedelta + + import module_editique import prj_common as mycommon @@ -152,6 +154,9 @@ def Global_MySy_Cron_Traitement(): return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) +""" +CRON fonction qui envoie les demandes d'enquete +""" def Cron_Send_Survey(): try: for val in MYSY_GV.dbname['survey'].find({"automatique_traitement":"1", @@ -204,6 +209,162 @@ def Cron_Send_Survey(): upsert=False, ) + return True, "" + + + except Exception as e: + exc_type, exc_obj, exc_tb = sys.exc_info() + mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) + return False, str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno) + + +""" +CRON fonction qui fait les relances de devis + +/!\ Algorithme : + +1 - Recuperer dans la collection "base_partner_setup" les partenaires +qui ont la relance auto active : "relance_auto" + +2 - Pour chaque devis du partenaire concernée "partner_owner_recid", recuperé à l'etape 1 +Verifier que les devis repondent aux critères suivants (la collection : partner_order_header, order_header_type = "devis" +- devis n'a pas expiré +- devis relance_auto = 1 +- devis status : En cours => valeur 1 +- devis nb_relance non depassé +- on ne relance un devis que la frequence de la relance est gerée + +""" +def Cron_Quotation_Relance(): + try: + + todays_date = str(date.today().strftime("%d/%m/%Y")) + todays_date_ISODATE = datetime.strptime(str(todays_date), '%d/%m/%Y') + + for relance_setp in MYSY_GV.dbname['base_partner_setup'].find({'valide':'1', + 'locked':'0', + 'config_name':'relance_auto', + 'config_value':'1', + 'related_collection':'quotation', + 'partner_owner_recid': {'$ne': 'default'}, + + }): + + if( "partner_owner_recid" in relance_setp.keys() and relance_setp['partner_owner_recid'] ): + local_partner_owner_recid = str(relance_setp['partner_owner_recid']) + + + devis_qery_match = {'$and': [{'partner_owner_recid':str(local_partner_owner_recid), + 'valide':'1', + 'locked':'0', + 'relance_auto':'1'}, + + { + 'mysy_devis_expiration_date': { + '$gte': todays_date_ISODATE, + } + }, ]} + + pipe_qry = ([ + {"$addFields": { + "mysy_devis_expiration_date": { + '$dateFromString': { + 'dateString': '$order_header_date_expiration', + 'format': "%d/%m/%Y" + } + } + } + }, + + {'$match': devis_qery_match}, + ]) + + #print(" ## pipe_qry Cron_Quotation_Relance = ", pipe_qry) + for local_devis in MYSY_GV.dbname['partner_order_header'].aggregate(pipe_qry): + #print( "### local_devis a traiter = ", local_devis) + + relance_done = 0 + nb_limite_relance = 0 + + if( "nb_relance" in local_devis.keys() and local_devis['nb_relance']): + relance_done = mycommon.tryInt(str(local_devis['nb_relance'])) + + if ("nb_relance_auto" in local_devis.keys() and local_devis['nb_relance_auto']): + nb_limite_relance = mycommon.tryInt(str(local_devis['nb_relance_auto'])) + + + + date_derniere_relance_auto = "01/12/2099" + if( "date_dernier_relance_auto" in local_devis.keys() and local_devis['date_dernier_relance_auto'] ): + date_derniere_relance_auto = str(local_devis['date_dernier_relance_auto'])[0:10] + + date_derniere_relance_auto_ISODATE = datetime.strptime(str(date_derniere_relance_auto), '%d/%m/%Y') + + frequence_relance_auto = 0 + if ("frequence_relance_auto" in local_devis.keys() and local_devis['frequence_relance_auto']): + frequence_relance_auto = mycommon.tryInt(str(local_devis['frequence_relance_auto'])) + + new_relance_date_ISODATE = date_derniere_relance_auto_ISODATE + timedelta(days=frequence_relance_auto) + + print(" ### LA frequence_relance_auto ", frequence_relance_auto) + + print(" ### LA dernière relance date de ", date_derniere_relance_auto) + + print(" ### LA PROCHAINE RELANCE EST ", new_relance_date_ISODATE) + + + if( relance_done <= nb_limite_relance ): + + """ + On fait le traitement, on envoie le mail + """ + + """ + Une fois la relance faite, on met à jour le devis avec les infos suivant : + - liste_relance + + """ + + 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) + + else : + + local_node = {} + local_node['date_relance'] = str(date.today()) + local_devis['list_relance'] = [] + local_devis['list_relance'].append(local_node) + + 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(" limite relance atteint : ") + print(" limite relance_done : ", relance_done) + print(" limite nb_limite_relance : ", nb_limite_relance) return True, "" diff --git a/Log/log_file.log b/Log/log_file.log index df759f7..001fd54 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -2347379,3 +2347379,3090 @@ RuntimeError: Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:24:51.572736+02:00 (in 119.985294 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:24:51 CEST)" (scheduled at 2024-05-11 12:22:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:24:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:26:05.152731+02:00 (in 119.980606 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:26:05 CEST)" (scheduled at 2024-05-11 12:24:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:26: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:26:51.572736+02:00 (in 119.988677 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:26:51 CEST)" (scheduled at 2024-05-11 12:24:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:26:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:28:05.152731+02:00 (in 119.969067 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:28:05 CEST)" (scheduled at 2024-05-11 12:26:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:28: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:26:31.473499 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:26:31.482091 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:26:31.492420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:26:31.501400 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:26:31.509779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:26:31.517959 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:26:31.531363 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:26:31.548198 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:26:31] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:28:51.572736+02:00 (in 119.994015 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:28:51 CEST)" (scheduled at 2024-05-11 12:26:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:28:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:30:05.152731+02:00 (in 119.986605 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:30:05 CEST)" (scheduled at 2024-05-11 12:28:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:30: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:28:25.314854 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.321855 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.329862 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:28:25.336856 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.342824 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.352149 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.362688 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:28:25.393593 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:25.396590 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:25] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:28:47.311056 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:47.316138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:47.322133 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:47.329131 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:47.337135 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:28:47.346145 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:28:47.360871 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:28:47.368869 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:28:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:30:51.572736+02:00 (in 119.994844 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:30:51 CEST)" (scheduled at 2024-05-11 12:28:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:30:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:29:04.064293 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.069309 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.073314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.078536 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.084997 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.091481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:29:04.106802 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:29:04.112152 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:29:04] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:32:05.152731+02:00 (in 119.987225 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:32:05 CEST)" (scheduled at 2024-05-11 12:30:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:32: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:32:51.572736+02:00 (in 119.987851 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:32:51 CEST)" (scheduled at 2024-05-11 12:30:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:32:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:34:05.152731+02:00 (in 119.985365 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:34:05 CEST)" (scheduled at 2024-05-11 12:32:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:34: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:34:51.572736+02:00 (in 119.992696 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:34:51 CEST)" (scheduled at 2024-05-11 12:32:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:34:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:36:05.152731+02:00 (in 119.987907 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:36:05 CEST)" (scheduled at 2024-05-11 12:34:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:34:38.020114 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.026323 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.029443 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.037682 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:34:38.045977 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.051000 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.066038 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:34:38.089594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:34:38.093979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:34:38] "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-11 12:36:51.572736+02:00 (in 119.992737 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:36:51 CEST)" (scheduled at 2024-05-11 12:34:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:36:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:35:00.791595 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.794671 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.799203 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:00.806378 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.812389 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:00.822225 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.824454 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:00.836727 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:00] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:00.988654 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.992182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:00.995594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.001323 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.011420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.014638 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.023349 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.029892 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.038377 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.049190 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.052530 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.058549 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.071263 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:35:01.080483 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.089481 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:01.099026 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:01] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:03.235581 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:03] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:22.488196 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:22] "POST /myclass/api/Add_Update_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:22.589001 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:22] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:27.909214 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:27] "POST /myclass/api/Delete_Partner_Order_Header_And_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:35:28.126216 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:35:28] "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-11 12:38:05.152731+02:00 (in 119.982624 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:38:05 CEST)" (scheduled at 2024-05-11 12:36:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:38: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:36:19.514463 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.517464 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.521990 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.527992 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.532992 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:19.541995 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.549996 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:19.577998 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:19.585987 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:19] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:22.600843 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:22.603988 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:22] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:22] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:25.131320 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:25] "POST /myclass/api/Get_Given_Partner_Client_From_Id/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:32.867101 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:32] "POST /myclass/api/Add_Partner_Quotation/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:33.121134 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:33] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:36:37.911588 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:36:37.915121 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:37] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:36:37] "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-11 12:38:51.572736+02:00 (in 119.989254 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:38:51 CEST)" (scheduled at 2024-05-11 12:36:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:38:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 12:40:05.152731+02:00 (in 119.989964 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:40:05 CEST)" (scheduled at 2024-05-11 12:38:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:40: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:38:29.381420 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.386426 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.389422 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.395946 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:29.402321 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.409037 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.417035 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:29.438779 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:29.442432 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:29] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:30.282038 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:30.287521 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:30.292795 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:30.298009 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:30.305014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:30.313014 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_Client_Type_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:30.325016 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_List_Site_Formation_with_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:30.335143 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_Competence_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_CRM_List_Opportunite_Etape/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:30] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:38:31.017523 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:38:31.020516 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:31] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:38:31] "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-11 12:40:51.572736+02:00 (in 119.998036 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:40:51 CEST)" (scheduled at 2024-05-11 12:38:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:40:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:39:10.885512 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:10.895555 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:10] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:10] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.213095 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.218449 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.223114 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.230156 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.236168 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.243182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.247370 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.257276 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.464537 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.467550 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.473362 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.477568 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.485152 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.492808 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.506186 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.536749 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.541570 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.550962 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.575127 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.581126 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.592563 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.598583 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.632009 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.642820 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:18.692640 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:18.701641 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:18] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:39:20.186708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:39:20.190726 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:20] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:39:20] "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-11 12:42:05.152731+02:00 (in 119.977447 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:42:05 CEST)" (scheduled at 2024-05-11 12:40:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:42: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:40:05.257239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:05.260219 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:05.264848 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:05.270251 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:05.277598 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:05.284268 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:05.289727 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:05.310067 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:05.323595 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:05] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:08.023312 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:08.026317 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:08] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:08] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.053735 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.057144 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.064313 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.068468 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.074180 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.080347 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.080347 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.093195 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.252251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.256371 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.259813 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.265500 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.271791 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.277822 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.284740 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.303564 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.313519 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.329010 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.340081 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.347565 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.369050 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.378096 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.391915 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.421737 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:21.432763 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:21.446995 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:21] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:40:37.452679 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:40:37.455677 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:37] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:40:37] "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-11 12:42:51.572736+02:00 (in 119.991841 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:42:51 CEST)" (scheduled at 2024-05-11 12:40:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:42:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:41:24.683796 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:24.687837 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:24.691217 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:24.696932 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:24.703444 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:24.707182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:24.722278 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:24.736104 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:24.743464 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:24] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:39.963026 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:39.966585 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:39.971912 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:39] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:39.978785 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:39.986680 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:39.992454 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:39] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:40.000303 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:40.011460 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:40.034187 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:40.512048 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:40.515046 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:40] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:46.427837 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:46] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:46.680287 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:46.684378 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:46] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:46.706897 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:46] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:46] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:49.407757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:49.411452 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:49] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:49] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:41:53.153664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:41:53.155660 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:53] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:41:53] "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-11 12:44:05.152731+02:00 (in 119.983469 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:44:05 CEST)" (scheduled at 2024-05-11 12:42:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:44: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:42:40.356565 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.372652 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.381203 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.385904 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.388218 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-11 12:42:40.390386 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.399310 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.407516 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.584743 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.588746 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.592388 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.601138 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.606924 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.618456 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.626664 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.638128 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.651281 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.662640 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.681532 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.687524 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.701038 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.734251 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.744824 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.779944 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:40.788833 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:40.826697 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:40] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.373060 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.375709 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.378720 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.384154 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.388866 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.396807 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.396807 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.405887 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.578451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.581842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.585392 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.590754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.597239 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.605747 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.612301 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.640845 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.647912 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.653874 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.676399 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.691720 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.698572 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.715294 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.730012 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.755742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:47.767551 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:47.782832 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:47] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:42:49.114182 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:49.116949 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:49] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:49] "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-11 12:44:51.572736+02:00 (in 119.992051 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:44:51 CEST)" (scheduled at 2024-05-11 12:42:51.572736+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:44:51 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 12:42:54.876767 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:42:54.879848 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:54] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:42:54] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:26.422708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:26.426710 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:26] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:26] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:32.904847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.906847 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.912752 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:32.917162 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.922164 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.927716 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.933116 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:32.960518 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:32.967129 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:32] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:33] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:33] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:46.121666 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:46] "POST /myclass/api/Update_Partner_Quotation_Header/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:46.443753 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:46.447641 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:46.467996 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:46] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:46] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:46] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 12:43:53.021218 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 12:43:53.023754 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43:53] "POST /myclass/api/Get_Given_Partner_Order/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 12:43: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-11 12:46:05.152731+02:00 (in 119.987844 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:46:05 CEST)" (scheduled at 2024-05-11 12:44:05.152731+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 12:46: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 17:50:36.989927 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 17:50:36.990926 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 17:50:36.990926 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 17:50:36.990926 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 17:50:36.990926 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 17:52:37.077587+02:00 (in 119.997402 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-11 17:50:49.076288 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 17:50:49.077302 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 17:50:49.077302 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 17:50:49.077302 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 17:50:49.077302 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 17:52:49.168450+02:00 (in 119.997474 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 17:51:32.547256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.547256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.548256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.548256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.550254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.551255 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:32] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:32.970213 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.972675 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.982899 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:32.985316 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.544547 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:33.544547 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:33.549565 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.553564 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.559958 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.564729 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.874910 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:33.876927 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:33.877925 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.882928 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:33.891929 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:33.893927 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:33] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.202015 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.206042 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.209336 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.214770 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.216937 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.222844 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.530256 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.531257 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.532254 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.535213 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.539460 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.548278 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.855842 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.856846 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.860252 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.865292 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:34.871737 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:34.874398 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:34] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.179669 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.182293 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.185286 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.191206 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.195114 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.200377 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.505277 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.507314 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.509854 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.514321 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.522761 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.524780 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.833054 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.834261 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.835296 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.842300 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:35.849546 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:35.851663 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:35] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.159383 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.160395 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.162667 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.166495 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.173038 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.178056 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.487664 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.488181 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.489743 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 17:51:36.496306 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.498650 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 17:51:36.502033 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 17:51:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:52:37 CEST)" (scheduled at 2024-05-11 17:52:37.077587+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:54:37.077587+02:00 (in 119.998209 seconds) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:54: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:52:49 CEST)" (scheduled at 2024-05-11 17:52:49.168450+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:54:49.168450+02:00 (in 119.988446 seconds) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:54:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:56:37.077587+02:00 (in 119.990634 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:56:37 CEST)" (scheduled at 2024-05-11 17:54:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:56: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:56:49.168450+02:00 (in 119.984646 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:56:49 CEST)" (scheduled at 2024-05-11 17:54:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:56:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:58:37.077587+02:00 (in 119.997112 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:58:37 CEST)" (scheduled at 2024-05-11 17:56:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 17:58:49.168450+02:00 (in 119.998581 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:58:49 CEST)" (scheduled at 2024-05-11 17:56:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 17:58:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:00:37.077587+02:00 (in 119.991225 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:00:37 CEST)" (scheduled at 2024-05-11 17:58:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:00: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:00:49.168450+02:00 (in 119.984886 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:00:49 CEST)" (scheduled at 2024-05-11 17:58:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:00:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:02:37.077587+02:00 (in 119.985711 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:02:37 CEST)" (scheduled at 2024-05-11 18:00:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:02: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:02:49.168450+02:00 (in 119.996105 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:02:49 CEST)" (scheduled at 2024-05-11 18:00:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:02:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 18:01:35.885448 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:35.888445 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:35.891521 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:35.893526 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:35.897731 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:35.900099 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:35] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.252895 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.254897 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.270829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.274198 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.591598 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.595189 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.600451 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.606836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.611829 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.617714 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.623275 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.634594 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.637368 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.640497 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.647265 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.651325 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.655156 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.662520 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.666558 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.669827 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.674165 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.678451 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.684562 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.687957 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.692934 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.697182 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.703765 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.709888 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.715414 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.721922 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.726026 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.729036 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.735040 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.740935 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.747359 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.754050 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.760578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.766461 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.770947 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.779501 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.780514 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.788578 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.792905 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.800667 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.808871 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.813775 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.820101 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.827677 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.833435 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.841734 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.845100 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.853821 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.858342 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.865745 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.874436 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.878750 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.884811 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.892454 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.896919 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.902825 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.912193 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:36.917255 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.921708 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:36.927385 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/getRecodedClassImage_no_token/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:36] "POST /myclass/api/GetActiveSession_Cities_And_Distance_Formation_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:40.999964 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/partner_login/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.114986 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.118981 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.121984 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.129980 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.132979 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.138181 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.141679 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:root:2024-05-11 18:01:41.146088 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.160776 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.175758 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.275452 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.279274 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.284574 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.289562 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.298297 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.311885 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.315878 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.333742 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:01:41.346696 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:01:41.350817 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:01:41] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.098220 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.102992 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.106323 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.112492 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.117428 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.125797 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.132635 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.138335 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.148835 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.161325 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.182494 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.188440 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.198777 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_Partner_List_Partner_Client/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.224533 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Ressource_Humaine_no_filter/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.238349 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:16.251977 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_Given_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.259979 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:16.280653 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Paiement_Condition/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Partner_Basic_Setup/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Is_Partnair_Has_Digital_Signature/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/Get_List_Partner_Order_no_filter/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:16] "POST /myclass/api/GetAllValideSessionPartner_List/ HTTP/1.1" 200 - +INFO:root:2024-05-11 18:02:18.409724 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:02:18.412285 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:18] "POST /myclass/api/Get_Given_Partner_Order_Lines/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:02:18] "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-11 18:04:37.077587+02:00 (in 119.987467 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:04:37 CEST)" (scheduled at 2024-05-11 18:02:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:04: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:04:49.168450+02:00 (in 119.997389 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:04:49 CEST)" (scheduled at 2024-05-11 18:02:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:04:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:06:37.077587+02:00 (in 119.992533 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:06:37 CEST)" (scheduled at 2024-05-11 18:04:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:06: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:06:49.168450+02:00 (in 119.986422 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:06:49 CEST)" (scheduled at 2024-05-11 18:04:49.168450+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:06:49 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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:05:13.412329 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:05:13.412329 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:05:13.412329 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:05:13.412329 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:05:13.412845 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 18:07:13.473049+02:00 (in 119.996978 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-11 18:08:37.077587+02:00 (in 119.999072 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:08:37 CEST)" (scheduled at 2024-05-11 18:06:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:08: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:07:09.007082 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:07:09.008083 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:07:09.008083 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:07:09.008083 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:07:09.008083 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 18:09:09.060480+02:00 (in 119.998126 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\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:07:45.896994 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:07:45.896994 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:07:45.898013 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:07:45.898013 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:07:45.898013 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 18:09:45.950402+02:00 (in 119.997005 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-11 18:10:37.077587+02:00 (in 119.978890 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:10:37 CEST)" (scheduled at 2024-05-11 18:08:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:08:50.674407 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:08:50.674407 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:08:50.674407 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:08:50.674407 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:08:50.674407 : ++ 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-11 18:10:50.727961+02:00 (in 119.999000 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-11 18:12:37.077587+02:00 (in 119.984804 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:12:37 CEST)" (scheduled at 2024-05-11 18:10:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:12: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 18:10:50 CEST)" (scheduled at 2024-05-11 18:10:50.727961+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:12:50.727961+02:00 (in 119.998976 seconds) +INFO:root:2024-05-11 18:10:50.744876 : samedi, 11. mai 2024 06:10:50 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:12:50 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 9168, in Internal_Global_MySy_Cron_Traitement + 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-11 18:14:37.077587+02:00 (in 119.988498 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:14:37 CEST)" (scheduled at 2024-05-11 18:12:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:14: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:13:50.726974+02:00 (in 59.995994 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:14:50 CEST)" (scheduled at 2024-05-11 18:12:50.727961+02:00) +INFO:root:2024-05-11 18:12:50.733033 : samedi, 11. mai 2024 06:12:50 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR. +ERROR:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:14:50 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 9168, in Internal_Global_MySy_Cron_Traitement + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:13:36.103407 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:13:36.103407 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:13:36.103407 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:13:36.103407 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:13:36.104915 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 18:15:36.168851+02:00 (in 119.996888 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-11 18:16:37.077587+02:00 (in 119.985869 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:16:37 CEST)" (scheduled at 2024-05-11 18:14:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 18:15:40.440948 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:15:40.440948 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:15:40.440948 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:15:40.440948 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:15:40.441955 : ++ LMS_BAS_URL mysy-training.com/ ++ +INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts +INFO:apscheduler.scheduler:Added job "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-11 18:17:40.497967+02:00 (in 119.997582 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-11 18:18:37.077587+02:00 (in 119.987708 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:18:37 CEST)" (scheduled at 2024-05-11 18:16:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:18: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 18:17:28.995367 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:17:28.995367 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:17:28.995367 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:17:28.995367 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:17:28.995367 : ++ 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-11 18:19:29.049577+02:00 (in 119.998005 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-11 18:18:19.839170 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:18:19.839170 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:18:19.839170 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:18:19.839170 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:18:19.839170 : ++ 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-11 18:20:19.893289+02:00 (in 119.998566 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-11 18:20:37.077587+02:00 (in 119.987804 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:20:37 CEST)" (scheduled at 2024-05-11 18:18:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:20: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 18:18:58.373489 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:18:58.373489 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:18:58.373489 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:18:58.373489 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:18:58.373489 : ++ 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-11 18:20:58.426192+02:00 (in 119.997659 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-11 18:22:37.077587+02:00 (in 119.987825 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:22:37 CEST)" (scheduled at 2024-05-11 18:20:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 18:20:49.047720 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:20:49.047720 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:20:49.047720 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:20:49.047720 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:20:49.047720 : ++ 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-11 18:22:49.102025+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-11 18:21:10.030437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:21:10.030437 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:21:10.030437 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:21:10.030437 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:21:10.030437 : ++ 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-11 18:23:10.087021+02:00 (in 119.997998 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-11 18:21:53.063750 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:21:53.064750 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:21:53.064750 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:21:53.064750 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:21:53.064750 : ++ 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-11 18:23:53.119048+02:00 (in 119.998453 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-11 18:24:37.077587+02:00 (in 119.995077 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:24:37 CEST)" (scheduled at 2024-05-11 18:22:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:24: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +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-11 18:22:50.412255 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:22:50.413255 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:22:50.413255 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:22:50.413255 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:22:50.413255 : ++ 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-11 18:24:50.480254+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-11 18:23:04.157452 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:23:04.157452 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:23:04.157452 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:23:04.157452 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:23:04.157452 : ++ 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-11 18:25:04.215228+02:00 (in 119.998010 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-11 18:23:29.250345 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:23:29.250345 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:23:29.250345 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:23:29.250345 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:23:29.250345 : ++ 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-11 18:25:29.305364+02:00 (in 119.997001 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-11 18:23:41.144664 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:23:41.144664 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:23:41.144664 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:23:41.144664 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:23:41.144664 : ++ 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-11 18:25:41.197310+02:00 (in 119.998005 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-11 18:24:09.135409 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:24:09.135409 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:24:09.135409 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:24:09.136413 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:24:09.136413 : ++ 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-11 18:26:09.192249+02:00 (in 119.997286 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:26:37.077587+02:00 (in 119.993493 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:26:37 CEST)" (scheduled at 2024-05-11 18:24:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:26: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 18:24:43.435437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:24:43.435437 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:24:43.435437 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:24:43.435437 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:24:43.435437 : ++ 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-11 18:26:43.487916+02:00 (in 119.997801 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-11 18:24:59.459858 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:24:59.459858 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:24:59.459858 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:24:59.459858 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:24:59.459858 : ++ 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-11 18:26:59.516047+02:00 (in 119.992012 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-11 18:25:12.625787 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:25:12.626782 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:25:12.626782 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:25:12.626782 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:25:12.626782 : ++ 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-11 18:27:12.678613+02:00 (in 119.998005 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-11 18:26:13.832123 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:26:13.832123 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:26:13.833129 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:26:13.833129 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:26:13.833129 : ++ 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-11 18:28:13.886504+02:00 (in 119.997289 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:28:37.077587+02:00 (in 119.991420 seconds) +INFO:apscheduler.executors.default:Running job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:28:37 CEST)" (scheduled at 2024-05-11 18:26:37.077587+02:00) +ERROR:apscheduler.executors.default:Job "Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18: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 136, in wrapped_function + if automatic_options and request.method == 'OPTIONS': + 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 request context. + +This typically means that you attempted to use functionality that needed +an active HTTP request. Consult the documentation on testing for +information about how to avoid this problem. +INFO:root:2024-05-11 18:26:37.741614 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:26:37.741614 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:26:37.741614 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:26:37.741614 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:26:37.741614 : ++ 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-11 18:28:37.795197+02:00 (in 119.997469 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2024-05-11 18:45:09.216824 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:45:09.216824 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:45:09.216824 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:45:09.216824 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:45:09.216824 : ++ 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-11 18:47:09.271537+02:00 (in 119.998000 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-11 18:45:18.190584 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:45:18.191586 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:45:18.191586 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:45:18.191586 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:45:18.191586 : ++ 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-11 18:47:18.246676+02:00 (in 119.997417 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 18:45:30.681451 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:45:34.583463 : Cron_Quotation_Relance -'relance_setp' - Line : 250 +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:45:34] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO: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-11 18:46:07.409335 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:46:07.409335 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:46:07.409335 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:46:07.409335 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:46:07.409335 : ++ 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-11 18:48:07.463246+02:00 (in 119.998000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +DEBUG:apscheduler.scheduler:Looking for jobs to run +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:47:09 CEST)" (scheduled at 2024-05-11 18:47:09.271537+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:48:09.271537+02:00 (in 59.995518 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:49:09 CEST)" executed successfully +INFO:root:2024-05-11 18:47:56.822391 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 18:47:57.265534 : Cron_Quotation_Relance -'relance_setp' - Line : 251 +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:47:57] "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-11 18:48:07 CEST)" (scheduled at 2024-05-11 18:48:07.463246+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:49:07.463246+02:00 (in 59.990272 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:50:07 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:49:09.271537+02:00 (in 59.981917 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 18:51:09 CEST)" (scheduled at 2024-05-11 18:48:09.271537+02:00) +INFO:root:2024-05-11 18:48:09.293621 : samedi, 11. mai 2024 06:48:09 : 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-11 18:51:09 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-11 18:48:18.002731 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:48:18.002731 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:48:18.002731 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:48:18.002731 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:48:18.002731 : ++ 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-11 18:50:18.058746+02:00 (in 119.998024 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 18:48:23.739536 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:48:23] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2024-05-11 18:49:05.946425 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:49:05.946425 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:49:05.946425 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:49:05.946425 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:49:05.946425 : ++ 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-11 18:51:06.005901+02:00 (in 119.996213 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-11 18:49:15.409859 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:49:15.409859 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:49:15.409859 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:49:15.409859 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:49:15.409859 : ++ 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-11 18:51:15.465823+02:00 (in 119.997703 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-11 18:51:06 CEST)" (scheduled at 2024-05-11 18:51:06.005901+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:52:06.005901+02:00 (in 59.990743 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:53:06 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-11 18:51:15 CEST)" (scheduled at 2024-05-11 18:51:15.465823+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:51:15 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:52:15.465823+02:00 (in 59.985338 seconds) +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:53:06.005901+02:00 (in 59.997493 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 18:55:06 CEST)" (scheduled at 2024-05-11 18:52:06.005901+02:00) +INFO:root:2024-05-11 18:52:06.015401 : samedi, 11. mai 2024 06:52:06 : 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-11 18:55:06 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-11 18:53:15.465823+02:00 (in 59.983046 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 18:55:15 CEST)" (scheduled at 2024-05-11 18:52:15.465823+02:00) +INFO:root:2024-05-11 18:52:15.500042 : samedi, 11. mai 2024 06:52:15 : 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-11 18:55:15 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-11 18:55:06.005901+02:00 (in 119.997766 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:55:06 CEST)" (scheduled at 2024-05-11 18:53:06.005901+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:55:06 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:55:15.465823+02:00 (in 119.984083 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:55:15 CEST)" (scheduled at 2024-05-11 18:53:15.465823+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:55:15 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-11 18:57:06 CEST)" (scheduled at 2024-05-11 18:55:06.005901+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-11 18:58:06 CEST)" (scheduled at 2024-05-11 18:55:06.005901+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:57:06 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:57:06.005901+02:00 (in 119.988676 seconds) +INFO:root:2024-05-11 18:55:06.019328 : samedi, 11. mai 2024 06:55:06 : 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-11 18:58:06 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-11 18:58:15 CEST)" (scheduled at 2024-05-11 18:55:15.465823+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:55:15 CEST)" (scheduled at 2024-05-11 18:55:15.465823+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:57:15.465823+02:00 (in 119.996818 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:57:15 CEST)" executed successfully +INFO:root:2024-05-11 18:55:15.471307 : samedi, 11. mai 2024 06:55:15 : 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-11 18:58:15 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-11 18:58:06.005901+02:00 (in 59.994300 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:59:06 CEST)" (scheduled at 2024-05-11 18:57:06.005901+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:59:06 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:58:15.465823+02:00 (in 59.993391 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:59:15 CEST)" (scheduled at 2024-05-11 18:57:15.465823+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 18:59:15 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 +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 18:59:06.005901+02:00 (in 59.992277 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 19:01:06 CEST)" (scheduled at 2024-05-11 18:58:06.005901+02:00) +INFO:root:2024-05-11 18:58:06.015270 : samedi, 11. mai 2024 06:58:06 : 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-11 19:01:06 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-11 18:58:12.568032 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:58:12.568032 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:58:12.568032 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:58:12.568032 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:58:12.568032 : ++ 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-11 19:00:12.620433+02:00 (in 119.997658 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-11 18:58:49.448254 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:58:49.448254 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:58:49.448254 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:58:49.448254 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:58:49.448254 : ++ 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-11 19:00:49.500667+02:00 (in 119.997378 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-11 19:01:06.005901+02:00 (in 119.986108 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:01:06 CEST)" (scheduled at 2024-05-11 18:59:06.005901+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:01:06 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-11 18:59:37.185007 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 18:59:37.185007 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 18:59:37.185007 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 18:59:37.185007 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 18:59:37.185007 : ++ 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-11 19:01:37.237248+02:00 (in 119.997437 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 18:59:40.947180 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 18:59: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-11 19:03:06.005901+02:00 (in 119.988898 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:03:06 CEST)" (scheduled at 2024-05-11 19:01:06.005901+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:03:06 CEST)" executed successfully +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 19:04:06 CEST)" (scheduled at 2024-05-11 19:01:06.005901+02:00) +INFO:root:2024-05-11 19:01:06.019607 : samedi, 11. mai 2024 07:01:06 : 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-11 19:04:06 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-11 19:01:16.028494 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:01:16.028494 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:01:16.028494 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:01:16.028494 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:01:16.028494 : ++ 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-11 19:03:16.080005+02:00 (in 119.998000 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:werkzeug: * Restarting with stat +INFO:apscheduler.scheduler:Scheduler has been shut down +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added +INFO:root:2024-05-11 19:05:15.082368 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:05:15.083190 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:05:15.083190 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:05:15.083190 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:05:15.083190 : ++ 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-11 19:07:15.143403+02:00 (in 119.996447 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-11 19:05:23.810362 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:05:23.810362 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:05:23.810362 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:05:23.810908 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:05:23.810908 : ++ 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-11 19:07:23.864814+02:00 (in 119.997885 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:05:30.530722 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:05:30] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-11 19:06:00.474447 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:06:00] "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-11 19:06:27.074039 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:06:27.074039 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:06:27.074039 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:06:27.074039 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:06:27.074039 : ++ 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-11 19:08:27.127348+02:00 (in 119.997817 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:06:30.812648 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:06:30] "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-11 19:06:59.762959 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:06:59.762959 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:06:59.762959 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:06:59.762959 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:06:59.762959 : ++ 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-11 19:08:59.819302+02:00 (in 119.998004 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:07:06.830015 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:07:06] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-11 19:07:07.647658 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:07:07] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-11 19:07:08.422722 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:07:08] "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-11 19:07:15 CEST)" (scheduled at 2024-05-11 19:07:15.143403+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:07:15 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:08:15.143403+02:00 (in 59.992856 seconds) +INFO:root:2024-05-11 19:07:18.908785 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:07:18] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-11 19:07:36.148837 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:07:36] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO: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-11 19:09:15.143403+02:00 (in 59.988553 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 19:11:15 CEST)" (scheduled at 2024-05-11 19:08:15.143403+02:00) +INFO:root:2024-05-11 19:08:15.172259 : samedi, 11. mai 2024 07:08:15 : 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-11 19:11:15 CEST)" raised an exception +Traceback (most recent call last): + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job + retval = job.func(*job.args, **job.kwargs) + File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3955, in Flask_Cron_Strip_Get_Customer_Abonnement_Data + return jsonify(status=localStatus, message=message) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify + return current_app.json.response(*args, **kwargs) + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__ + obj = instance._get_current_object() + File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object + raise RuntimeError(unbound_message) from None +RuntimeError: Working outside of application context. + +This typically means that you attempted to use functionality that needed +the current application. To solve this, set up an application context +with app.app_context(). See the documentation for more information. +INFO:werkzeug: * Restarting with stat +INFO:root:2024-05-11 19:08:24.920572 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:08:24.920572 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:08:24.920572 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:08:24.921571 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:08:24.921571 : ++ 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-11 19:10:24.977061+02:00 (in 119.998999 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:08:25.014416 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:08:25] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO: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-11 19:08:57.359246 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:08:57.359246 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:08:57.359246 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:08:57.359246 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:08:57.359246 : ++ 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-11 19:10:57.413117+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-11 19:11:15.143403+02:00 (in 119.998637 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:11:15 CEST)" (scheduled at 2024-05-11 19:09:15.143403+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:11:15 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-11 19:10:02.045471 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:10:02.045471 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:10:02.045471 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:10:02.045471 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:10:02.045471 : ++ 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-11 19:12:02.110008+02:00 (in 119.997619 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-11 19:10:27.150290 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:10:27.150290 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:10:27.150290 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:10:27.150290 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:10:27.150290 : ++ 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-11 19:12:27.207372+02:00 (in 119.997943 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-11 19:14:15 CEST)" (scheduled at 2024-05-11 19:11:15.143403+02:00) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:13:15 CEST)" (scheduled at 2024-05-11 19:11:15.143403+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:13:15.143403+02:00 (in 119.998472 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:13:15 CEST)" executed successfully +INFO:root:2024-05-11 19:11:15.146931 : samedi, 11. mai 2024 07:11:15 : 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-11 19:14:15 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-11 19:12:23.885445 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:12:23.885445 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:12:23.885445 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:12:23.885445 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:12:23.885445 : ++ 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-11 19:14:23.941688+02:00 (in 119.997597 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-11 19:14:15.143403+02:00 (in 59.996376 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:15:15 CEST)" (scheduled at 2024-05-11 19:13:15.143403+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:15:15 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Looking for jobs to run +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:15:15.143403+02:00 (in 59.983887 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 19:17:15 CEST)" (scheduled at 2024-05-11 19:14:15.143403+02:00) +INFO:root:2024-05-11 19:14:15.161542 : samedi, 11. mai 2024 07:14:15 : 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-11 19:17:15 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-11 19:14:23 CEST)" (scheduled at 2024-05-11 19:14:23.941688+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:15:23.941688+02:00 (in 59.994282 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:16:23 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-11 19:14:59.834103 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:14:59.834103 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:14:59.834103 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:14:59.834103 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:14:59.834103 : ++ 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-11 19:16:59.891443+02:00 (in 119.997747 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-11 19:17:15.143403+02:00 (in 119.992237 seconds) +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:17:15 CEST)" (scheduled at 2024-05-11 19:15:15.143403+02:00) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:17:15 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: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-11 19:22:35.331625 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:22:35.331625 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:22:35.332635 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:22:35.332635 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:22:35.332635 : ++ 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-11 19:24:35.383879+02:00 (in 119.997988 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-11 19:22:44.190677 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:22:44.191680 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:22:44.191680 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:22:44.191680 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:22:44.191680 : ++ 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-11 19:24:44.256508+02:00 (in 119.997984 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:22:44.297497 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 19:22:44.759762 : Cron_Quotation_Relance -type object 'datetime.datetime' has no attribute 'timedelta' - Line : 305 +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:22:44] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Job_Cron.py', reloading +INFO: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 +INFO:apscheduler.executors.default:Running job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:24:35 CEST)" (scheduled at 2024-05-11 19:24:35.383879+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:25:35.383115+02:00 (in 59.994779 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:26:35 CEST)" executed successfully +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-11 19:26:02.580342 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:26:02.580342 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:26:02.580342 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:26:02.580342 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:26:02.580342 : ++ 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-11 19:28:02.634351+02:00 (in 119.997231 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-11 19:26:11.236273 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:26:11.236273 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:26:11.236273 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:26:11.236273 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:26:11.236273 : ++ 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-11 19:28:11.288459+02:00 (in 119.997150 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:26:11.328696 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 19:26:11.803734 : Global_MySy_Cron_Traitement -module 'datetime' has no attribute 'now' - Line : 58 +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:26:11] "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-11 19:26:32.543901 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:26:32.543901 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:26:32.543901 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:26:32.543901 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:26:32.543901 : ++ 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-11 19:28:32.597436+02:00 (in 119.997992 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-11 19:26:50.240829 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:26:50.240829 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:26:50.240829 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:26:50.240829 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:26:50.240829 : ++ 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-11 19:28:50.305842+02:00 (in 119.998449 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:26:51.378275 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:26:51] "GET /myclass/api/Global_MySy_Cron_Traitement/ HTTP/1.1" 200 - +INFO:root:2024-05-11 19:27:59.216419 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:27:59] "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-11 19:28:02 CEST)" (scheduled at 2024-05-11 19:28: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:28:02 CEST)" executed successfully +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:29:02.633356+02:00 (in 59.993813 seconds) +INFO:root:2024-05-11 19:28:23.860757 : Security check : IP adresse '127.0.0.1' connected +INFO:root:2024-05-11 19:28:24.357451 : Cron_Quotation_Relance -time data '6' does not match format '%d/%m/%Y' - Line : 301 +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:28:24] "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-11 19:28:50 CEST)" (scheduled at 2024-05-11 19:28:50.305842+02:00) +DEBUG:apscheduler.scheduler:Next wakeup is due at 2024-05-11 19:29:50.304559+02:00 (in 59.994366 seconds) +INFO:apscheduler.executors.default:Job "Internal_Global_MySy_Cron_Traitement (trigger: interval[0:02:00], next run at: 2024-05-11 19:30:50 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-11 19:29:00.232686 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++ +INFO:root:2024-05-11 19:29:00.232686 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++ +INFO:root:2024-05-11 19:29:00.232686 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++ +INFO:root:2024-05-11 19:29:00.232686 : ++ FLASK PORT 5001 ++ +INFO:root:2024-05-11 19:29:00.232686 : ++ 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-11 19:31:00.288815+02:00 (in 119.997452 seconds) +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 877-541-979 +INFO:root:2024-05-11 19:29:00.326836 : Security check : IP adresse '127.0.0.1' connected +INFO:werkzeug:127.0.0.1 - - [11/May/2024 19:29:00] "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-11 19:30:02.634351+02:00 (in 59.997911 seconds) +INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:03:00], next run at: 2024-05-11 19:32:02 CEST)" (scheduled at 2024-05-11 19:29:02.633356+02:00) +INFO:root:2024-05-11 19:29:02.652793 : samedi, 11. mai 2024 07:29:02 : 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-11 19:32:02 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. diff --git a/main.py b/main.py index 711de3e..3ab3719 100644 --- a/main.py +++ b/main.py @@ -9162,6 +9162,13 @@ def Global_MySy_Cron_Traitement(): return jsonify(status=status, message=retval) +def Internal_Global_MySy_Cron_Traitement(): + print(" ### CRONNN Internal_Global_MySy_Cron_Traitement : payload = ") + #localStatus, message = Stripe.Cron_Strip_Get_Customer_Abonnement_Data() + return True + + + if __name__ == '__main__': print(" debut api") context = SSL.Context(SSL.SSLv23_METHOD) @@ -9185,8 +9192,10 @@ if __name__ == '__main__': """ scheduler = BackgroundScheduler() # Create the job - #scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=5) - scheduler.add_job(func=Global_MySy_Cron_Traitement, trigger="interval", minutes=2) + scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=3) + scheduler.add_job(func=Internal_Global_MySy_Cron_Traitement, trigger="interval", minutes=2) + + print(" ### scheduler.print_jobs() = ", scheduler.print_jobs()) # Start the scheduler scheduler.start()