diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index ac95d54..8e6455c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,14 +1,15 @@
-
+
+
-
-
-
-
+
+
+
+
@@ -380,7 +381,14 @@
1689020473211
-
+
+ 1689190734585
+
+
+
+ 1689190734585
+
+
@@ -395,7 +403,6 @@
-
@@ -420,6 +427,7 @@
-
+
+
\ No newline at end of file
diff --git a/Inscription_mgt.py b/Inscription_mgt.py
index ad690c4..b879d0b 100644
--- a/Inscription_mgt.py
+++ b/Inscription_mgt.py
@@ -94,6 +94,16 @@ def AddStagiairetoClass(diction):
Recuperation des info de la session de formation
"""
+ """
+ update : 13/07/23 : gestion des prix
+
+ - par defaut si le champs diction['price'] est rempli, alors on prend cette valeur.
+ - si cette valeur est vide ou inexistante, on va chercher le prix sur la session.
+ - Si aucun prix n'est mis sur la session, on va aller cherche le prix sur la formation.
+
+
+ """
+ new_price = "-1" # 0 ==> par defaut
for tmp_val in MYSY_GV.dbname['session_formation'].find({"formation_session_id":str(session_id)}):
mydata['date_du'] = tmp_val['date_debut']
mydata['date_au'] = tmp_val['date_fin']
@@ -110,6 +120,11 @@ def AddStagiairetoClass(diction):
if tmp_val['adresse']:
mydata['adresse'] = tmp_val['adresse']
+ if ("prix_session" in tmp_val.keys()):
+ if tmp_val['prix_session']:
+ new_price = tmp_val['prix_session']
+ mydata['price'] = tmp_val['prix_session']
+
print(" #### mydata = "+str(mydata))
@@ -167,11 +182,25 @@ def AddStagiairetoClass(diction):
new_status = str(diction['status']).strip()
mydata['status'] = str(new_status)
- new_price = "0" # 0 ==> par defaut
+
if ("price" in diction.keys()):
if diction['price']:
new_price = str(diction['price']).strip()
- mydata['price'] = new_price
+ mydata['price'] = str(diction['price']).strip()
+
+ # Verification des prix. si new_price = "-1" cela veut dire qu'il n'a pas de prix dans le diction ni sur la session
+ # Alors on va chercher le prix (prix public sans reduction) sur la formation
+ if( new_price == "-1"):
+ local_class = MYSY_GV.dbname['myclass'].find_one({'internal_url':str(diction['class_internal_url']).strip(),
+ 'valide':'1', 'locked':'0'})
+
+ if( 'price' in local_class.keys()):
+ mydata['price'] = str(local_class['price']).strip()
+ else:
+ mydata['price'] = '0'
+
+
+
coll_inscription = MYSY_GV.dbname['inscription']
@@ -1992,8 +2021,8 @@ def SendTrainingEvaluationEmail(diction):
"eval_date": {"$exists": True}})
if (tmp_count > 0):
- mycommon.myprint(str(inspect.stack()[0][3]) + " Vous avez deja evalué cette formation")
- return False, " Vous avez deja evalué cette formation"
+ mycommon.myprint(str(inspect.stack()[0][3]) + " Cette formation a déjà été évaluée")
+ return False, " Cette formation a déjà été évaluée"
RetObject = []
@@ -2326,7 +2355,7 @@ def PrintAttendeeCertification(diction):
"certification_send": {"$exists": True}})
if (tmp_count > 0):
- mycommon.myprint(str(inspect.stack()[0][3]) + " Vous avez deja evalué cette formation")
+ mycommon.myprint(str(inspect.stack()[0][3]) + " Vous avez deja envoyé le certificat")
return False, " Vous avez deja envoyé le certificat"
# Recuperation des données du partenaire
diff --git a/Log/log_file.log b/Log/log_file.log
index a565ccd..f4de348 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1651986,3 +1651986,7578 @@ RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
the current application. To solve this, set up an application context
with app.app_context(). See the documentation for more information.
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-13 13:50:25.070877 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 13:50:25.071879 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 13:50:25.072401 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 13:50:25.072401 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 13:50:25.072401 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 13:55:25.269109+02:00 (in 299.994322 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 13:50:43.649314 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 13:50:43.649314 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 13:50:43.649314 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 13:50:43.649314 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 13:50:43.649314 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 13:55:43.753114+02:00 (in 299.997979 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 471-765-110
+INFO:root:2023-07-13 13:51:06.255561 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:06.256588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:06.258587 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:10.195910 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:10.197878 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:10] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:13] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:13] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:28.806683 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:28.808691 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:28.810991 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:28.811668 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:28.813193 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:28.822206 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:28] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.150088 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.152124 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.159133 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.169009 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.176647 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.183669 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.477595 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.481141 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.496759 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.497798 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.500806 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.512201 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:51:29.805055 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:51:29.807124 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:51:29] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:22.264992 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:22.268986 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:22.271195 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:22] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:22] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:22] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.296950 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.299989 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.872743 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.876685 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.882865 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.887723 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.893741 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.897640 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.906214 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.914163 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.922287 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.926929 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.931521 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.939609 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.945248 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.950871 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.955853 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.963438 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.971936 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:23.975960 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.984361 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:23.993448 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:30.563321 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:30] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:31.069208 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:31.073868 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:31.078337 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:31] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:31.086412 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:31.100995 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:31] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:31] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:31] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:31.413355 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:31] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:35.030758 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:35] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:37.468480 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:37.478484 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:37] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:37.489577 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:37] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:45.655317 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:45] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:48.001296 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:48.007798 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:48.014022 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:48] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:48] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:51.650014 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:51.655101 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 13:53:51.660135 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 13:53:51.668861 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 13:53:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 13:55:25 CEST)" (scheduled at 2023-07-13 13:55:25.269109+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:00:25.269109+02:00 (in 299.984698 seconds)
+INFO:root:2023-07-13 13:55:25.309964 : jeudi, 13. juillet 2023 01:55:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:00:25 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 13:55:43 CEST)" (scheduled at 2023-07-13 13:55:43.753114+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:00:43.753114+02:00 (in 299.998784 seconds)
+INFO:root:2023-07-13 13:55:43.757836 : jeudi, 13. juillet 2023 01:55:43 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:00:43 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-13 14:15:32.696726 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 14:15:32.697743 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 14:15:32.697743 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 14:15:32.697743 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 14:15:32.697743 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:20:32.777597+02:00 (in 299.996433 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 14:15:44.397599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 14:15:44.398634 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 14:15:44.398634 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 14:15:44.398634 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 14:15:44.398634 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:20:44.466436+02:00 (in 299.996734 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 471-765-110
+INFO:root:2023-07-13 14:15:44.632587 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:15:44.635879 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:15:44.639918 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:15:44.642920 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:44] "POST /myclass/api/add_business_price/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:44] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:44] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:15:44.704478 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:44] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:44] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:15:58.301925 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:58] "POST /myclass/api/delete_business_price/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:15:58.754457 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:15:58] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:16:15.428068 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:16:15.434488 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:16:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:16:15.439765 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:16:15] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:16:15] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:17:51.333296 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:17:51.334674 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:17:51.339151 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:51] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:51] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:17:52.047573 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:17:52.054574 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:17:52.078277 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:52] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:17:52] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:20:32 CEST)" (scheduled at 2023-07-13 14:20:32.777597+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:25:32.777597+02:00 (in 299.990674 seconds)
+INFO:root:2023-07-13 14:20:32.801291 : jeudi, 13. juillet 2023 02:20:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:25:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:20:44 CEST)" (scheduled at 2023-07-13 14:20:44.466436+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:25:44.466436+02:00 (in 299.991371 seconds)
+INFO:root:2023-07-13 14:20:44.478328 : jeudi, 13. juillet 2023 02:20:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:25:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:30:32.777597+02:00 (in 299.990441 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:30:32 CEST)" (scheduled at 2023-07-13 14:25:32.777597+02:00)
+INFO:root:2023-07-13 14:25:32.788288 : jeudi, 13. juillet 2023 02:25:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:30:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:30:44.466436+02:00 (in 299.991186 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:30:44 CEST)" (scheduled at 2023-07-13 14:25:44.466436+02:00)
+INFO:root:2023-07-13 14:25:44.477518 : jeudi, 13. juillet 2023 02:25:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:30:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:29:50.555868 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:29:50.558425 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:29:50.562843 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:50] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:50] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:50] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:29:51.000368 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:29:51.009250 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:29:51.015248 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:51] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:29:51] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:30:21.591995 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:30:21.594236 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:30:21.595995 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:30:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:30:21] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:30:21] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:35:32.777597+02:00 (in 299.990380 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:35:32 CEST)" (scheduled at 2023-07-13 14:30:32.777597+02:00)
+INFO:root:2023-07-13 14:30:32.789194 : jeudi, 13. juillet 2023 02:30:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:35:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:35:44.466436+02:00 (in 299.984543 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:35:44 CEST)" (scheduled at 2023-07-13 14:30:44.466436+02:00)
+INFO:root:2023-07-13 14:30:44.483953 : jeudi, 13. juillet 2023 02:30:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:35:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:33:06.489767 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:33:06.490799 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:33:06.492800 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:06] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:06] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:06] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:33:07.022939 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:33:07.028870 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:33:07.036073 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:07] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:07] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:33:17.183273 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:33:17.490375 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:33:17.492377 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:17] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:33:17] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:34:35.548527 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:34:35.550680 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:34:35.553162 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:34:35.881700 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:34:35.887471 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:34:35.918208 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:34:35] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:35:13.606519 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:35:13.918029 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:35:13.922258 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:13] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:13] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:40:32.777597+02:00 (in 299.983381 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:40:32 CEST)" (scheduled at 2023-07-13 14:35:32.777597+02:00)
+INFO:root:2023-07-13 14:35:32.799732 : jeudi, 13. juillet 2023 02:35:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:40:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:40:44.466436+02:00 (in 299.988754 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:40:44 CEST)" (scheduled at 2023-07-13 14:35:44.466436+02:00)
+INFO:root:2023-07-13 14:35:44.481229 : jeudi, 13. juillet 2023 02:35:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:40:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:35:59.577782 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:35:59.581836 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:35:59.585198 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:35:59.853021 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:35:59.856665 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:35:59.860683 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:35:59] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:36:18.271265 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:18] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:36:18.579905 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:36:18.612782 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:18] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:18] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:36:42.853110 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:36:42.863874 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:36:42.870067 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:42] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:36:42] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:37:46.589428 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:37:46.599078 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:37:46.607205 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:37:46.614009 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:37:46.627410 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:37:46.633432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:37:46] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:38:20.295426 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:38:20.554255 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:38:20.568911 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:38:20.573925 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:38:20.603401 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:38:20.607398 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:38:20] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:45:32.777597+02:00 (in 299.995946 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:45:32 CEST)" (scheduled at 2023-07-13 14:40:32.777597+02:00)
+INFO:root:2023-07-13 14:40:32.785657 : jeudi, 13. juillet 2023 02:40:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:45:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:40:44.281654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:40:44.285660 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:40:44.287657 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:40:44.300046 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:40:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:40:44] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:40:44] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:40:44] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:45:44.466436+02:00 (in 299.984837 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:45:44 CEST)" (scheduled at 2023-07-13 14:40:44.466436+02:00)
+INFO:root:2023-07-13 14:40:44.483599 : jeudi, 13. juillet 2023 02:40:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:45:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:41:25.003047 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:41:28] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:16.474963 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:43:16.476974 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:43:16.478961 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:43:16.486099 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:16] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:16] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:40.204079 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:40.509739 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:43:40.511737 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:40] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:40] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:54.879108 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:43:54.883098 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:54.893100 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:54] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:43:54.902105 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:43:54] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:07.485642 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:45:07.487627 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:45:07.491642 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:07.504930 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:16.454266 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:16] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:16.767987 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:45:16.784088 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:16] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:16] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:21.951113 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:45:21.952105 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:45:21.953590 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:45:21.975960 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:21] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:45:21] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:50:32.777597+02:00 (in 299.989618 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:50:32 CEST)" (scheduled at 2023-07-13 14:45:32.777597+02:00)
+INFO:root:2023-07-13 14:45:32.865420 : jeudi, 13. juillet 2023 02:45:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:50:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:50:44.466436+02:00 (in 299.988963 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:50:44 CEST)" (scheduled at 2023-07-13 14:45:44.466436+02:00)
+INFO:root:2023-07-13 14:45:44.479469 : jeudi, 13. juillet 2023 02:45:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:50:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:47:18.147947 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:18] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:18.156752 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:47:18.159586 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:47:18.162863 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:18] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:18] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:18] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:23.630583 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:23] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:23.936536 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:47:23.941525 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:23] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:23] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:31.407891 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:47:31.412971 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:31.418592 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:31] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:47:31.427577 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:47:31] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:55:32.777597+02:00 (in 299.983852 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:55:32 CEST)" (scheduled at 2023-07-13 14:50:32.777597+02:00)
+INFO:root:2023-07-13 14:50:32.796729 : jeudi, 13. juillet 2023 02:50:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:55:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:50:34.954941 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:50:34.965896 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:50:34.968890 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:50:34.971305 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:34] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:34] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:34] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 14:55:44.466436+02:00 (in 299.994181 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:55:44 CEST)" (scheduled at 2023-07-13 14:50:44.466436+02:00)
+INFO:root:2023-07-13 14:50:44.474261 : jeudi, 13. juillet 2023 02:50:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 14:55:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:50:45.124561 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:45] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:50:45.428135 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:50:45.437343 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:45] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:45] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:50:51.485109 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:50:51.490209 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:50:51.502090 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:50:51.513109 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:50:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:54:51.484978 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:54:51.486977 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:54:51.496981 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:54:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:54:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:54:51.511517 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:54:51] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:54:51] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:03.256997 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:03] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:03.562742 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:55:03.569059 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:03] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:03] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:12.848933 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:55:12.854228 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:12.863508 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:12] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:12.870858 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:12] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:00:32.777597+02:00 (in 299.987553 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:00:32 CEST)" (scheduled at 2023-07-13 14:55:32.777597+02:00)
+INFO:root:2023-07-13 14:55:32.793895 : jeudi, 13. juillet 2023 02:55:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:00:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:00:44.466436+02:00 (in 299.990259 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:00:44 CEST)" (scheduled at 2023-07-13 14:55:44.466436+02:00)
+INFO:root:2023-07-13 14:55:44.478177 : jeudi, 13. juillet 2023 02:55:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:00:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 14:55:47.178544 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:47.503451 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:55:47.506500 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:55:47.511647 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:47] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:47] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:58.638539 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:55:58.644639 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:55:58.654151 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:58] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:55:58] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:56:04.356729 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:56:04] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:56:04.671115 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:56:04.672128 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:56:04.674127 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:56:04] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:56:04] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:56:04] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:05.487342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:05.488347 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:05.490341 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:05.492323 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:05] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:05] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:05] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:40.164637 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:40.479524 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:40.486480 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:40.494554 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:40] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:40] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:48.318761 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:48.322614 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:48.333390 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:48] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:48] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:53.510373 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:57:53.826143 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:53.828135 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:57:53.835590 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:53] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:57:53] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:58:16.810349 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:58:18] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:13.471409 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:13.489614 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:13.494617 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:13] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:13.504500 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:13] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:27.030210 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:27] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:27.346504 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:27.348504 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:27] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:27] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:50.678480 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:50.681502 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:50.684777 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:50] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:50] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:50] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:53.797346 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 14:59:54.110763 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:54.113188 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 14:59:54.114182 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:54] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 14:59:54] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:00:05.710565 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:00:07] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:05:32.777597+02:00 (in 299.989086 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:05:32 CEST)" (scheduled at 2023-07-13 15:00:32.777597+02:00)
+INFO:root:2023-07-13 15:00:32.798088 : jeudi, 13. juillet 2023 03:00:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:05:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:05:44.466436+02:00 (in 299.992898 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:05:44 CEST)" (scheduled at 2023-07-13 15:00:44.466436+02:00)
+INFO:root:2023-07-13 15:00:44.475341 : jeudi, 13. juillet 2023 03:00:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:05:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 15:01:39.042147 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:39.043162 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:39.045158 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:39.883250 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:39.892681 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:39.900017 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:39] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:42.408366 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:42.713933 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:42.717729 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:42] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:42] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:47.105133 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:47.106628 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:47.108641 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:47.112949 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:47] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:47] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:01:58.279767 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:01:59.883764 : AddStagiairetoClass - L'adresse email contact@mysy-training.com est deja inscrite à la session du AM02
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:01:59] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:02:24.217710 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:02:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:02:24.221940 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:02:24.225020 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:02:24.228834 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:02:24] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:02:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:02:24] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:02:46.209615 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:02:47] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:03:42.565483 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:03:42.566489 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:03:42.568497 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:03:42.585277 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:03:42.607557 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:03:42.612565 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:03:42.619257 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:03:42.632293 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:03:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:10.042426 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:10.346726 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:04:10.348746 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:10] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:10] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:12.596740 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:04:12.597748 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:04:12.605909 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:12.612712 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:12] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:12] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:12] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:23.079966 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:24] "POST /myclass/api/AddStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:45.795487 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:04:45.800504 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 15:04:45.805022 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:45.813043 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:45] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:45.821499 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:45] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:45] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:45] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:04:47.364974 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:04:47] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:10:32.777597+02:00 (in 299.996315 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:10:32 CEST)" (scheduled at 2023-07-13 15:05:32.777597+02:00)
+INFO:root:2023-07-13 15:05:32.784285 : jeudi, 13. juillet 2023 03:05:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:10:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:10:44.466436+02:00 (in 299.989560 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:10:44 CEST)" (scheduled at 2023-07-13 15:05:44.466436+02:00)
+INFO:root:2023-07-13 15:05:44.479889 : jeudi, 13. juillet 2023 03:05:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:10:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 15:06:42.066307 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:06:42] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 15:06:52.117343 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 15:06:52] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:15:32.777597+02:00 (in 299.998122 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:15:32 CEST)" (scheduled at 2023-07-13 15:10:32.777597+02:00)
+INFO:root:2023-07-13 15:10:32.785698 : jeudi, 13. juillet 2023 03:10:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:15:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:15:44.466436+02:00 (in 299.996843 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:15:44 CEST)" (scheduled at 2023-07-13 15:10:44.466436+02:00)
+INFO:root:2023-07-13 15:10:44.472254 : jeudi, 13. juillet 2023 03:10:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:15:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:20:32.777597+02:00 (in 299.983725 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:20:32 CEST)" (scheduled at 2023-07-13 15:15:32.777597+02:00)
+INFO:root:2023-07-13 15:15:32.801727 : jeudi, 13. juillet 2023 03:15:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:20:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:20:44.466436+02:00 (in 299.990028 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:20:44 CEST)" (scheduled at 2023-07-13 15:15:44.466436+02:00)
+INFO:root:2023-07-13 15:15:44.479635 : jeudi, 13. juillet 2023 03:15:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:20:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:25:32.777597+02:00 (in 299.997390 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:25:32 CEST)" (scheduled at 2023-07-13 15:20:32.777597+02:00)
+INFO:root:2023-07-13 15:20:32.790697 : jeudi, 13. juillet 2023 03:20:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:25:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:25:44.466436+02:00 (in 299.997485 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:25:44 CEST)" (scheduled at 2023-07-13 15:20:44.466436+02:00)
+INFO:root:2023-07-13 15:20:44.471312 : jeudi, 13. juillet 2023 03:20:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:25:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:30:32.777597+02:00 (in 299.984693 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:30:32 CEST)" (scheduled at 2023-07-13 15:25:32.777597+02:00)
+INFO:root:2023-07-13 15:25:32.796996 : jeudi, 13. juillet 2023 03:25:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:30:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:30:44.466436+02:00 (in 299.991399 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:30:44 CEST)" (scheduled at 2023-07-13 15:25:44.466436+02:00)
+INFO:root:2023-07-13 15:25:44.477960 : jeudi, 13. juillet 2023 03:25:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:30:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:35:32.777597+02:00 (in 299.988388 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:35:32 CEST)" (scheduled at 2023-07-13 15:30:32.777597+02:00)
+INFO:root:2023-07-13 15:30:32.792461 : jeudi, 13. juillet 2023 03:30:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:35:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 15:35:44.466436+02:00 (in 299.990072 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:35:44 CEST)" (scheduled at 2023-07-13 15:30:44.466436+02:00)
+INFO:root:2023-07-13 15:30:44.478380 : jeudi, 13. juillet 2023 03:30:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 15:35:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:00:32.777597+02:00 (in 102.061003 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:00:32 CEST)" was missed by 0:03:17.949319
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:00:44.466436+02:00 (in 102.059941 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:00:44 CEST)" was missed by 0:03:17.940059
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:05:32.777597+02:00 (in 299.976481 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:05:32 CEST)" (scheduled at 2023-07-13 16:00:32.777597+02:00)
+INFO:root:2023-07-13 16:00:32.818361 : jeudi, 13. juillet 2023 04:00:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:05:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:05:44.466436+02:00 (in 299.988711 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:05:44 CEST)" (scheduled at 2023-07-13 16:00:44.466436+02:00)
+INFO:root:2023-07-13 16:00:44.488806 : jeudi, 13. juillet 2023 04:00:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:05:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:10:32.777597+02:00 (in 299.987020 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:10:32 CEST)" (scheduled at 2023-07-13 16:05:32.777597+02:00)
+INFO:root:2023-07-13 16:05:32.800842 : jeudi, 13. juillet 2023 04:05:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:10:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:10:44.466436+02:00 (in 299.990349 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:10:44 CEST)" (scheduled at 2023-07-13 16:05:44.466436+02:00)
+INFO:root:2023-07-13 16:05:44.478322 : jeudi, 13. juillet 2023 04:05:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:10:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:15:32.777597+02:00 (in 299.990692 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:15:32 CEST)" (scheduled at 2023-07-13 16:10:32.777597+02:00)
+INFO:root:2023-07-13 16:10:32.796958 : jeudi, 13. juillet 2023 04:10:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:15:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:15:44.466436+02:00 (in 299.999017 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:15:44 CEST)" (scheduled at 2023-07-13 16:10:44.466436+02:00)
+INFO:root:2023-07-13 16:10:44.469421 : jeudi, 13. juillet 2023 04:10:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:15:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:20:32.777597+02:00 (in 299.990216 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:20:32 CEST)" (scheduled at 2023-07-13 16:15:32.777597+02:00)
+INFO:root:2023-07-13 16:15:32.790161 : jeudi, 13. juillet 2023 04:15:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:20:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:20:44.466436+02:00 (in 299.993953 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:20:44 CEST)" (scheduled at 2023-07-13 16:15:44.466436+02:00)
+INFO:root:2023-07-13 16:15:44.474515 : jeudi, 13. juillet 2023 04:15:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:20:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:25:32.777597+02:00 (in 299.984213 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:25:32 CEST)" (scheduled at 2023-07-13 16:20:32.777597+02:00)
+INFO:root:2023-07-13 16:20:32.802936 : jeudi, 13. juillet 2023 04:20:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:25:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:25:44.466436+02:00 (in 299.985839 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:25:44 CEST)" (scheduled at 2023-07-13 16:20:44.466436+02:00)
+INFO:root:2023-07-13 16:20:44.483161 : jeudi, 13. juillet 2023 04:20:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:25:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:30:32.777597+02:00 (in 299.992975 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:30:32 CEST)" (scheduled at 2023-07-13 16:25:32.777597+02:00)
+INFO:root:2023-07-13 16:25:32.793636 : jeudi, 13. juillet 2023 04:25:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:30:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:30:44.466436+02:00 (in 299.992433 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:30:44 CEST)" (scheduled at 2023-07-13 16:25:44.466436+02:00)
+INFO:root:2023-07-13 16:25:44.476538 : jeudi, 13. juillet 2023 04:25:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:30:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:35:32.777597+02:00 (in 299.983881 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:35:32 CEST)" (scheduled at 2023-07-13 16:30:32.777597+02:00)
+INFO:root:2023-07-13 16:30:32.803623 : jeudi, 13. juillet 2023 04:30:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:35:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:35:44.466436+02:00 (in 299.986012 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:35:44 CEST)" (scheduled at 2023-07-13 16:30:44.466436+02:00)
+INFO:root:2023-07-13 16:30:44.482477 : jeudi, 13. juillet 2023 04:30:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:35:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:40:32.777597+02:00 (in 299.989226 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:40:32 CEST)" (scheduled at 2023-07-13 16:35:32.777597+02:00)
+INFO:root:2023-07-13 16:35:32.791546 : jeudi, 13. juillet 2023 04:35:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:40:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:40:44.466436+02:00 (in 299.990076 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:40:44 CEST)" (scheduled at 2023-07-13 16:35:44.466436+02:00)
+INFO:root:2023-07-13 16:35:44.479892 : jeudi, 13. juillet 2023 04:35:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:40:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:45:32.777597+02:00 (in 299.992590 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:45:32 CEST)" (scheduled at 2023-07-13 16:40:32.777597+02:00)
+INFO:root:2023-07-13 16:40:32.790452 : jeudi, 13. juillet 2023 04:40:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:45:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:45:44.466436+02:00 (in 299.984312 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:45:44 CEST)" (scheduled at 2023-07-13 16:40:44.466436+02:00)
+INFO:root:2023-07-13 16:40:44.483561 : jeudi, 13. juillet 2023 04:40:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:45:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:50:32.777597+02:00 (in 299.990688 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:50:32 CEST)" (scheduled at 2023-07-13 16:45:32.777597+02:00)
+INFO:root:2023-07-13 16:45:32.790460 : jeudi, 13. juillet 2023 04:45:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:50:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:50:44.466436+02:00 (in 299.996989 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:50:44 CEST)" (scheduled at 2023-07-13 16:45:44.466436+02:00)
+INFO:root:2023-07-13 16:45:44.472429 : jeudi, 13. juillet 2023 04:45:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:50:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:55:32.777597+02:00 (in 299.991936 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:55:32 CEST)" (scheduled at 2023-07-13 16:50:32.777597+02:00)
+INFO:root:2023-07-13 16:50:32.794783 : jeudi, 13. juillet 2023 04:50:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:55:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 16:55:44.466436+02:00 (in 299.991742 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:55:44 CEST)" (scheduled at 2023-07-13 16:50:44.466436+02:00)
+INFO:root:2023-07-13 16:50:44.477468 : jeudi, 13. juillet 2023 04:50:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 16:55:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:00:32.777597+02:00 (in 299.988823 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:00:32 CEST)" (scheduled at 2023-07-13 16:55:32.777597+02:00)
+INFO:root:2023-07-13 16:55:32.790248 : jeudi, 13. juillet 2023 04:55:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:00:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:00:44.466436+02:00 (in 299.994439 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:00:44 CEST)" (scheduled at 2023-07-13 16:55:44.466436+02:00)
+INFO:root:2023-07-13 16:55:44.474433 : jeudi, 13. juillet 2023 04:55:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:00:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:05:32.777597+02:00 (in 299.995833 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:05:32 CEST)" (scheduled at 2023-07-13 17:00:32.777597+02:00)
+INFO:root:2023-07-13 17:00:32.790582 : jeudi, 13. juillet 2023 05:00:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:05:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:05:44.466436+02:00 (in 299.987281 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:05:44 CEST)" (scheduled at 2023-07-13 17:00:44.466436+02:00)
+INFO:root:2023-07-13 17:00:44.482148 : jeudi, 13. juillet 2023 05:00:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:05:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:10:32.777597+02:00 (in 299.995317 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:10:32 CEST)" (scheduled at 2023-07-13 17:05:32.777597+02:00)
+INFO:root:2023-07-13 17:05:32.784816 : jeudi, 13. juillet 2023 05:05:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:10:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:10:44.466436+02:00 (in 299.982962 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:10:44 CEST)" (scheduled at 2023-07-13 17:05:44.466436+02:00)
+INFO:root:2023-07-13 17:05:44.484751 : jeudi, 13. juillet 2023 05:05:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:10:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:15:32.777597+02:00 (in 299.991363 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:15:32 CEST)" (scheduled at 2023-07-13 17:10:32.777597+02:00)
+INFO:root:2023-07-13 17:10:32.788767 : jeudi, 13. juillet 2023 05:10:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:15:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:15:44.466436+02:00 (in 299.989590 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:15:44 CEST)" (scheduled at 2023-07-13 17:10:44.466436+02:00)
+INFO:root:2023-07-13 17:10:44.479042 : jeudi, 13. juillet 2023 05:10:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:15:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:20:32.777597+02:00 (in 299.990666 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:20:32 CEST)" (scheduled at 2023-07-13 17:15:32.777597+02:00)
+INFO:root:2023-07-13 17:15:32.788380 : jeudi, 13. juillet 2023 05:15:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:20:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 17:20:44.466436+02:00 (in 299.990038 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:20:44 CEST)" (scheduled at 2023-07-13 17:15:44.466436+02:00)
+INFO:root:2023-07-13 17:15:44.478756 : jeudi, 13. juillet 2023 05:15:44 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 17:20:44 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 20:01:32.649868 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:01:32.650865 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:01:32.650865 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:01:32.650865 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:01:32.650865 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:06:32.729965+02:00 (in 299.996997 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 20:01:45.271607 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:01:45.271607 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:01:45.271607 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:01:45.271607 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:01:45.271607 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:06:45.395151+02:00 (in 299.996994 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-13 20:01:53.825412 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:53.835930 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:53.837926 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:53] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:54.123062 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:54.125066 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:54.478305 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:54.785680 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:54.786692 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:54.787688 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:54.788701 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:54.794684 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:54.802694 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:54] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:55.115327 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.116325 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.117325 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.118319 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.123328 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:55.131332 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:55.444346 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.445364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.446344 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.447360 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:01:55.448359 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:55.456357 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:01:55.773868 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:01:55] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:06:32 CEST)" (scheduled at 2023-07-13 20:06:32.729965+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:11:32.729965+02:00 (in 299.987430 seconds)
+INFO:root:2023-07-13 20:06:32.756339 : jeudi, 13. juillet 2023 08:06:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:11:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:06:45 CEST)" (scheduled at 2023-07-13 20:06:45.395151+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:11:45.395151+02:00 (in 299.999149 seconds)
+INFO:root:2023-07-13 20:06:45.398004 : jeudi, 13. juillet 2023 08:06:45 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:11:45 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 3123, 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\\email_inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 20:08:06.153042 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:08:06.153042 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:08:06.153042 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:08:06.153042 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:08:06.153042 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:13:06.283225+02:00 (in 299.996999 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-13 20:08:06.900520 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:06.902525 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:06.903522 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:06] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:06] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:07] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:07.684710 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:07.686699 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:07] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.152893 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:08.156902 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.161922 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.166919 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:08.168924 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.176454 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.184449 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.192459 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:08.196449 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.202457 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.213449 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.222459 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.229459 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:08.234459 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.245451 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.251452 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.258469 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.266465 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:08.274561 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:08.281563 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:08] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:12.558125 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:12.730147 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:12.733141 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:12.737145 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:12.742149 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:12.749157 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:12.900976 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:12] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:15.857473 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:15] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:17.288916 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:17.291910 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:17.294912 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:17] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:17] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:22.478801 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:22.483034 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:22.487041 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:22.492107 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:08:22.495091 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:22] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:22] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:22] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:08:23.425727 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:08:23] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:16:32.729965+02:00 (in 299.997663 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:16:32 CEST)" (scheduled at 2023-07-13 20:11:32.729965+02:00)
+INFO:root:2023-07-13 20:11:32.735284 : jeudi, 13. juillet 2023 08:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:16:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:13:06 CEST)" (scheduled at 2023-07-13 20:13:06.283225+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:18:06.283225+02:00 (in 299.997240 seconds)
+INFO:root:2023-07-13 20:13:06.288965 : jeudi, 13. juillet 2023 08:13: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:05:00], next run at: 2023-07-13 20:18: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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 20:13:24.584968 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:13:24] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:14:33.067015 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:14:33] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:14:36.666555 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:14:36] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:14:47.123568 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n
\n\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\n\t\t
\n\n\t\t
\n\t\t\t
ATTESTION INDIVIDUELLE DE FORMATION \n\t\t\n\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\tPar la presente, l\'oganisme de formation MySy Demo 0506 au Numero de SIRET\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\tAtteste que
part nom2 part 2 a suivi la formation
\n\t\t\t\t\t\t
"PRATICIEN EN AROMATHERAPIE INTEGRATIVE" \n\t\t\t\t\t\trealisé par le formateur EFAI\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tCette formation a eu lieu du 02/11/2023 au 04/02/2024 à l\'adresse\n\t\t\t\t\t\t\t:A confirmer.\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tContenu de la formation :
\n\t\t\t\t\t\t\t
programme 1 programme 2 programme 3 \n\t\t\t\t\t\t\t\n\n\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tFait à le 13/07/2023\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tPour l\'organisme de formation
\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t
\n\n\t\t\t\t\t
\n\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\n\t\t\t
\n\n\t\t
\n\t\t\n\n\t
\n\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/Attestation_1689272087168554.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/1000formation/LOGO-FORMATION1000.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 60.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/perso/mysy_cachet.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/perso/mysy_cachet.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 210.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/perso/mysy_cachet.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/perso/mysy_cachet.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:14:51] "POST /myclass/api/SendAttendeeCertification/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:21:32.729965+02:00 (in 299.990562 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:21:32 CEST)" (scheduled at 2023-07-13 20:16:32.729965+02:00)
+INFO:root:2023-07-13 20:16:32.741402 : jeudi, 13. juillet 2023 08:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:21:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:23:06.283225+02:00 (in 299.986192 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:23:06 CEST)" (scheduled at 2023-07-13 20:18:06.283225+02:00)
+INFO:root:2023-07-13 20:18:06.299044 : jeudi, 13. juillet 2023 08:18: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:05:00], next run at: 2023-07-13 20:23: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 3123, 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\\email_inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 20:21:30.039904 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:21:30.039904 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:21:30.040906 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:21:30.040906 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:21:30.040906 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:26:30.100387+02:00 (in 299.998005 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:26:32.729965+02:00 (in 299.992311 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:26:32 CEST)" (scheduled at 2023-07-13 20:21:32.729965+02:00)
+INFO:root:2023-07-13 20:21:32.740208 : jeudi, 13. juillet 2023 08:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:26:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-13 20:21:35.935655 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:21:35.940166 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:21:35.944184 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:35] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:35] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:35] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:21:38.344522 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:21:38.347515 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:21:38.349513 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-13 20:21:38.354518 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:38] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:21:38.357518 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:38] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:38] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:38] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:38] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:21:39.261688 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:39] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:21:59.535935 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:21:59] "POST /myclass/api/GetAttendeeDetail_perSession/ HTTP/1.1" 200 -
+INFO:root:2023-07-13 20:22:03.111674 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\n\t\t
\n\n\t\t
\n\t\t\t
ATTESTION INDIVIDUELLE DE FORMATION \n\t\t\n\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\tPar la presente, l\'oganisme de formation MySy Demo 0506 au Numero de SIRET\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\tAtteste que
part nom2 part 2 a suivi la formation
\n\t\t\t\t\t\t
"PRATICIEN EN AROMATHERAPIE INTEGRATIVE" \n\t\t\t\t\t\trealisé par le formateur EFAI\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tCette formation a eu lieu du 02/11/2023 au 04/02/2024 à l\'adresse\n\t\t\t\t\t\t\t:A confirmer.\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tContenu de la formation :
\n\t\t\t\t\t\t\t
programme 1 programme 2 programme 3 \n\t\t\t\t\t\t\t\n\n\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tFait à le 13/07/2023\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tPour l\'organisme de formation
\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t
\n\n\t\t\t\t\t
\n\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\n\t\t\t
\n\n\t\t
\n\t\t\n\n\t
\n\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/Attestation_1689272523126688.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/1000formation/LOGO-FORMATION1000.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 60.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/perso/mysy_cachet.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/perso/mysy_cachet.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 210.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/perso/mysy_cachet.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/perso/mysy_cachet.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+INFO:root:2023-07-13 20:22:04.388816 : SendAttestion_to_attendee_by_email -(501, b'5.1.7 Invalid address', 'None') - ERRORRRR AT Line : 894
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:22:04] "POST /myclass/api/SendAttendeeCertification/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 20:23:28.497368 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:23:28.497368 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:23:28.498369 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:23:28.498369 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:23:28.498369 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:28:28.573360+02:00 (in 299.997473 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-13 20:23:32.749033 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t\t\t\n\t\t\t
\n\t\t\t\n\t\t
\n\n\t\t
\n\t\t\t
ATTESTION INDIVIDUELLE DE FORMATION \n\t\t\n\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\tPar la presente, l\'oganisme de formation MySy Demo 0506 au Numero de SIRET\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\tAtteste que
part nom2 part 2 a suivi la formation
\n\t\t\t\t\t\t
"PRATICIEN EN AROMATHERAPIE INTEGRATIVE" \n\t\t\t\t\t\trealisé par le formateur EFAI\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tCette formation a eu lieu du 02/11/2023 au 04/02/2024 à l\'adresse\n\t\t\t\t\t\t\t:A confirmer.\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tContenu de la formation :
\n\t\t\t\t\t\t\t
programme 1 programme 2 programme 3 \n\t\t\t\t\t\t\t\n\n\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tFait à le 13/07/2023\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tPour l\'organisme de formation
\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t
\n\n\t\t\t\t\t
\n\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\n\t\t\t
\n\n\t\t
\n\t\t\n\n\t
\n\n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/Attestation_1689272612767056.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/1000formation/LOGO-FORMATION1000.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 60.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/1000formation/LOGO-FORMATION1000.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/perso/mysy_cachet.png', Basepath: 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\__dummy__'
+DEBUG:xhtml2pdf:URLParts: (ParseResult(scheme='https', netloc='img.mysy-training.com', path='/perso/mysy_cachet.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 210.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/perso/mysy_cachet.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/perso/mysy_cachet.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 41 9
+DEBUG:PIL.PngImagePlugin:STREAM b'iTXt' 62 2585
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 2659 10234
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'gAMA' 41 4
+DEBUG:PIL.PngImagePlugin:STREAM b'pHYs' 57 9
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 24636
+INFO:werkzeug:127.0.0.1 - - [13/Jul/2023 20:23:44] "POST /myclass/api/SendAttendeeCertification/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\email_inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-13 20:24:59.775875 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-13 20:24:59.775875 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-13 20:24:59.775875 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-13 20:24:59.775875 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-13 20:24:59.775875 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:29:59.839318+02:00 (in 299.997479 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:31:32.729965+02:00 (in 299.995087 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:31:32 CEST)" (scheduled at 2023-07-13 20:26:32.729965+02:00)
+INFO:root:2023-07-13 20:26:32.736870 : jeudi, 13. juillet 2023 08:26:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:31:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:29:59 CEST)" (scheduled at 2023-07-13 20:29:59.839318+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:34:59.839318+02:00 (in 299.995525 seconds)
+INFO:root:2023-07-13 20:29:59.848777 : jeudi, 13. juillet 2023 08:29:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:34:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:36:32.729965+02:00 (in 299.991245 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:36:32 CEST)" (scheduled at 2023-07-13 20:31:32.729965+02:00)
+INFO:root:2023-07-13 20:31:32.740726 : jeudi, 13. juillet 2023 08:31:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:36:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:39:59.839318+02:00 (in 299.996464 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:39:59 CEST)" (scheduled at 2023-07-13 20:34:59.839318+02:00)
+INFO:root:2023-07-13 20:34:59.844834 : jeudi, 13. juillet 2023 08:34:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:39:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:41:32.729965+02:00 (in 299.986474 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:41:32 CEST)" (scheduled at 2023-07-13 20:36:32.729965+02:00)
+INFO:root:2023-07-13 20:36:32.751493 : jeudi, 13. juillet 2023 08:36:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:41:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:44:59.839318+02:00 (in 299.993175 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:44:59 CEST)" (scheduled at 2023-07-13 20:39:59.839318+02:00)
+INFO:root:2023-07-13 20:39:59.847154 : jeudi, 13. juillet 2023 08:39:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:44:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:46:32.729965+02:00 (in 295.932969 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:46:32 CEST)" was missed by 0:00:04.067031
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:49:59.839318+02:00 (in 299.999090 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:49:59 CEST)" (scheduled at 2023-07-13 20:44:59.839318+02:00)
+INFO:root:2023-07-13 20:44:59.848069 : jeudi, 13. juillet 2023 08:44:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:49:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:51:32.729965+02:00 (in 299.988927 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:51:32 CEST)" (scheduled at 2023-07-13 20:46:32.729965+02:00)
+INFO:root:2023-07-13 20:46:32.743094 : jeudi, 13. juillet 2023 08:46:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:51:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:54:59.839318+02:00 (in 299.988051 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:54:59 CEST)" (scheduled at 2023-07-13 20:49:59.839318+02:00)
+INFO:root:2023-07-13 20:49:59.853258 : jeudi, 13. juillet 2023 08:49:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:54:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:56:32.729965+02:00 (in 299.997573 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:56:32 CEST)" (scheduled at 2023-07-13 20:51:32.729965+02:00)
+INFO:root:2023-07-13 20:51:32.734393 : jeudi, 13. juillet 2023 08:51:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:56:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 20:59:59.839318+02:00 (in 299.990632 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:59:59 CEST)" (scheduled at 2023-07-13 20:54:59.839318+02:00)
+INFO:root:2023-07-13 20:54:59.849665 : jeudi, 13. juillet 2023 08:54:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 20:59:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:01:32.729965+02:00 (in 299.990929 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:01:32 CEST)" (scheduled at 2023-07-13 20:56:32.729965+02:00)
+INFO:root:2023-07-13 20:56:32.741024 : jeudi, 13. juillet 2023 08:56:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:01:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:04:59.839318+02:00 (in 299.989335 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:04:59 CEST)" (scheduled at 2023-07-13 20:59:59.839318+02:00)
+INFO:root:2023-07-13 20:59:59.851985 : jeudi, 13. juillet 2023 08:59:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:04:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:06:32.729965+02:00 (in 299.985845 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:06:32 CEST)" (scheduled at 2023-07-13 21:01:32.729965+02:00)
+INFO:root:2023-07-13 21:01:32.746121 : jeudi, 13. juillet 2023 09:01:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:06:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:09:59.839318+02:00 (in 299.988653 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:09:59 CEST)" (scheduled at 2023-07-13 21:04:59.839318+02:00)
+INFO:root:2023-07-13 21:04:59.852500 : jeudi, 13. juillet 2023 09:04:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:09:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:11:32.729965+02:00 (in 299.998133 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:11:32 CEST)" (scheduled at 2023-07-13 21:06:32.729965+02:00)
+INFO:root:2023-07-13 21:06:32.733822 : jeudi, 13. juillet 2023 09:06:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:11:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:14:59.839318+02:00 (in 299.998547 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:14:59 CEST)" (scheduled at 2023-07-13 21:09:59.839318+02:00)
+INFO:root:2023-07-13 21:09:59.842778 : jeudi, 13. juillet 2023 09:09:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:14:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:16:32.729965+02:00 (in 299.989054 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:16:32 CEST)" (scheduled at 2023-07-13 21:11:32.729965+02:00)
+INFO:root:2023-07-13 21:11:32.742898 : jeudi, 13. juillet 2023 09:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:16:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:19:59.839318+02:00 (in 299.984199 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:19:59 CEST)" (scheduled at 2023-07-13 21:14:59.839318+02:00)
+INFO:root:2023-07-13 21:14:59.857112 : jeudi, 13. juillet 2023 09:14:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:19:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:21:32.729965+02:00 (in 299.982528 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:21:32 CEST)" (scheduled at 2023-07-13 21:16:32.729965+02:00)
+INFO:root:2023-07-13 21:16:32.749436 : jeudi, 13. juillet 2023 09:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:21:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:24:59.839318+02:00 (in 299.985727 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:24:59 CEST)" (scheduled at 2023-07-13 21:19:59.839318+02:00)
+INFO:root:2023-07-13 21:19:59.855374 : jeudi, 13. juillet 2023 09:19:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:24:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:26:32.729965+02:00 (in 299.996704 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:26:32 CEST)" (scheduled at 2023-07-13 21:21:32.729965+02:00)
+INFO:root:2023-07-13 21:21:32.735030 : jeudi, 13. juillet 2023 09:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:26:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:29:59.839318+02:00 (in 299.986324 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:29:59 CEST)" (scheduled at 2023-07-13 21:24:59.839318+02:00)
+INFO:root:2023-07-13 21:24:59.855007 : jeudi, 13. juillet 2023 09:24:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:29:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:31:32.729965+02:00 (in 299.994149 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:31:32 CEST)" (scheduled at 2023-07-13 21:26:32.729965+02:00)
+INFO:root:2023-07-13 21:26:32.736747 : jeudi, 13. juillet 2023 09:26:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:31:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:34:59.839318+02:00 (in 299.986957 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:34:59 CEST)" (scheduled at 2023-07-13 21:29:59.839318+02:00)
+INFO:root:2023-07-13 21:29:59.853357 : jeudi, 13. juillet 2023 09:29:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:34:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:36:32.729965+02:00 (in 299.987082 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:36:32 CEST)" (scheduled at 2023-07-13 21:31:32.729965+02:00)
+INFO:root:2023-07-13 21:31:32.745944 : jeudi, 13. juillet 2023 09:31:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:36:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:39:59.839318+02:00 (in 299.987253 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:39:59 CEST)" (scheduled at 2023-07-13 21:34:59.839318+02:00)
+INFO:root:2023-07-13 21:34:59.854111 : jeudi, 13. juillet 2023 09:34:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:39:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:41:32.729965+02:00 (in 299.986501 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:41:32 CEST)" (scheduled at 2023-07-13 21:36:32.729965+02:00)
+INFO:root:2023-07-13 21:36:32.745525 : jeudi, 13. juillet 2023 09:36:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:41:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:44:59.839318+02:00 (in 299.985222 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:44:59 CEST)" (scheduled at 2023-07-13 21:39:59.839318+02:00)
+INFO:root:2023-07-13 21:39:59.856124 : jeudi, 13. juillet 2023 09:39:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:44:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:46:32.729965+02:00 (in 299.998855 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:46:32 CEST)" (scheduled at 2023-07-13 21:41:32.729965+02:00)
+INFO:root:2023-07-13 21:41:32.734173 : jeudi, 13. juillet 2023 09:41:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:46:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:49:59.839318+02:00 (in 299.984706 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:49:59 CEST)" (scheduled at 2023-07-13 21:44:59.839318+02:00)
+INFO:root:2023-07-13 21:44:59.856674 : jeudi, 13. juillet 2023 09:44:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:49:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:51:32.729965+02:00 (in 299.986933 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:51:32 CEST)" (scheduled at 2023-07-13 21:46:32.729965+02:00)
+INFO:root:2023-07-13 21:46:32.745055 : jeudi, 13. juillet 2023 09:46:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:51:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:54:59.839318+02:00 (in 299.987401 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:54:59 CEST)" (scheduled at 2023-07-13 21:49:59.839318+02:00)
+INFO:root:2023-07-13 21:49:59.853987 : jeudi, 13. juillet 2023 09:49:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:54:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:56:32.729965+02:00 (in 299.996554 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:56:32 CEST)" (scheduled at 2023-07-13 21:51:32.729965+02:00)
+INFO:root:2023-07-13 21:51:32.735477 : jeudi, 13. juillet 2023 09:51:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:56:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 21:59:59.839318+02:00 (in 299.988408 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:59:59 CEST)" (scheduled at 2023-07-13 21:54:59.839318+02:00)
+INFO:root:2023-07-13 21:54:59.852971 : jeudi, 13. juillet 2023 09:54:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 21:59:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:01:32.729965+02:00 (in 299.997534 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:01:32 CEST)" (scheduled at 2023-07-13 21:56:32.729965+02:00)
+INFO:root:2023-07-13 21:56:32.734497 : jeudi, 13. juillet 2023 09:56:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:01:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:04:59.839318+02:00 (in 299.998807 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:04:59 CEST)" (scheduled at 2023-07-13 21:59:59.839318+02:00)
+INFO:root:2023-07-13 21:59:59.842510 : jeudi, 13. juillet 2023 09:59:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:04:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:06:32.729965+02:00 (in 299.993997 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:06:32 CEST)" (scheduled at 2023-07-13 22:01:32.729965+02:00)
+INFO:root:2023-07-13 22:01:32.737968 : jeudi, 13. juillet 2023 10:01:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:06:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:09:59.839318+02:00 (in 299.988769 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:09:59 CEST)" (scheduled at 2023-07-13 22:04:59.839318+02:00)
+INFO:root:2023-07-13 22:04:59.852566 : jeudi, 13. juillet 2023 10:04:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:09:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:11:32.729965+02:00 (in 299.986763 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:11:32 CEST)" (scheduled at 2023-07-13 22:06:32.729965+02:00)
+INFO:root:2023-07-13 22:06:32.745199 : jeudi, 13. juillet 2023 10:06:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:11:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:14:59.839318+02:00 (in 299.988642 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:14:59 CEST)" (scheduled at 2023-07-13 22:09:59.839318+02:00)
+INFO:root:2023-07-13 22:09:59.852738 : jeudi, 13. juillet 2023 10:09:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:14:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:16:32.729965+02:00 (in 299.994852 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:16:32 CEST)" (scheduled at 2023-07-13 22:11:32.729965+02:00)
+INFO:root:2023-07-13 22:11:32.736983 : jeudi, 13. juillet 2023 10:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:16:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:19:59.839318+02:00 (in 299.987618 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:19:59 CEST)" (scheduled at 2023-07-13 22:14:59.839318+02:00)
+INFO:root:2023-07-13 22:14:59.853451 : jeudi, 13. juillet 2023 10:14:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:19:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:21:32.729965+02:00 (in 299.990045 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:21:32 CEST)" (scheduled at 2023-07-13 22:16:32.729965+02:00)
+INFO:root:2023-07-13 22:16:32.742986 : jeudi, 13. juillet 2023 10:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:21:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:24:59.839318+02:00 (in 299.992382 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:24:59 CEST)" (scheduled at 2023-07-13 22:19:59.839318+02:00)
+INFO:root:2023-07-13 22:19:59.849001 : jeudi, 13. juillet 2023 10:19:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:24:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:26:32.729965+02:00 (in 299.985196 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:26:32 CEST)" (scheduled at 2023-07-13 22:21:32.729965+02:00)
+INFO:root:2023-07-13 22:21:32.746835 : jeudi, 13. juillet 2023 10:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:26:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:29:59.839318+02:00 (in 299.991007 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:29:59 CEST)" (scheduled at 2023-07-13 22:24:59.839318+02:00)
+INFO:root:2023-07-13 22:24:59.850364 : jeudi, 13. juillet 2023 10:24:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:29:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:31:32.729965+02:00 (in 299.993616 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:31:32 CEST)" (scheduled at 2023-07-13 22:26:32.729965+02:00)
+INFO:root:2023-07-13 22:26:32.738427 : jeudi, 13. juillet 2023 10:26:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:31:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:34:59.839318+02:00 (in 299.990417 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:34:59 CEST)" (scheduled at 2023-07-13 22:29:59.839318+02:00)
+INFO:root:2023-07-13 22:29:59.850962 : jeudi, 13. juillet 2023 10:29:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:34:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:36:32.729965+02:00 (in 299.996276 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:36:32 CEST)" (scheduled at 2023-07-13 22:31:32.729965+02:00)
+INFO:root:2023-07-13 22:31:32.735682 : jeudi, 13. juillet 2023 10:31:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:36:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:39:59.839318+02:00 (in 299.989360 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:39:59 CEST)" (scheduled at 2023-07-13 22:34:59.839318+02:00)
+INFO:root:2023-07-13 22:34:59.851526 : jeudi, 13. juillet 2023 10:34:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:39:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:41:32.729965+02:00 (in 299.989100 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:41:32 CEST)" (scheduled at 2023-07-13 22:36:32.729965+02:00)
+INFO:root:2023-07-13 22:36:32.742927 : jeudi, 13. juillet 2023 10:36:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:41:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:44:59.839318+02:00 (in 299.983209 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:44:59 CEST)" (scheduled at 2023-07-13 22:39:59.839318+02:00)
+INFO:root:2023-07-13 22:39:59.858159 : jeudi, 13. juillet 2023 10:39:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:44:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:46:32.729965+02:00 (in 299.993794 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:46:32 CEST)" (scheduled at 2023-07-13 22:41:32.729965+02:00)
+INFO:root:2023-07-13 22:41:32.738235 : jeudi, 13. juillet 2023 10:41:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:46:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:49:59.839318+02:00 (in 299.993937 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:49:59 CEST)" (scheduled at 2023-07-13 22:44:59.839318+02:00)
+INFO:root:2023-07-13 22:44:59.847908 : jeudi, 13. juillet 2023 10:44:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:49:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:51:32.729965+02:00 (in 299.990010 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:51:32 CEST)" (scheduled at 2023-07-13 22:46:32.729965+02:00)
+INFO:root:2023-07-13 22:46:32.742012 : jeudi, 13. juillet 2023 10:46:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:51:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:54:59.839318+02:00 (in 299.992065 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:54:59 CEST)" (scheduled at 2023-07-13 22:49:59.839318+02:00)
+INFO:root:2023-07-13 22:49:59.850309 : jeudi, 13. juillet 2023 10:49:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:54:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:56:32.729965+02:00 (in 299.988096 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:56:32 CEST)" (scheduled at 2023-07-13 22:51:32.729965+02:00)
+INFO:root:2023-07-13 22:51:32.743940 : jeudi, 13. juillet 2023 10:51:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:56:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 22:59:59.839318+02:00 (in 299.997862 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:59:59 CEST)" (scheduled at 2023-07-13 22:54:59.839318+02:00)
+INFO:root:2023-07-13 22:54:59.843508 : jeudi, 13. juillet 2023 10:54:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 22:59:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:01:32.729965+02:00 (in 299.989665 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:01:32 CEST)" (scheduled at 2023-07-13 22:56:32.729965+02:00)
+INFO:root:2023-07-13 22:56:32.743359 : jeudi, 13. juillet 2023 10:56:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:01:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:04:59.839318+02:00 (in 299.983679 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:04:59 CEST)" (scheduled at 2023-07-13 22:59:59.839318+02:00)
+INFO:root:2023-07-13 22:59:59.857709 : jeudi, 13. juillet 2023 10:59:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:04:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:06:32.729965+02:00 (in 299.992936 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:06:32 CEST)" (scheduled at 2023-07-13 23:01:32.729965+02:00)
+INFO:root:2023-07-13 23:01:32.739104 : jeudi, 13. juillet 2023 11:01:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:06:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:09:59.839318+02:00 (in 299.992507 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:09:59 CEST)" (scheduled at 2023-07-13 23:04:59.839318+02:00)
+INFO:root:2023-07-13 23:04:59.848872 : jeudi, 13. juillet 2023 11:04:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:09:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:11:32.729965+02:00 (in 299.995428 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:11:32 CEST)" (scheduled at 2023-07-13 23:06:32.729965+02:00)
+INFO:root:2023-07-13 23:06:32.736603 : jeudi, 13. juillet 2023 11:06:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:11:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:14:59.839318+02:00 (in 299.984926 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:14:59 CEST)" (scheduled at 2023-07-13 23:09:59.839318+02:00)
+INFO:root:2023-07-13 23:09:59.855413 : jeudi, 13. juillet 2023 11:09:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:14:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:16:32.729965+02:00 (in 299.990486 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:16:32 CEST)" (scheduled at 2023-07-13 23:11:32.729965+02:00)
+INFO:root:2023-07-13 23:11:32.741554 : jeudi, 13. juillet 2023 11:11:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:16:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:19:59.839318+02:00 (in 299.986336 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:19:59 CEST)" (scheduled at 2023-07-13 23:14:59.839318+02:00)
+INFO:root:2023-07-13 23:14:59.854504 : jeudi, 13. juillet 2023 11:14:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:19:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:21:32.729965+02:00 (in 299.986911 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:21:32 CEST)" (scheduled at 2023-07-13 23:16:32.729965+02:00)
+INFO:root:2023-07-13 23:16:32.745102 : jeudi, 13. juillet 2023 11:16:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:21:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:24:59.839318+02:00 (in 299.995689 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:24:59 CEST)" (scheduled at 2023-07-13 23:19:59.839318+02:00)
+INFO:root:2023-07-13 23:19:59.845660 : jeudi, 13. juillet 2023 11:19:59 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:24:59 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-13 23:26:32.729965+02:00 (in 299.984662 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:26:32 CEST)" (scheduled at 2023-07-13 23:21:32.729965+02:00)
+INFO:root:2023-07-13 23:21:32.748423 : jeudi, 13. juillet 2023 11:21:32 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-13 23:26:32 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-14 10:19:46.955119 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:19:46.957120 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:19:46.957120 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:19:46.957120 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:19:46.957120 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:24:47.048677+02:00 (in 299.995573 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:20:00.873932 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:20:00.875067 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:20:00.875067 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:20:00.875067 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:20:00.875067 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:25:00.966280+02:00 (in 299.996645 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-14 10:20:01.075003 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.076007 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.078420 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.079667 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.083216 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.085955 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.089976 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.094577 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.095590 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.098189 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.636398 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.641330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.645858 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.650295 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.659125 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.663802 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.671947 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.675178 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.682987 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.690183 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.699041 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.702289 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.709897 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.715881 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.722682 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.729885 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.737877 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.745660 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.748866 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.756449 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:01.996842 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.997852 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.997852 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:01.999340 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.004353 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.010259 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.319141 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.320471 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.323934 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.328055 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.335422 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.340986 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.645181 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.646572 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.647742 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.648885 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.649893 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.654399 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:20:02.969814 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:20:02.971831 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:20:02] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:55.701497 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:55] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:55.852433 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:21:55.856671 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:21:55.858698 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:55] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:55.863884 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:21:55.870598 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:55] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:56.158206 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:56] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:57.927727 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:57] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:59.205048 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:21:59.208436 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:59] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:21:59.213523 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:59] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:21:59] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:03.964588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:03.969854 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:03.973181 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:03] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:03.979221 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:03.982931 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:03] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:03] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:03] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:03] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:05.019039 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:05] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:46.959969 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:47.373773 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:47] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:47.461658 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:47.464144 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:22:47.468551 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:47] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:47] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:47] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:22:48.077087 : SendTrainingEvaluationEmail Vous avez deja evalué cette formation
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:22:48] "POST /myclass/api/SendTrainingEvaluationEmail/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:24:47 CEST)" (scheduled at 2023-07-14 10:24:47.048677+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:29:47.048677+02:00 (in 299.993549 seconds)
+INFO:root:2023-07-14 10:24:47.073157 : vendredi, 14. juillet 2023 10:24:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:29:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:25:00 CEST)" (scheduled at 2023-07-14 10:25:00.966280+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:30:00.966280+02:00 (in 299.995249 seconds)
+INFO:root:2023-07-14 10:25:00.974032 : vendredi, 14. juillet 2023 10:25:00 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:30:00 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 10:25:17.089402 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:25:17.092403 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:25:17.095410 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:17] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:17] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:25:30.635907 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:25:30.642448 : SendTrainingEvaluationEmail Vous avez deja evalué cette formation
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:30] "POST /myclass/api/SendTrainingEvaluationEmail/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:25:34.507330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:34] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:25:34.645611 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:34] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:25:34.697413 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:25:34.700432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:34] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:25:34] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:27:21.254580 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:27:21.254580 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:27:21.254580 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:27:21.254580 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:27:21.254580 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:32:21.316704+02:00 (in 299.996732 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-14 10:27:25.112663 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:27:25.448345 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:27:25] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:27:25.509821 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:27:25.513569 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:27:25.516606 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:27:25] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:27:25] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:27:25] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:27:25.684259 : SendTrainingEvaluationEmail Cette formation a déjà été évaluée
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:27:25] "POST /myclass/api/SendTrainingEvaluationEmail/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:28.195280 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:29:28.501556 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:28] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:28.633085 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:28] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:28.681437 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:29:28.683495 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:28] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:28] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:29] "POST /myclass/api/SendTrainingEvaluationEmail/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:45.649466 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:29:45.654320 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:45] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:45.661049 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:29:45.663034 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:45] "POST /myclass/api/MySyckeckEvaluationToken/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:45] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:45] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:29:46.033508 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:46] "[33mPOST /myclass/api/ckeckEvaluationToken/ HTTP/1.1[0m" 404 -
+INFO:root:2023-07-14 10:29:46.337694 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:29:46.338198 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:46] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:29:46] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:34:47.048677+02:00 (in 299.986219 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:34:47 CEST)" (scheduled at 2023-07-14 10:29:47.048677+02:00)
+INFO:root:2023-07-14 10:29:47.064096 : vendredi, 14. juillet 2023 10:29:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:34:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 10:30:46.202287 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:30:46] "POST /myclass/api/Evaluation_Class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:31:24.857820 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:24.858843 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:24.860864 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:24] "[33mPOST /myclass/api/ckeckEvaluationToken/ HTTP/1.1[0m" 404 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:24] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:24] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:31:30.643910 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:30.652039 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:30.656104 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:30] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:30] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:31:33.793031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:33.796772 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:33.801586 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:31:33.804691 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:31:33.810053 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:33] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:33] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:33] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:33] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 10:31:34.696691 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:31:34] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:32:21 CEST)" (scheduled at 2023-07-14 10:32:21.316704+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:37:21.316704+02:00 (in 299.986624 seconds)
+INFO:root:2023-07-14 10:32:21.333084 : vendredi, 14. juillet 2023 10:32:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:37:21 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 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:39:47.048677+02:00 (in 299.997178 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:39:47 CEST)" (scheduled at 2023-07-14 10:34:47.048677+02:00)
+INFO:root:2023-07-14 10:34:47.053475 : vendredi, 14. juillet 2023 10:34:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:39:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 10:36:38.260852 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:36:38.264527 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 10:36:38.268048 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:36:38] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:36:38] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 10:36:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:42:21.316704+02:00 (in 299.991105 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:42:21 CEST)" (scheduled at 2023-07-14 10:37:21.316704+02:00)
+INFO:root:2023-07-14 10:37:21.327592 : vendredi, 14. juillet 2023 10:37:21 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:42:21 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 3123, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:39:36.279990 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:39:36.279990 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:39:36.279990 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:39:36.279990 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:39:36.279990 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:44:36.344136+02:00 (in 299.997756 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:44:47.048677+02:00 (in 299.986867 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:44:47 CEST)" (scheduled at 2023-07-14 10:39:47.048677+02:00)
+INFO:root:2023-07-14 10:39:47.063799 : vendredi, 14. juillet 2023 10:39:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:44:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:40:17.845360 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:40:17.845360 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:40:17.845360 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:40:17.845360 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:40:17.845360 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:45:17.897143+02:00 (in 299.998928 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:41:08.618463 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:41:08.618463 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:41:08.619463 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:41:08.619463 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:41:08.619463 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:46:08.674878+02:00 (in 299.998975 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:41:33.666620 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:41:33.666620 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:41:33.666620 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:41:33.666620 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:41:33.666620 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:46:33.723897+02:00 (in 299.997999 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:43:00.021796 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:43:00.021796 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:43:00.021796 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:43:00.021796 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:43:00.021796 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:48:00.080315+02:00 (in 299.997993 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:43:55.993573 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:43:55.993573 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:43:55.993573 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:43:55.993573 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:43:55.993573 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:48:56.061378+02:00 (in 299.997434 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:44:20.452080 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:44:20.453085 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:44:20.453085 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:44:20.453085 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:44:20.453085 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:49:20.505967+02:00 (in 299.998009 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:44:40.690349 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:44:40.690349 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:44:40.690349 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:44:40.690349 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:44:40.690349 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:49:40.744859+02:00 (in 299.996843 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:49:47.048677+02:00 (in 299.989765 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:49:47 CEST)" (scheduled at 2023-07-14 10:44:47.048677+02:00)
+INFO:root:2023-07-14 10:44:47.060922 : vendredi, 14. juillet 2023 10:44:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:49:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:49:40 CEST)" (scheduled at 2023-07-14 10:49:40.744859+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:54:40.744859+02:00 (in 299.996946 seconds)
+INFO:root:2023-07-14 10:49:40.752297 : vendredi, 14. juillet 2023 10:49:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:54:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:54:47.048677+02:00 (in 299.984102 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:54:47 CEST)" (scheduled at 2023-07-14 10:49:47.048677+02:00)
+INFO:root:2023-07-14 10:49:47.134479 : vendredi, 14. juillet 2023 10:49:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:54:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:52:18.356096 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:52:18.357336 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:52:18.357336 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:52:18.357336 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:52:18.357336 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:57:18.418943+02:00 (in 299.996014 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:53:30.227095 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:53:30.227095 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:53:30.227095 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:53:30.227095 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:53:30.227095 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:58:30.279820+02:00 (in 299.996990 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\abonnement_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:54:20.873237 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:54:20.873237 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:54:20.874244 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:54:20.874244 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:54:20.874244 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:59:20.925925+02:00 (in 299.997915 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 10:59:47.048677+02:00 (in 299.995292 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:59:47 CEST)" (scheduled at 2023-07-14 10:54:47.048677+02:00)
+INFO:root:2023-07-14 10:54:47.061469 : vendredi, 14. juillet 2023 10:54:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 10:59:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:56:25.287398 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:56:25.287398 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:56:25.288398 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:56:25.288398 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:56:25.288398 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:01:25.345412+02:00 (in 299.998015 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\abonnement_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 10:56:50.734601 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:56:50.734601 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:56:50.734601 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:56:50.734601 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:56:50.734601 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:01:50.787502+02:00 (in 299.998470 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.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 2023-07-14 11:04:47.048677+02:00 (in 299.984653 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:04:47 CEST)" (scheduled at 2023-07-14 10:59:47.048677+02:00)
+INFO:root:2023-07-14 10:59:47.066703 : vendredi, 14. juillet 2023 10:59:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:04:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 10:59:50.665807 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 10:59:50.665807 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 10:59:50.665807 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 10:59:50.665807 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 10:59:50.666808 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:04:50.720048+02:00 (in 299.999007 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:01:07.222382 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:01:07.222382 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:01:07.222382 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:01:07.222382 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:01:07.222382 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:06:07.276419+02:00 (in 299.998534 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:03:38.070400 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:03:38.070400 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:03:38.070400 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:03:38.070400 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:03:38.070400 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:08:38.122830+02:00 (in 299.998093 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:04:46.997671 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:04:46.997671 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:04:46.997671 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:04:46.997671 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:04:46.998672 : ++ LMS_BAS_URL mysy-training.com/ ++
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:09:47.048677+02:00 (in 299.993530 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:09:47 CEST)" (scheduled at 2023-07-14 11:04:47.048677+02:00)
+INFO:root:2023-07-14 11:04:47.057156 : vendredi, 14. juillet 2023 11:04:47 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:09:47.062460+02:00 (in 299.997943 seconds)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:09:47 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ localStatus, message = Stripe.Cron_Strip_Get_Customer_Abonnement_Data()
+ 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.
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+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:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-14 11:08:40.487123 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:08:40.488107 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:08:40.488107 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:08:40.488107 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:08:40.488107 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:13:40.540699+02:00 (in 299.996961 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:08:49.751842 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:08:49.751842 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:08:49.751842 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:08:49.751842 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:08:49.751842 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:13:49.803327+02:00 (in 299.996626 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:13:11.489862 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:13:11.489862 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:13:11.489862 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:13:11.489862 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:13:11.489862 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:18:11.541967+02:00 (in 299.997162 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:13:29.389762 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:13:29.390762 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:13:29.390762 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:13:29.390762 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:13:29.390762 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:18:29.446774+02:00 (in 299.997144 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:13:40 CEST)" (scheduled at 2023-07-14 11:13:40.540699+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:18:40.540699+02:00 (in 299.991686 seconds)
+INFO:root:2023-07-14 11:13:40.566317 : vendredi, 14. juillet 2023 11:13:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:18:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:14:56.316767 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:14:56.317766 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:14:56.317766 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:14:56.317766 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:14:56.317766 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:19:56.404674+02:00 (in 299.996998 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:15:29.414071 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:15:29.414071 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:15:29.414071 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:15:29.415051 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:15:29.415051 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:20:29.467206+02:00 (in 299.996995 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:17:19.847706 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:17:19.847706 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:17:19.847706 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:17:19.848702 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:17:19.848702 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:22:19.901178+02:00 (in 299.997894 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:23:40.540699+02:00 (in 299.996792 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:23:40 CEST)" (scheduled at 2023-07-14 11:18:40.540699+02:00)
+INFO:root:2023-07-14 11:18:40.546538 : vendredi, 14. juillet 2023 11:18:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:23:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 11:21:40.613947 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 11:21:40.613947 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 11:21:40.613947 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 11:21:40.613947 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 11:21:40.613947 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:26:40.665603+02:00 (in 299.998008 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:28:40.540699+02:00 (in 299.990607 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:28:40 CEST)" (scheduled at 2023-07-14 11:23:40.540699+02:00)
+INFO:root:2023-07-14 11:23:40.551826 : vendredi, 14. juillet 2023 11:23:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:28:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:26:40 CEST)" (scheduled at 2023-07-14 11:26:40.665603+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:31:40.665603+02:00 (in 299.996665 seconds)
+INFO:root:2023-07-14 11:26:40.675492 : vendredi, 14. juillet 2023 11:26:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:31:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:33:40.540699+02:00 (in 299.984464 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:33:40 CEST)" (scheduled at 2023-07-14 11:28:40.540699+02:00)
+INFO:root:2023-07-14 11:28:40.557906 : vendredi, 14. juillet 2023 11:28:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:33:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:36:40.665603+02:00 (in 299.988389 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:36:40 CEST)" (scheduled at 2023-07-14 11:31:40.665603+02:00)
+INFO:root:2023-07-14 11:31:40.678647 : vendredi, 14. juillet 2023 11:31:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:36:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:38:40.540699+02:00 (in 299.998039 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:38:40 CEST)" (scheduled at 2023-07-14 11:33:40.540699+02:00)
+INFO:root:2023-07-14 11:33:40.543664 : vendredi, 14. juillet 2023 11:33:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:38:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:41:40.665603+02:00 (in 299.989389 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:41:40 CEST)" (scheduled at 2023-07-14 11:36:40.665603+02:00)
+INFO:root:2023-07-14 11:36:40.678286 : vendredi, 14. juillet 2023 11:36:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:41:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:43:40.540699+02:00 (in 299.992759 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:43:40 CEST)" (scheduled at 2023-07-14 11:38:40.540699+02:00)
+INFO:root:2023-07-14 11:38:40.548963 : vendredi, 14. juillet 2023 11:38:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:43:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:46:40.665603+02:00 (in 299.986544 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:46:40 CEST)" (scheduled at 2023-07-14 11:41:40.665603+02:00)
+INFO:root:2023-07-14 11:41:40.681110 : vendredi, 14. juillet 2023 11:41:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:46:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:48:40.540699+02:00 (in 299.988993 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:48:40 CEST)" (scheduled at 2023-07-14 11:43:40.540699+02:00)
+INFO:root:2023-07-14 11:43:40.553820 : vendredi, 14. juillet 2023 11:43:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:48:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:51:40.665603+02:00 (in 299.988172 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:51:40 CEST)" (scheduled at 2023-07-14 11:46:40.665603+02:00)
+INFO:root:2023-07-14 11:46:40.680012 : vendredi, 14. juillet 2023 11:46:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:51:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:53:40.540699+02:00 (in 299.995873 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:53:40 CEST)" (scheduled at 2023-07-14 11:48:40.540699+02:00)
+INFO:root:2023-07-14 11:48:40.547273 : vendredi, 14. juillet 2023 11:48:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:53:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:56:40.665603+02:00 (in 299.993682 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:56:40 CEST)" (scheduled at 2023-07-14 11:51:40.665603+02:00)
+INFO:root:2023-07-14 11:51:40.675423 : vendredi, 14. juillet 2023 11:51:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:56:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 11:58:40.540699+02:00 (in 299.991609 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:58:40 CEST)" (scheduled at 2023-07-14 11:53:40.540699+02:00)
+INFO:root:2023-07-14 11:53:40.557748 : vendredi, 14. juillet 2023 11:53:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 11:58:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 12:01:40.665603+02:00 (in 299.985376 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:01:40 CEST)" (scheduled at 2023-07-14 11:56:40.665603+02:00)
+INFO:root:2023-07-14 11:56:40.682669 : vendredi, 14. juillet 2023 11:56:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:01:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 12:03:40.540699+02:00 (in 299.989835 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:03:40 CEST)" (scheduled at 2023-07-14 11:58:40.540699+02:00)
+INFO:root:2023-07-14 11:58:40.554754 : vendredi, 14. juillet 2023 11:58:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:03:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 12:06:40.665603+02:00 (in 299.988842 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:06:40 CEST)" (scheduled at 2023-07-14 12:01:40.665603+02:00)
+INFO:root:2023-07-14 12:01:40.680233 : vendredi, 14. juillet 2023 12:01:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:06:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 12:08:40.540699+02:00 (in 299.994993 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:08:40 CEST)" (scheduled at 2023-07-14 12:03:40.540699+02:00)
+INFO:root:2023-07-14 12:03:40.548741 : vendredi, 14. juillet 2023 12:03:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 12:08:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 15:56:40.665603+02:00 (in 0.236296 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 15:56:40 CEST)" was missed by 0:04:59.764708
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:01:40.665603+02:00 (in 299.988181 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:01:40 CEST)" (scheduled at 2023-07-14 15:56:40.665603+02:00)
+INFO:root:2023-07-14 15:56:40.680391 : vendredi, 14. juillet 2023 03:56:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:01:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:03:40.540699+02:00 (in 122.713111 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:03:40 CEST)" was missed by 0:02:57.287480
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:08:40.540699+02:00 (in 299.993690 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:08:40 CEST)" (scheduled at 2023-07-14 16:03:40.540699+02:00)
+INFO:root:2023-07-14 16:03:40.552929 : vendredi, 14. juillet 2023 04:03:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:08:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:06:40.665603+02:00 (in 122.465427 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:06:40 CEST)" was missed by 0:02:57.535641
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:11:40.665603+02:00 (in 299.988376 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:11:40 CEST)" (scheduled at 2023-07-14 16:06:40.665603+02:00)
+INFO:root:2023-07-14 16:06:40.682405 : vendredi, 14. juillet 2023 04:06:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:11:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:13:40.540699+02:00 (in 299.991558 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:13:40 CEST)" (scheduled at 2023-07-14 16:08:40.540699+02:00)
+INFO:root:2023-07-14 16:08:40.551921 : vendredi, 14. juillet 2023 04:08:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:13:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:16:40.665603+02:00 (in 299.985303 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:16:40 CEST)" (scheduled at 2023-07-14 16:11:40.665603+02:00)
+INFO:root:2023-07-14 16:11:40.683350 : vendredi, 14. juillet 2023 04:11:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:16:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:18:40.540699+02:00 (in 299.990441 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:18:40 CEST)" (scheduled at 2023-07-14 16:13:40.540699+02:00)
+INFO:root:2023-07-14 16:13:40.552515 : vendredi, 14. juillet 2023 04:13:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:18:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:21:40.665603+02:00 (in 299.983902 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:21:40 CEST)" (scheduled at 2023-07-14 16:16:40.665603+02:00)
+INFO:root:2023-07-14 16:16:40.684471 : vendredi, 14. juillet 2023 04:16:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:21:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:23:40.540699+02:00 (in 299.990617 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:23:40 CEST)" (scheduled at 2023-07-14 16:18:40.540699+02:00)
+INFO:root:2023-07-14 16:18:40.553162 : vendredi, 14. juillet 2023 04:18:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:23:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:26:40.665603+02:00 (in 299.987170 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:26:40 CEST)" (scheduled at 2023-07-14 16:21:40.665603+02:00)
+INFO:root:2023-07-14 16:21:40.680552 : vendredi, 14. juillet 2023 04:21:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:26:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:28:40.540699+02:00 (in 299.983950 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:28:40 CEST)" (scheduled at 2023-07-14 16:23:40.540699+02:00)
+INFO:root:2023-07-14 16:23:40.560331 : vendredi, 14. juillet 2023 04:23:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:28:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:31:40.665603+02:00 (in 299.983089 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:31:40 CEST)" (scheduled at 2023-07-14 16:26:40.665603+02:00)
+INFO:root:2023-07-14 16:26:40.685024 : vendredi, 14. juillet 2023 04:26:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:31:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:33:40.540699+02:00 (in 299.993510 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:33:40 CEST)" (scheduled at 2023-07-14 16:28:40.540699+02:00)
+INFO:root:2023-07-14 16:28:40.549578 : vendredi, 14. juillet 2023 04:28:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:33:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:36:40.665603+02:00 (in 299.998233 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:36:40 CEST)" (scheduled at 2023-07-14 16:31:40.665603+02:00)
+INFO:root:2023-07-14 16:31:40.670384 : vendredi, 14. juillet 2023 04:31:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:36:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:38:40.540699+02:00 (in 299.987379 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:38:40 CEST)" (scheduled at 2023-07-14 16:33:40.540699+02:00)
+INFO:root:2023-07-14 16:33:40.555834 : vendredi, 14. juillet 2023 04:33:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:38:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:41:40.665603+02:00 (in 299.995372 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:41:40 CEST)" (scheduled at 2023-07-14 16:36:40.665603+02:00)
+INFO:root:2023-07-14 16:36:40.673266 : vendredi, 14. juillet 2023 04:36:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:41:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:43:40.540699+02:00 (in 299.989738 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:43:40 CEST)" (scheduled at 2023-07-14 16:38:40.540699+02:00)
+INFO:root:2023-07-14 16:38:40.554295 : vendredi, 14. juillet 2023 04:38:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:43:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, 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\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 16:40:50.740064 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:40:50.741066 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:40:50.741066 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:40:50.741066 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:40:50.741066 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:45:50.807057+02:00 (in 299.996978 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.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 2023-07-14 16:48:40.540699+02:00 (in 299.989937 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:48:40 CEST)" (scheduled at 2023-07-14 16:43:40.540699+02:00)
+INFO:root:2023-07-14 16:43:40.553741 : vendredi, 14. juillet 2023 04:43:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:48:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 16:43:48.119726 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:43:48.120726 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:43:48.120726 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:43:48.120726 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:43:48.120726 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:48:48.239096+02:00 (in 299.996968 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 16:45:41.522128 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:45:41.522128 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:45:41.523171 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:45:41.523171 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:45:41.523171 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:50:41.597078+02:00 (in 299.997613 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\appel_offre.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 16:48:12.754231 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:48:12.755229 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:48:12.755229 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:48:12.755229 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:48:12.755229 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:53:12.824479+02:00 (in 299.997004 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:53:40.540699+02:00 (in 299.985150 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:53:40 CEST)" (scheduled at 2023-07-14 16:48:40.540699+02:00)
+INFO:root:2023-07-14 16:48:40.558636 : vendredi, 14. juillet 2023 04:48:40 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 16:53:40 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-14 16:49:40.912143 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:49:40.912143 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:49:40.912143 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:49:40.912143 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:49:40.912143 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:54:40.975676+02:00 (in 299.997747 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 16:49:52.385437 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 16:49:52.385437 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 16:49:52.385437 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 16:49:52.385437 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 16:49:52.385437 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 16:54:52.447228+02:00 (in 299.997184 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-14 19:51:24.541391 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 19:51:24.542903 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 19:51:24.542903 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 19:51:24.542903 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 19:51:24.543438 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 19:56:24.642818+02:00 (in 299.995445 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-14 19:51:35.883784 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-14 19:51:35.883784 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-14 19:51:35.883784 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-14 19:51:35.884820 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-14 19:51:35.884820 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 19:56:35.941491+02:00 (in 299.997978 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 891-028-358
+INFO:root:2023-07-14 19:51:39.312673 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:39.315059 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:39.317421 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:39] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:39] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:39] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:39.565932 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:39.567953 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:39] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:40.225933 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:40.537031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.538031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.538031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.541031 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.547044 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:40.553474 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:40.862990 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.864028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.864028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.865567 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.865567 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:40.867600 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:41.189190 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:41.190170 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:41.192183 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:41.192183 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:41.193172 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:51:41.195169 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:51:41.511504 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:51:41] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:35.172301 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:35.174312 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:35.175536 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:35.177798 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:35.178822 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:35] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:35] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:35] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:35] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:56.724328 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:56.727730 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:56.730747 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:56] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:56] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:56] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:57.653242 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:57.655256 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:57] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.064884 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.068162 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.072669 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.078064 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.080059 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.086053 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.093059 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.100604 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.106678 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.108674 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.110721 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.116831 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.126527 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.134644 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.142236 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.144239 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.148951 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.156198 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:52:58.159772 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:52:58.164135 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:52:58] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:02.683399 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:02] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:02.867436 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:02.870249 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:02.874266 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:02] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:02.879520 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:02.884081 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:02] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:02] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:03.238905 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:03] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:06.254212 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:06] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:07.681639 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:07.684382 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:07.688914 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:07] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:07] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:10.469442 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:10.472437 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:53:10.477028 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:53:10.482050 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:10] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:10] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:53:10] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:55:07.144881 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:55:07.148699 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:55:07.153265 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:07] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:07] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:55:11.501072 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:55:11.504087 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 19:55:11.508086 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 19:55:11.511084 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:11] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:11] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 19:55:11] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 19:56:24 CEST)" (scheduled at 2023-07-14 19:56:24.642818+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:01:24.642818+02:00 (in 299.981866 seconds)
+INFO:root:2023-07-14 19:56:24.689255 : vendredi, 14. juillet 2023 07:56:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:01:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 19:56:35 CEST)" (scheduled at 2023-07-14 19:56:35.941491+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:01:35.941491+02:00 (in 299.995625 seconds)
+INFO:root:2023-07-14 19:56:35.948227 : vendredi, 14. juillet 2023 07:56:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:01:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:06:24.642818+02:00 (in 299.993334 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:06:24 CEST)" (scheduled at 2023-07-14 20:01:24.642818+02:00)
+INFO:root:2023-07-14 20:01:24.657898 : vendredi, 14. juillet 2023 08:01:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:06:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:06:35.941491+02:00 (in 299.993294 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:06:35 CEST)" (scheduled at 2023-07-14 20:01:35.941491+02:00)
+INFO:root:2023-07-14 20:01:35.950205 : vendredi, 14. juillet 2023 08:01:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:06:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 20:01:48.952319 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:01:48.953739 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:01:48.957156 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:01:48.961351 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:01:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:01:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:01:48] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:01:48] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:02:15.270873 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:02:15.275504 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:02:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:02:15.279494 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:02:15.284055 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:02:15] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:02:15] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:02:15] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:11:24.642818+02:00 (in 299.984190 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:11:24 CEST)" (scheduled at 2023-07-14 20:06:24.642818+02:00)
+INFO:root:2023-07-14 20:06:24.661622 : vendredi, 14. juillet 2023 08:06:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:11:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:11:35.941491+02:00 (in 299.995358 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:11:35 CEST)" (scheduled at 2023-07-14 20:06:35.941491+02:00)
+INFO:root:2023-07-14 20:06:35.948916 : vendredi, 14. juillet 2023 08:06:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:11:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 20:09:28.076530 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:09:28] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:09:30.316558 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:09:30.320986 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:09:30.325258 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:09:30] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:09:30] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:09:30] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:16:24.642818+02:00 (in 299.991192 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:16:24 CEST)" (scheduled at 2023-07-14 20:11:24.642818+02:00)
+INFO:root:2023-07-14 20:11:24.653634 : vendredi, 14. juillet 2023 08:11:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:16:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:16:35.941491+02:00 (in 299.993773 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:16:35 CEST)" (scheduled at 2023-07-14 20:11:35.941491+02:00)
+INFO:root:2023-07-14 20:11:35.948965 : vendredi, 14. juillet 2023 08:11:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:16:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:21:24.642818+02:00 (in 122.864568 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:21:24 CEST)" was missed by 0:02:57.135432
+INFO:root:2023-07-14 20:19:31.128724 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:19:31.131868 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:19:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:19:31.137076 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:19:31.141497 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:19:31] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:19:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:19:31] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:21:35.941491+02:00 (in 122.855423 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:21:35 CEST)" was missed by 0:02:57.144577
+INFO:root:2023-07-14 20:20:07.547743 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:20:07.551623 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:20:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:20:07.555621 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:20:07.558608 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:20:07] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:20:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:20:07] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:26:24.642818+02:00 (in 299.985440 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:26:24 CEST)" (scheduled at 2023-07-14 20:21:24.642818+02:00)
+INFO:root:2023-07-14 20:21:24.659377 : vendredi, 14. juillet 2023 08:21:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:26:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 20:21:30.070645 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:21:30.071657 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:21:30.073993 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:30] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:30] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:30] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:21:31.914576 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:31] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:21:32.225502 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:21:32.226537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:21:32.230555 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:32] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:21:32] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:26:35.941491+02:00 (in 299.985722 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:26:35 CEST)" (scheduled at 2023-07-14 20:21:35.941491+02:00)
+INFO:root:2023-07-14 20:21:35.958830 : vendredi, 14. juillet 2023 08:21:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:26:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 20:25:46.748985 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:46.756940 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:46.763522 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:46] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:46] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:47.157954 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:47] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:47.180558 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:47.196116 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:47] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:47] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:48.283660 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:48.290748 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:48] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:48.299751 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:48] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:48] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:49.874252 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:50.120549 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:50.126090 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:50.133008 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:50.155886 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:50.650457 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:50.960901 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:50.960901 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:50.962905 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:50] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:51.597893 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:25:58.982183 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:58.983569 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:25:58.993853 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:59] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:59] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:25:59] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:26:01.079567 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:26:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:26:01.392178 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:26:01.392178 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:26:01.397236 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:26:01] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:26:01] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:26:01] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:31:24.642818+02:00 (in 299.988852 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:31:24 CEST)" (scheduled at 2023-07-14 20:26:24.642818+02:00)
+INFO:root:2023-07-14 20:26:24.657023 : vendredi, 14. juillet 2023 08:26:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:31:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:31:35.941491+02:00 (in 299.989355 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:31:35 CEST)" (scheduled at 2023-07-14 20:26:35.941491+02:00)
+INFO:root:2023-07-14 20:26:35.954864 : vendredi, 14. juillet 2023 08:26:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:31:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-14 20:27:40.929271 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:27:40.932291 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:27:40.936295 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:40] "POST /myclass/api/get_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:40] "POST /myclass/api/get_associated_class_of_partnair/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:27:42.135836 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-14 20:27:42.445930 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:27:42.451342 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-14 20:27:42.456345 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:42] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [14/Jul/2023 20:27:42] "POST /myclass/api/GetListOpco/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:36:24.642818+02:00 (in 299.998007 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:36:24 CEST)" (scheduled at 2023-07-14 20:31:24.642818+02:00)
+INFO:root:2023-07-14 20:31:24.646965 : vendredi, 14. juillet 2023 08:31:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:36:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:36:35.941491+02:00 (in 299.985325 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:36:35 CEST)" (scheduled at 2023-07-14 20:31:35.941491+02:00)
+INFO:root:2023-07-14 20:31:35.958121 : vendredi, 14. juillet 2023 08:31:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:36:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:41:24.642818+02:00 (in 299.998096 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:41:24 CEST)" (scheduled at 2023-07-14 20:36:24.642818+02:00)
+INFO:root:2023-07-14 20:36:24.655369 : vendredi, 14. juillet 2023 08:36:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:41:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:41:35.941491+02:00 (in 299.989759 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:41:35 CEST)" (scheduled at 2023-07-14 20:36:35.941491+02:00)
+INFO:root:2023-07-14 20:36:35.953623 : vendredi, 14. juillet 2023 08:36:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:41:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:46:24.642818+02:00 (in 299.985753 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:46:24 CEST)" (scheduled at 2023-07-14 20:41:24.642818+02:00)
+INFO:root:2023-07-14 20:41:24.666717 : vendredi, 14. juillet 2023 08:41:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:46:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:46:35.941491+02:00 (in 299.991877 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:46:35 CEST)" (scheduled at 2023-07-14 20:41:35.941491+02:00)
+INFO:root:2023-07-14 20:41:35.952247 : vendredi, 14. juillet 2023 08:41:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:46:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:51:24.642818+02:00 (in 299.983475 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:51:24 CEST)" (scheduled at 2023-07-14 20:46:24.642818+02:00)
+INFO:root:2023-07-14 20:46:24.661135 : vendredi, 14. juillet 2023 08:46:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:51:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:51:35.941491+02:00 (in 299.993688 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:51:35 CEST)" (scheduled at 2023-07-14 20:46:35.941491+02:00)
+INFO:root:2023-07-14 20:46:35.950463 : vendredi, 14. juillet 2023 08:46:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:51:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:56:24.642818+02:00 (in 299.988191 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:56:24 CEST)" (scheduled at 2023-07-14 20:51:24.642818+02:00)
+INFO:root:2023-07-14 20:51:24.667139 : vendredi, 14. juillet 2023 08:51:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:56:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 20:56:35.941491+02:00 (in 299.989192 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:56:35 CEST)" (scheduled at 2023-07-14 20:51:35.941491+02:00)
+INFO:root:2023-07-14 20:51:35.955342 : vendredi, 14. juillet 2023 08:51:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 20:56:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 21:01:24.642818+02:00 (in 299.978697 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:01:24 CEST)" (scheduled at 2023-07-14 20:56:24.642818+02:00)
+INFO:root:2023-07-14 20:56:24.673644 : vendredi, 14. juillet 2023 08:56:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:01:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 21:01:35.941491+02:00 (in 299.993236 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:01:35 CEST)" (scheduled at 2023-07-14 20:56:35.941491+02:00)
+INFO:root:2023-07-14 20:56:35.950042 : vendredi, 14. juillet 2023 08:56:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:01:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 21:06:24.642818+02:00 (in 299.983429 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:06:24 CEST)" (scheduled at 2023-07-14 21:01:24.642818+02:00)
+INFO:root:2023-07-14 21:01:24.670155 : vendredi, 14. juillet 2023 09:01:24 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:06:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-14 21:06:35.941491+02:00 (in 299.990460 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:06:35 CEST)" (scheduled at 2023-07-14 21:01:35.941491+02:00)
+INFO:root:2023-07-14 21:01:35.954129 : vendredi, 14. juillet 2023 09:01:35 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-14 21:06:35 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 3124, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-16 19:51:01.807611 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 19:51:01.808606 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 19:51:01.809610 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 19:51:01.809610 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 19:51:01.809610 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 19:56:01.889986+02:00 (in 299.996870 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 19:51:16.857257 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 19:51:16.857257 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 19:51:16.857257 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 19:51:16.858261 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 19:51:16.858261 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 19:56:16.931851+02:00 (in 299.997677 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 19:53:16.663547 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 19:53:16.663547 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 19:53:16.663547 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 19:53:16.663547 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 19:53:16.663547 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 19:58:16.735266+02:00 (in 299.997292 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 19:54:36.162326 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:54:36] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:54:36.172258 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:54:37.302467 : Add_Partner_Client - La valeur 'token' n'est pas presente dans liste
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:54:37] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 19:56:01 CEST)" (scheduled at 2023-07-16 19:56:01.889986+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:01:01.889986+02:00 (in 299.991767 seconds)
+INFO:root:2023-07-16 19:56:01.916026 : dimanche, 16. juillet 2023 07:56:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:01:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-16 19:56:10.925123 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:56:10] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:56:10.938856 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:56:10.972638 : Add_Partner_Client -'module' object is not subscriptable - Line : 88
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:56:10] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 19:58:12.814214 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 19:58:12.815218 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 19:58:12.815218 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 19:58:12.815218 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 19:58:12.815218 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:03:12.888065+02:00 (in 299.996159 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 19:58:12.950080 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:58:12] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:58:12.959016 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:58:13.783231 : Add_Partner_Client -'module' object is not subscriptable - Line : 91
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:58:13] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 19:59:07.349448 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 19:59:07.350448 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 19:59:07.350448 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 19:59:07.350448 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 19:59:07.350448 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:04:07.417874+02:00 (in 299.995786 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 19:59:07.466035 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:07] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:59:07.474053 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:59:08.180863 : Add_Partner_Client -'module' object is not subscriptable - Line : 91
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:08] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-07-16 19:59:48.793429 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:48] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:59:48.829897 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:59:48.848215 : Add_Partner_Client -'module' object is not subscriptable - Line : 91
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:48] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-07-16 19:59:55.811192 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:55] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 19:59:55.823681 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 19:59:55.840010 : Add_Partner_Client -'module' object is not subscriptable - Line : 91
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 19:59:55] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:00:23.041527 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:00:23.041527 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:00:23.041527 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:00:23.041527 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:00:23.041527 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:05:23.112330+02:00 (in 299.997505 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:00:23.161404 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:00:23] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:00:23.170385 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:00:23.822106 : Add_Partner_Client -'module' object is not subscriptable - Line : 91
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:00:23] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:00:59.017288 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:00:59.018288 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:00:59.018288 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:00:59.018288 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:00:59.018288 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:05:59.081030+02:00 (in 299.997001 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:00:59.126504 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:00:59] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:00:59.132652 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:00:59.746474 : Add_Partner_Client -'module' object is not subscriptable - Line : 99
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:00:59] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:06:01.889986+02:00 (in 299.987349 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:06:01 CEST)" (scheduled at 2023-07-16 20:01:01.889986+02:00)
+INFO:root:2023-07-16 20:01:01.907655 : dimanche, 16. juillet 2023 08:01:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:06:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:01:16.172538 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:01:16.172538 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:01:16.172538 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:01:16.172538 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:01:16.172538 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:06:16.246387+02:00 (in 299.995861 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:01:16.300979 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:01:16] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:01:16.310452 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:01:17.160648 : Add_Partner_Client -'partner_recid' - Line : 114
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:01:17] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:02:16.432518 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:02:16.432518 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:02:16.433052 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:02:16.433052 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:02:16.433052 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:07:16.501769+02:00 (in 299.996311 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:02:16.552452 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:02:16] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:02:16.559757 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:02:17.305668 : Add_Partner_Client -'str' object has no attribute 'read' - Line : 161
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:02:17] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:03:05.527596 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:03:05.527596 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:03:05.527596 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:03:05.527596 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:03:05.527596 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:08:05.589706+02:00 (in 299.997660 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:03:09.370298 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:03:09] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:03:09.380784 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:03:10.618846 : Add_Partner_Client -'str' object has no attribute 'read' - Line : 161
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:03:10] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:04:25.889871 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:04:25.889871 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:04:25.889871 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:04:25.890879 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:04:25.890879 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:09:25.954230+02:00 (in 299.997991 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:11:01.889986+02:00 (in 299.990249 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:11:01 CEST)" (scheduled at 2023-07-16 20:06:01.889986+02:00)
+INFO:root:2023-07-16 20:06:01.902926 : dimanche, 16. juillet 2023 08:06:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:11:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:09:25 CEST)" was missed by 0:00:47.425947
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:19:25.954230+02:00 (in 252.576079 seconds)
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:21:01.889986+02:00 (in 252.573992 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:21:01 CEST)" was missed by 0:00:47.426999
+INFO:root:2023-07-16 20:17:42.994391 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:17:42] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:17:43.006332 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:17:43.989142 : Add_Partner_Client -'str' object has no attribute 'read' - Line : 161
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:17:43] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:24:25.954230+02:00 (in 299.987659 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:24:25 CEST)" (scheduled at 2023-07-16 20:19:25.954230+02:00)
+INFO:root:2023-07-16 20:19:25.969359 : dimanche, 16. juillet 2023 08:19:25 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:24:25 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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:26:01.889986+02:00 (in 299.983998 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:26:01 CEST)" (scheduled at 2023-07-16 20:21:01.889986+02:00)
+INFO:root:2023-07-16 20:21:01.910503 : dimanche, 16. juillet 2023 08:21:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:26:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:22:36.142785 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:22:36.142785 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:22:36.142785 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:22:36.142785 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:22:36.142785 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:27:36.217634+02:00 (in 299.997265 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:22:36.268519 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:22:36] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:22:36.276108 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:22:37.012493 : Add_Partner_Client -'str' object has no attribute 'read' - Line : 165
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:22:37] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:31:01.889986+02:00 (in 299.993288 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:31:01 CEST)" (scheduled at 2023-07-16 20:26:01.889986+02:00)
+INFO:root:2023-07-16 20:26:01.899783 : dimanche, 16. juillet 2023 08:26:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:31:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:26:17.953561 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:26:17.953561 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:26:17.953561 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:26:17.954647 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:26:17.954647 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:31:18.021278+02:00 (in 299.998482 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:26:41.694242 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:26:41.694242 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:26:41.694242 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:26:41.694242 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:26:41.694242 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:31:41.760775+02:00 (in 299.996738 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:26:41.808741 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:26:41] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:26:41.818971 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:26:42.510897 : Add_Partner_Client -'str' object has no attribute 'keys' - Line : 184
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:26:42] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:36:01.889986+02:00 (in 299.996523 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:36:01 CEST)" (scheduled at 2023-07-16 20:31:01.889986+02:00)
+INFO:root:2023-07-16 20:31:01.896827 : dimanche, 16. juillet 2023 08:31:01 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:36:01 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:31:44.587063 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:31:44.588067 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:31:44.588067 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:31:44.588067 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:31:44.588067 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:36:44.661754+02:00 (in 299.997480 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:32:44.807123 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:32:44.807123 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:32:44.807123 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:32:44.807123 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:32:44.807123 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:37:44.882784+02:00 (in 299.997695 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:33:23.967136 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:33:23.967136 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:33:23.967136 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:33:23.967136 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:33:23.967136 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:38:24.050281+02:00 (in 299.996959 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:33:25.870645 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:33:25] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:33:25.881858 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:33:26.786553 : Add_Partner_Client -'str' object has no attribute 'keys' - Line : 186
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:33:26] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-16 20:34:49.019681 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:34:49.020779 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:34:49.020779 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:34:49.020779 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:34:49.020779 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:39:49.095558+02:00 (in 299.997599 seconds)
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:35:00.594377 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:35:00.595914 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:35:00.595914 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:35:00.595914 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:35:00.595914 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:40:00.664404+02:00 (in 299.997032 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:35:00.709956 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:35:00] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:35:00.719238 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:35:01.384598 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 182
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:35:01] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:36:13.575246 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:36:13.575246 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:36:13.575246 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:36:13.576251 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:36:13.576251 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:41:13.652747+02:00 (in 299.995825 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:36:13.707775 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:36:13] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:36:13.751669 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:36:14.596909 : Add_Partner_Client -'str' object has no attribute 'keys' - Line : 190
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:36:14] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:36:54.504735 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:36:54.504735 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:36:54.504735 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:36:54.504735 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:36:54.506194 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:41:54.570666+02:00 (in 299.996205 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:37:00.376359 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:37:00] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:37:00.383896 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:37:01.309884 : Add_Partner_Client -'str' object has no attribute 'keys' - Line : 191
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:37:01] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:39:23.714384 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:39:23.714384 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:39:23.714384 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:39:23.714384 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:39:23.714384 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:44:23.781746+02:00 (in 299.996421 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:39:23.832712 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:39:23] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:39:23.840039 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:39:24.587778 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 184
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:39:24] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:39:49 CEST)" (scheduled at 2023-07-16 20:39:49.095558+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:44:49.095558+02:00 (in 299.995781 seconds)
+INFO:root:2023-07-16 20:39:49.105668 : dimanche, 16. juillet 2023 08:39:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:44: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-16 20:39:57.855862 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:39:57.855862 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:39:57.855862 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:39:57.855862 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:39:57.855862 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:44:57.929792+02:00 (in 299.997416 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:39:57.981456 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:39:57] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:39:57.987676 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:39:58.737588 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 184
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:39:58] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-07-16 20:40:16.645935 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:40:16] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:40:16.654781 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:40:16.672055 : Add_Partner_Client -'str' object has no attribute 'keys' - Line : 191
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:40:16] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-07-16 20:40:38.264004 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:40:38] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:40:38.273120 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:40:38.291785 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 184
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:40:38] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:root:2023-07-16 20:41:02.501581 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:41:02] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:41:02.512583 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:41:02.528590 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 184
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:41:02] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:41:45.205594 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:41:45.205594 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:41:45.205594 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:41:45.205594 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:41:45.205594 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:46:45.283811+02:00 (in 299.996783 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:41:45.328347 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:41:45] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:41:45.338220 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-16 20:41:45.978241 : Add_Partner_Client -Expecting property name enclosed in double quotes: line 1 column 2 (char 1) - Line : 187
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:41:45] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:49:49.095558+02:00 (in 299.990406 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:49:49 CEST)" (scheduled at 2023-07-16 20:44:49.095558+02:00)
+INFO:root:2023-07-16 20:44:49.108425 : dimanche, 16. juillet 2023 08:44:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:49: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:46:45 CEST)" (scheduled at 2023-07-16 20:46:45.283811+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:51:45.283811+02:00 (in 299.999522 seconds)
+INFO:root:2023-07-16 20:46:45.288809 : dimanche, 16. juillet 2023 08:46:45 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:51:45 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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:47:30.984271 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:47:30.985297 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:47:30.985297 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:47:30.985297 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:47:30.985297 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:52:31.080839+02:00 (in 299.998002 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-16 20:48:33.245301 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:48:33.245301 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:48:33.245301 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:48:33.245301 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:48:33.245301 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:53:33.320000+02:00 (in 299.996182 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:48:33.371911 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:48:33] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:48:33.381417 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:48:33] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:54:49.095558+02:00 (in 299.990523 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:54:49 CEST)" (scheduled at 2023-07-16 20:49:49.095558+02:00)
+INFO:root:2023-07-16 20:49:49.108038 : dimanche, 16. juillet 2023 08:49:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:root:2023-07-16 20:49:56.101930 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-16 20:49:56.102929 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-16 20:49:56.102929 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-16 20:49:56.102929 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-16 20:49:56.102929 : ++ LMS_BAS_URL mysy-training.com/ ++
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Flask_Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:54:56.197096+02:00 (in 299.997575 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 108-554-791
+INFO:root:2023-07-16 20:49:56.289338 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:49:56] "[32mPOST /myclass/api/Add_Partner_Client HTTP/1.1[0m" 308 -
+INFO:root:2023-07-16 20:49:56.300466 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [16/Jul/2023 20:49:56] "POST /myclass/api/Add_Partner_Client/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:59:49.095558+02:00 (in 299.987078 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:59:49 CEST)" (scheduled at 2023-07-16 20:54:49.095558+02:00)
+INFO:root:2023-07-16 20:54:49.111516 : dimanche, 16. juillet 2023 08:54:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:59: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:54:56 CEST)" (scheduled at 2023-07-16 20:54:56.197096+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 20:59:56.197096+02:00 (in 299.993280 seconds)
+INFO:root:2023-07-16 20:54:56.210218 : dimanche, 16. juillet 2023 08:54:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 20:59:56 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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 21:04:49.095558+02:00 (in 299.995569 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 21:04:49 CEST)" (scheduled at 2023-07-16 20:59:49.095558+02:00)
+INFO:root:2023-07-16 20:59:49.104061 : dimanche, 16. juillet 2023 08:59:49 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 21: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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-16 21:04:56.197096+02:00 (in 299.993878 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 21:04:56 CEST)" (scheduled at 2023-07-16 20:59:56.197096+02:00)
+INFO:root:2023-07-16 20:59:56.206005 : dimanche, 16. juillet 2023 08:59:56 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:05:00], next run at: 2023-07-16 21:04:56 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 3125, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\partner_client.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
diff --git a/abonnement_mgt.py b/abonnement_mgt.py
index 73a3b79..21522e0 100644
--- a/abonnement_mgt.py
+++ b/abonnement_mgt.py
@@ -322,20 +322,20 @@ def Update_Abonnement(diction):
"""
Clés de mise à jour
"""
- date_cle = {}
- date_cle['partner_recid'] = str(partner_recid)
- date_cle['stripe_subscription_id'] = str(stripe_subscription_id)
- date_cle['valide'] = "1"
- date_cle['locked'] = "0"
+ data_cle = {}
+ data_cle['partner_recid'] = str(partner_recid)
+ data_cle['stripe_subscription_id'] = str(stripe_subscription_id)
+ data_cle['valide'] = "1"
+ data_cle['locked'] = "0"
inserted_id = ""
result = MYSY_GV.dbname['abonnement'].find_one_and_update(
- date_cle,
+ data_cle,
{"$set": data},
upsert=False,
return_document=ReturnDocument.AFTER
)
- if (not result.acknowledged):
+ if ("_id" not in result.keys()):
mycommon.myprint(
" Impossible de mettre à jour l'abonnement : " + str(stripe_subscription_id))
return False, " Impossible de mettre à jour l'abonnement: " + str(stripe_subscription_id) + " "
diff --git a/appel_offre.py b/appel_offre.py
index a141d24..4a2e5fb 100644
--- a/appel_offre.py
+++ b/appel_offre.py
@@ -32,7 +32,8 @@ def Add_Appel_Offre(diction):
Verification des input acceptés
"""
field_list = ['token', "external_code", "description", "date_debut", "date_fin", "contact",
- "date_deliberation", "description_critere_selection", "comment", "list_produits_appel_offre"]
+ "date_deliberation", "description_critere_selection", "comment",
+ "list_produits_appel_offre", "list_class"]
incom_keys = diction.keys()
for val in incom_keys:
if val not in field_list:
@@ -96,18 +97,28 @@ def Add_Appel_Offre(diction):
description = diction['description']
data['description'] = diction['description']
+ # Verification s'il ya une liste de formation, et si cette liste est correcte
+ list_class = ""
+ if ("list_class" in diction.keys()):
+ list_class = diction['comment']
+ if (isinstance(list_class, list) is False):
+ mycommon.myprint(
+ " La liste des formation n'est pas de type list. ")
+ return False, "La liste des formation n'est pas de type list. "
+
+
date_debut = ""
if ("date_debut" in diction.keys()):
if diction['date_debut']:
date_debut = diction['date_debut']
data['date_debut'] = diction['date_debut']
- local_status = mycommon.CheckisDate(date_debut)
- if (local_status is False):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " - La date debut n'est pas au format jj/mm/aaaa ")
- return False, " La date debut n'est pas au format jj/mm/aaaa "
+ local_status = mycommon.CheckisDate(date_debut)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date debut n'est pas au format jj/mm/aaaa ")
+ return False, " La date debut n'est pas au format jj/mm/aaaa "
date_fin = ""
@@ -116,24 +127,25 @@ def Add_Appel_Offre(diction):
date_fin = diction['date_fin']
data['date_fin'] = diction['date_fin']
- local_status = mycommon.CheckisDate(date_fin)
- if (local_status is False):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " - La date de fin n'est pas au format jj/mm/aaaa ")
- return False, " La date de fin n'est pas au format jj/mm/aaaa "
+ local_status = mycommon.CheckisDate(date_fin)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date de fin n'est pas au format jj/mm/aaaa ")
+ return False, " La date de fin n'est pas au format jj/mm/aaaa "
"""
Controle cohérence des dates debut et fin
"""
- if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
- str(date_fin).strip(), '%d/%m/%Y')):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " La date debut " + str(date_debut) +" est postérieure à la date de fin " + str(date_fin) + " ")
+ if( date_debut and date_fin ):
+ if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
+ str(date_fin).strip(), '%d/%m/%Y')):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La date debut " + str(date_debut) +" est postérieure à la date de fin " + str(date_fin) + " ")
- return False, " La date debut " + str(date_debut) + " est postérieure à la date de fin " + str(date_fin) + " "
+ return False, " La date debut " + str(date_debut) + " est postérieure à la date de fin " + str(date_fin) + " "
contact = ""
@@ -148,25 +160,26 @@ def Add_Appel_Offre(diction):
date_deliberation = diction['date_deliberation']
data['date_deliberation'] = diction['date_deliberation']
- local_status = mycommon.CheckisDate(date_deliberation)
- if (local_status is False):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " - La date de deliberation n'est pas au format jj/mm/aaaa ")
- return False, " La date de deliberation n'est pas au format jj/mm/aaaa "
+ local_status = mycommon.CheckisDate(date_deliberation)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date de deliberation n'est pas au format jj/mm/aaaa ")
+ return False, " La date de deliberation n'est pas au format jj/mm/aaaa "
"""
Controle cohérence des dates debut et la date de deliberation
"""
- if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
- str(date_deliberation).strip(), '%d/%m/%Y')):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " La date debut " + str(date_debut) + " est postérieure à la date de deliberation " + str(
- date_deliberation) + " ")
+ if( date_debut and date_deliberation ):
+ if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
+ str(date_deliberation).strip(), '%d/%m/%Y')):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La date debut " + str(date_debut) + " est postérieure à la date de deliberation " + str(
+ date_deliberation) + " ")
- return False, " La date debut " + str(date_debut) + " est postérieure à la date de deliberation " + str(
- date_deliberation) + " "
+ return False, " La date debut " + str(date_debut) + " est postérieure à la date de deliberation " + str(
+ date_deliberation) + " "
description_critere_selection = ""
@@ -203,6 +216,7 @@ def Add_Appel_Offre(diction):
data['partner_recid'] = my_partner['recid']
data['valide'] = '1'
data['locked'] = '0'
+ data['status'] = '0'
inserted_id = ""
inserted_id = MYSY_GV.dbname['appel_offre'].insert_one(data).inserted_id
@@ -212,6 +226,45 @@ def Add_Appel_Offre(diction):
return False, " Impossible de créer l'appel d'offre (1) "
+ """
+ A présent que l'appel d'offre à été créé, on va verifier s'il y a des formations associées.
+ Si oui, on les ajoute à la collection ao_class
+ """
+ list_class = ""
+ for val in list_class :
+ class_data = {}
+ if ("domain" in val.keys()):
+ class_data['domain'] = diction['domain']
+
+ if ("objectif" in val.keys()):
+ class_data['objectif'] = diction['objectif']
+
+ if ("nb_participant" in val.keys()):
+ class_data['nb_participant'] = diction['nb_participant']
+
+ if ("date_debut" in val.keys()):
+ class_data['date_debut'] = diction['date_debut']
+
+ if ("date_fin" in val.keys()):
+ class_data['date_fin'] = diction['date_fin']
+
+ if ("lieu" in val.keys()):
+ class_data['lieu'] = diction['lieu']
+
+ if ("budget" in val.keys()):
+ class_data['budget'] = diction['budget']
+
+ if ("comment" in val.keys()):
+ class_data['comment'] = diction['comment']
+
+ class_data['external_code'] = str(external_code)
+ class_data['partner_recid'] = str(my_partner['recid'])
+ class_data['valide'] = "1"
+
+ MYSY_GV.dbname['ao_class'].insert_one(class_data)
+
+
+
return True, " L'appel d'ofre a été correctement créé"
except Exception as e:
@@ -220,19 +273,20 @@ def Add_Appel_Offre(diction):
return False, " Impossible d'ajouter l'appel d'offre "
-"""
-Mise à jour d'un appel d'offre
-"""
-def Update_Appel_Offre(diction):
+
+"""
+Cette fonction ajoute et met à jour une formation associé à une appel d'offre
+"""
+def Add_Update_AO_Class(diction):
try:
diction = mycommon.strip_dictionary(diction)
"""
Verification des input acceptés
"""
- field_list = ['token', 'nom', 'prenom', 'email', 'tel_mobile', 'date_naissance', 'adr_rue', 'adr_ville',
- 'adr_code_postal', 'adr_pays']
+ field_list = ['token', "external_code", "list_class"]
+
incom_keys = diction.keys()
for val in incom_keys:
if val not in field_list:
@@ -243,7 +297,7 @@ def Update_Appel_Offre(diction):
"""
Verification des champs obligatoires
"""
- field_list_obligatoire = ['token', 'email']
+ field_list_obligatoire = ['token', 'external_code']
for val in field_list_obligatoire:
if val not in diction:
mycommon.myprint(
@@ -281,54 +335,109 @@ def Update_Appel_Offre(diction):
Recuperation des données fournies en entrée
"""
- data = {}
+ data_update = {}
- nom = ""
- if ("nom" in diction.keys()):
- nom = diction['nom']
- data['nom'] = diction['nom']
+ external_code = ""
+ if ("external_code" in diction.keys()):
+ external_code = diction['external_code']
- """
- Clés de mise à jour
- """
- date_cle = {}
- date_cle['email'] = str(email)
- date_cle['partner_recid'] = str(partner_recid)
- date_cle['valide'] = "1"
- date_cle['locked'] = "0"
+ # Verification s'il ya une liste de formation, et si cette liste est correcte
+ list_class = ""
+ if ("list_class" in diction.keys()):
+ list_class = diction['comment']
+ if (isinstance(list_class, list) is False):
+ mycommon.myprint(
+ " La liste des formation n'est pas de type list. ")
+ return False, "La liste des formation n'est pas de type list. "
- inserted_id = ""
- result = MYSY_GV.dbname['candidat'].find_one_and_update(
- date_cle,
- {"$set": data},
- upsert=False,
- return_document=ReturnDocument.AFTER
- )
- if (not result.acknowledged):
- mycommon.myprint(
- " Impossible de mettre à jour l'appel d'offre: " + str(email))
- return False, " Impossible de mettre à jour l'appel d'offre: " + str(email) + " "
+ ret_val_message = ""
+ list_class = ""
+ cpt = 0
+ for val in list_class:
+ cpt = cpt + 1
+ class_data = {}
+ if ("domain" in val.keys()):
+ class_data['domain'] = diction['domain']
- return True, " L'appel d'offre a été correctement mise à jour"
+ if ("title" in val.keys()):
+ class_data['title'] = diction['title']
+
+ if ("objectif" in val.keys()):
+ class_data['objectif'] = diction['objectif']
+
+ if ("nb_participant" in val.keys()):
+ class_data['nb_participant'] = diction['nb_participant']
+
+ if ("date_debut" in val.keys()):
+ class_data['date_debut'] = diction['date_debut']
+
+ if ("date_fin" in val.keys()):
+ class_data['date_fin'] = diction['date_fin']
+
+ if ("lieu" in val.keys()):
+ class_data['lieu'] = diction['lieu']
+
+ if ("budget" in val.keys()):
+ class_data['budget'] = diction['budget']
+
+ if ("comment" in val.keys()):
+ class_data['comment'] = diction['comment']
+
+ class_data['external_code'] = str(external_code)
+ class_data['partner_recid'] = str(my_partner['recid'])
+ class_data['valide'] = "1"
+
+ ret_val = MYSY_GV.dbname['ao_class'].find_one_and_update({'external_code': str(external_code),
+ 'partner_recid':str(my_partner['recid']), 'valide': '1'},
+ {"$set": class_data},
+ upsert=True,
+ return_document=ReturnDocument.AFTER
+ )
+
+ if ("_id" not in ret_val.keys()):
+ ret_val_message = ret_val_message +" - Impossible de créer / mettre à jour la formation à la ligne "+str(cpt)
+
+
+ if(len(ret_val_message) > 2):
+ return True, str(ret_val_message)
+
+ return True, " La formation a été ajouter à l'appel d'offre"
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, " Impossible de mettre à jour l'appel d'offre' "
+ return False, " Impossible d'ajouter la formation à l'appel d'offre "
"""
-fonction de recuperation d'un appel d'offre
+Mise à jour d'un appel d'offre.
+
+la clé pour la mise à jour est : "external_code" et "partner_recid" issue du token
+
+/!\ Le status de l'appel d'offre est comme suit :
+ - 0 : Draft, en cours de conception
+ - 1 : lancé / publié
+ - 2 : cloturé
+
+ /!\ le scope : scope : public (tout internet), plateforme (que les personne enregistrées sur le mysy), restreint (l'utilisateur saisie une liste d'adresse email a qui l'envoyer)
+ - 0 : Tout public
+ - 1 : plateforme
+ - 2 : restreint (liste email) 343
+
+
"""
-def Get_Appel_Offre(diction):
+def Update_Appel_Offre(diction):
+
try:
diction = mycommon.strip_dictionary(diction)
"""
- Verification des input acceptés
- """
- field_list = ['token', 'nom', 'prenom', 'email', 'tel_mobile', 'date_naissance', 'adr_rue', 'adr_ville',
- 'adr_code_postal', 'adr_pays', 'candidats_id', 'cpny']
+ Verification des input acceptés
+ """
+ field_list = ['token', "external_code", "description", "date_debut", "date_fin", "contact",
+ "date_deliberation", "description_critere_selection", "comment", "list_produits_appel_offre",
+ "status"]
+
incom_keys = diction.keys()
for val in incom_keys:
if val not in field_list:
@@ -339,7 +448,205 @@ def Get_Appel_Offre(diction):
"""
Verification des champs obligatoires
"""
- field_list_obligatoire = ['token']
+ field_list_obligatoire = ['token', 'external_code']
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ # Verifier la validité du token
+ retval = mycommon.check_partner_token_validity("", token)
+
+ if retval is False:
+ return "Err_Connexion", " La session de connexion n'est pas valide"
+
+ partner_recid = mycommon.get_parnter_recid_from_token(token)
+ if (partner_recid is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - partner_recid est KO. Les données de connexion sont incorrectes ")
+ return False, " Vous n'etes pas autorisé à utiliser cette API "
+
+ # Recuperation des données du partenaire
+ local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid)
+ if (local_status is False):
+ mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire")
+ return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire. "
+
+ """
+ Recuperation des données fournies en entrée
+ """
+
+ data_update = {}
+
+ external_code = ""
+ if ("external_code" in diction.keys()):
+ external_code = diction['external_code']
+
+ """
+ Clés de mise à jour
+ """
+ data_cle = {}
+ data_cle['external_code'] = str(external_code)
+ data_cle['partner_recid'] = str(my_partner['recid'])
+ data_cle['valide'] = "1"
+ data_cle['locked'] = "0"
+
+ description = ""
+ if ("description" in diction.keys()):
+ data_update['description'] = diction['description']
+
+ contact = ""
+ if ("contact" in diction.keys()):
+ data_update['contact'] = diction['contact']
+
+ description_critere_selection = ""
+ if ("description_critere_selection" in diction.keys()):
+ data_update['description_critere_selection'] = diction['description_critere_selection']
+
+ comment = ""
+ if ("comment" in diction.keys()):
+ data_update['comment'] = diction['comment']
+
+ status = ""
+ if ("status" in diction.keys()):
+ if( str(diction['status']) not in ["0", "1", "2"]):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - Le statut de l'appel d'offre doit etre 0, 1 ou 2. Information fournie :"+str(diction['status']) )
+ return False, " - Le statut de l'appel d'offre doit etre 0, 1 ou 2. Information fournie :"+str(diction['status'])+" "
+
+ data_update['status'] = diction['status']
+
+
+ list_produits_appel_offre = ""
+ if ("list_produits_appel_offre" in diction.keys()):
+ data_update['list_produits_appel_offre'] = diction['list_produits_appel_offre']
+
+ date_debut = ""
+ if ("date_debut" in diction.keys()):
+ date_debut = diction['date_debut']
+
+ local_status = mycommon.CheckisDate(date_debut)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date debut n'est pas au format jj/mm/aaaa ")
+ return False, " La date debut n'est pas au format jj/mm/aaaa "
+
+ data_update['date_debut'] = diction['date_debut']
+
+ date_fin = ""
+ if ("date_fin" in diction.keys()):
+ date_fin = diction['date_fin']
+
+ local_status = mycommon.CheckisDate(date_fin)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date de fin n'est pas au format jj/mm/aaaa ")
+ return False, " La date de fin n'est pas au format jj/mm/aaaa "
+
+ data_update['date_fin'] = diction['date_fin']
+
+ """
+ Controle cohérence des dates debut et fin
+ """
+ if (date_debut and date_fin):
+ if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
+ str(date_fin).strip(), '%d/%m/%Y')):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La date debut " + str(date_debut) + " est postérieure à la date de fin " + str(
+ date_fin) + " ")
+
+ return False, " La date debut " + str(date_debut) + " est postérieure à la date de fin " + str(
+ date_fin) + " "
+
+
+ date_deliberation = ""
+ if ("date_deliberation" in diction.keys()):
+ if diction['date_deliberation']:
+ date_deliberation = diction['date_deliberation']
+
+
+ local_status = mycommon.CheckisDate(date_deliberation)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La date de deliberation n'est pas au format jj/mm/aaaa ")
+ return False, " La date de deliberation n'est pas au format jj/mm/aaaa "
+
+ data_update['date_deliberation'] = diction['date_deliberation']
+
+ data_update['date_update'] = str(datetime.now())
+ """
+ Controle cohérence des dates debut et la date de deliberation
+ """
+ if (date_debut and date_deliberation):
+ if (datetime.strptime(str(date_debut).strip(), '%d/%m/%Y') > datetime.strptime(
+ str(date_deliberation).strip(), '%d/%m/%Y')):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La date debut " + str(
+ date_debut) + " est postérieure à la date de deliberation " + str(
+ date_deliberation) + " ")
+
+ return False, " La date debut " + str(date_debut) + " est postérieure à la date de deliberation " + str(
+ date_deliberation) + " "
+
+
+ inserted_id = ""
+ result = MYSY_GV.dbname['appel_offre'].find_one_and_update(
+ data_cle,
+ {"$set": data_update},
+ upsert=False,
+ return_document=ReturnDocument.AFTER
+ )
+ if ("_id" not in result.keys()):
+ mycommon.myprint(
+ " Impossible de mettre à jour l'appel d'offre: external_code = " + str(external_code))
+ return False, " Impossible de mettre à jour l'appel d'offre "
+
+ return True, " L'appel d'offre a été correctement mise à jour"
+
+ 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, " Impossible de mettre à jour l'appel d'offre "
+
+
+"""
+fonction de recuperation d'un appel d'offre donné
+"""
+def Get_Given_Appel_Offre(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'external_code']
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'external_code']
for val in field_list_obligatoire:
if val not in diction:
mycommon.myprint(
@@ -362,13 +669,34 @@ def Get_Appel_Offre(diction):
return "Err_Connexion", " La session de connexion n'est pas valide"
# Recuperation des données du partenaire
- local_status, my_user = mycommon.get_user_data_from_token(token)
+ local_status, my_partner = mycommon.get_user_data_from_token(token)
if (local_status is False):
mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur ")
return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur. "
+ external_code = ""
+ if ("external_code" in diction.keys()):
+ external_code = diction['external_code']
+
+ """
+ Clés de mise à jour
+ """
+ data_cle = {}
+ data_cle['external_code'] = str(external_code)
+ data_cle['partner_recid'] = str(my_partner['recid'])
+ data_cle['valide'] = "1"
+ data_cle['locked'] = "0"
+
RetObject = []
- nb_val = 0
+ val_tmp = 1
+
+ print(" #### data_cle 01= " + str(data_cle))
+
+ for retval in MYSY_GV.dbname[''].find(data_cle):
+ user = retval
+ user['id'] = str(val_tmp)
+ val_tmp = val_tmp + 1
+ RetObject.append(mycommon.JSONEncoder().encode(user))
return True, RetObject
@@ -376,6 +704,154 @@ def Get_Appel_Offre(diction):
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, " Impossible de recuperer la liste des candidats "
+ return False, " Impossible de recuperer l'appel d'offre "
+
+
+"""
+Fonction retourne une liste de d'appel d'offre d'un partenaire
+"""
+def Get_List_Appel_Offre(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'status']
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'external_code']
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ # Verifier la validité du token
+ retval = mycommon.check_partner_token_validity("", token)
+
+ if retval is False:
+ return "Err_Connexion", " La session de connexion n'est pas valide"
+
+ # Recuperation des données du partenaire
+ local_status, my_partner = mycommon.get_user_data_from_token(token)
+ if (local_status is False):
+ mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur ")
+ return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données de l'utilisateur. "
+
+
+
+ """
+ Clés de mise à jour
+ """
+ data_cle = {}
+ data_cle['partner_recid'] = str(my_partner['recid'])
+ data_cle['valide'] = "1"
+ data_cle['locked'] = "0"
+
+ status = ""
+ if ("status" in diction.keys()):
+ if (str(diction['status']) not in ["0", "1", "2"]):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - Le statut de l'appel d'offre doit etre 0, 1 ou 2. Information fournie :" + str(
+ diction['status']))
+ return False, " - Le statut de l'appel d'offre doit etre 0, 1 ou 2. Information fournie :" + str(diction['status'])+" "
+
+
+ data_cle['status'] = diction['status']
+
+
+ RetObject = []
+ val_tmp = 1
+
+ print(" #### data_cle 01= " + str(data_cle))
+
+ for retval in MYSY_GV.dbname[''].find(data_cle):
+ user = retval
+ user['id'] = str(val_tmp)
+ val_tmp = val_tmp + 1
+ RetObject.append(mycommon.JSONEncoder().encode(user))
+
+
+ return True, RetObject
+
+ 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, " Impossible de recuperer la liste des appels d'offre "
+
+
+"""
+Cette fonction effectue une manifestation d'interet d'un institut de formation pour l'AO
+"""
+def Add_Manifestation_Interet_Appel_Offre(diction):
+ try:
+ 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, " Impossible de créer la manifestation d'interet pour l'appel d'offre "
+
+
+
+"""
+Recuperation de list des manifesations d'interet pour un AO
+"""
+def Get_List_Manifestation_Interet_Appel_Offre(diction):
+ try:
+ 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, " Impossible de recupérer la liste des manifestations d'interet pour l'appel d'offre "
+
+
+
+
+"""
+Cette fonction effectue une réponse à l'AO d'un institut de formation
+"""
+def Add_Reponse_Appel_Offre(diction):
+ try:
+ 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, " Impossible de créer la réponse pour l'appel d'offre "
+
+
+"""
+Recuperation de list des réponses à un AO
+"""
+def Get_List_Reponse_Appel_Offre(diction):
+ try:
+ 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, " Impossible de recupérer la liste des réponses pour l'appel d'offre "
diff --git a/email_inscription_mgt.py b/email_inscription_mgt.py
index 02da16f..f3bac6e 100644
--- a/email_inscription_mgt.py
+++ b/email_inscription_mgt.py
@@ -812,6 +812,8 @@ def SendAttestion_to_attendee_by_email(diction):
if ("contenu_ftion" in local_session.keys()):
contenu_ftion = str(local_session['contenu_ftion']).replace('', '').replace('
', '').replace("\r\n", ' ')
+ print(" ### contenu_ftion = ", contenu_ftion)
+
msg['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
msg['To'] = str(diction['email_participant'])
@@ -822,6 +824,9 @@ def SendAttestion_to_attendee_by_email(diction):
# msg = MIMEMultipart("alternative")
msg = MIMEMultipart("alternative")
+
+ msg22 = EmailMessage()
+
smtpserver = smtplib.SMTP(MYSY_GV.O365_SMTP_COUNT_smtpsrv, MYSY_GV.O365_SMTP_COUNT_port)
# JINJA2
@@ -873,12 +878,37 @@ def SendAttestion_to_attendee_by_email(diction):
# close output file
resultFile.close()
+ """
+ #-----------
+
+ msg22.set_content(sourceHtml, subtype='html')
+ msg22['From'] = MYSY_GV.O365_SMTP_COUNT_From_User
+
+ msg22['Bcc'] = 'contact@mysy-training.com'
+
+ msg22['Subject'] = 'MySy Training : Votre attestation de formation : ' + str(diction['class_title'])
+ msg22['To'] = str(diction['email_participant'])
+
+ smtpserver.ehlo()
+ smtpserver.starttls()
+ smtpserver.login(MYSY_GV.O365_SMTP_COUNT_user, MYSY_GV.O365_SMTP_COUNT_password)
+
+ val = smtpserver.send_message(msg22)
+ smtpserver.close()
+ print(" Email envoyé " + str(val))
+
+ return True, " email envoyé ok"
+
+ #----------
+ """
+
+
html = '''
- Attestation de {nom} {prenom}
+ Attestation de {nom} {prenom}
Bonjour,
Merci de trouver votre attestation de la formation {maformation} en pièce jointe
diff --git a/main.py b/main.py
index 15d3202..b5261c2 100644
--- a/main.py
+++ b/main.py
@@ -45,6 +45,8 @@ import business_prices as business_prices
import lms_chamilo.mysy_lms as mysy_lms
import code_promo_mgt as code_promo_mgt
from apscheduler.schedulers.background import BackgroundScheduler
+import appel_offre as appel_offre
+import partner_client as partner_client
app = Flask(__name__)
cors = CORS(app, resources={r"/foo": {"origins": "*"}})
@@ -3135,6 +3137,118 @@ def test_stripe():
localStatus, message = Stripe.test_stripe()
return jsonify(status=localStatus,)
+"""
+API de creation d'un appel d'offre
+"""
+@app.route('/myclass/api/Add_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Add_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Add_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+"""
+API de mise à jour d'un appel d'offre
+"""
+@app.route('/myclass/api/Update_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Update_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Update_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Update_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+
+"""
+API de recuperation d'un appel d'offre donnée
+"""
+@app.route('/myclass/api/Get_Given_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_Given_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_Given_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Get_Given_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+"""
+API de recuperation d'une liste d'appel d'offre d'un partenaire
+"""
+@app.route('/myclass/api/Get_List_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_List_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_List_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Get_List_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+
+"""
+API qui permet de faire une manifestation d'interet pour une AO
+"""
+@app.route('/myclass/api/Manifestation_Interet_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Manifestation_Interet_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Manifestation_Interet_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Manifestation_Interet_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+
+"""
+API qui permet de faire une réponse d'interet pour une AO
+"""
+@app.route('/myclass/api/Reponse_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Reponse_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Reponse_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Reponse_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+"""
+API qui retourne la liste des manifesations d'interet pour un AO
+"""
+@app.route('/myclass/api/Get_List_Manifestation_Interet_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_List_Manifestation_Interet_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_List_Manifestation_Interet_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Get_List_Manifestation_Interet_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+"""
+API qui retourne la liste des réponses pour un AO
+"""
+@app.route('/myclass/api/Get_List_Reponse_Appel_Offre/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_List_Reponse_Appel_Offre():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_List_Reponse_Appel_Offre : payload = ",payload)
+ localStatus, message = appel_offre.Get_List_Reponse_Appel_Offre(payload)
+ return jsonify(status=localStatus, message=message)
+
+"""
+API de creation d'un client d'un partner
+"""
+@app.route('/myclass/api/Add_Partner_Client/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Partner_Client():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Add_Partner_Client : payload = ",payload)
+ localStatus, message = partner_client.Add_Partner_Client(payload)
+ return jsonify(status=localStatus, message=message)
+
+
if __name__ == '__main__':
print(" debut api")
diff --git a/partner_client.py b/partner_client.py
new file mode 100644
index 0000000..e1ff826
--- /dev/null
+++ b/partner_client.py
@@ -0,0 +1,241 @@
+"""
+Ce fichier permet de gerer tout qui est lié aux client d'un partenaire.
+
+Cas d'utilisation :
+Un partenaire de mysy, souhaite créer (CRUD) ses clients
+Emettre des devis, bons de commandes, des factures, etc....
+"""
+
+import pymongo
+from pymongo import MongoClient
+import json
+from bson import ObjectId
+import re
+from datetime import datetime
+import prj_common as mycommon
+import secrets
+import inspect
+import sys, os
+import csv
+import pandas as pd
+from pymongo import ReturnDocument
+import GlobalVariable as MYSY_GV
+from math import isnan
+import GlobalVariable as MYSY_GV
+import ela_index_bdd_classes as eibdd
+import email_mgt as email
+import ast
+
+def Add_Partner_Client(diction):
+
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', "raison_sociale", "nom", "siret", "tva", "email",
+ "telephone", "website", "comment", "address", "invoice_address", "list_contact", ]
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', "raison_sociale", "nom", "email", "telephone", "address", ]
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
+ return False, " Les informations fournies sont incorrectes",
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ # Verifier la validité du token
+ retval = mycommon.check_partner_token_validity("", token)
+
+ if retval is False:
+ return "Err_Connexion", " La session de connexion n'est pas valide"
+
+ partner_recid = mycommon.get_parnter_recid_from_token(token)
+ if (partner_recid is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - partner_recid est KO. Les données de connexion sont incorrectes ")
+ return False, " Vous n'etes pas autorisé à utiliser cette API "
+
+ # Recuperation des données du partenaire
+ local_status, my_partner = mycommon.get_partner_data_from_recid(partner_recid)
+ if (local_status is False):
+ mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire")
+ return False, str(inspect.stack()[0][3]) + " - impossible de recuperer les données du partenaire. "
+
+
+ """
+ Verification s'il n'existe pas un cient du partenaire qui perte le meme
+ nom, ou la meme adresse email
+ """
+
+ qry = {'nom': str(diction['nom']), 'valide': '1', 'partner_recid': str(my_partner['recid'])}
+ print(" ### qry = ", qry)
+
+ tmp_count = MYSY_GV.dbname['partner_client'].count_documents(qry)
+ if (tmp_count > 0):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - Cet appel d'offre est deja enregistré : nom = ", str(diction['nom']))
+
+ return False, " - Il existe déjà un client qui porte le même nom "
+
+ tmp_count = MYSY_GV.dbname['partner_client'].count_documents({'email': str(diction['email']),
+ 'valide': '1', 'partner_recid': my_partner['recid']})
+ if (tmp_count > 0):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - Cet appel d'offre est deja enregistré : email = ", str(diction['email']))
+
+ return False, " - Il existe déjà un client qui porte le même email principal "
+
+
+
+ """
+ Recuperation des données fournies en entrée
+ """
+ data = {}
+ data['partner_recid'] = my_partner['recid']
+
+ raison_sociale = ""
+ if ("raison_sociale" in diction.keys()):
+ if diction['raison_sociale']:
+ raison_sociale = diction['raison_sociale']
+ data['raison_sociale'] = diction['raison_sociale']
+
+ nom = ""
+ if ("nom" in diction.keys()):
+ if diction['nom']:
+ nom = diction['nom']
+ data['nom'] = diction['nom']
+
+ siret = ""
+ if ("siret" in diction.keys()):
+ if diction['siret']:
+ siret = diction['siret']
+ data['siret'] = diction['siret']
+
+ tva = ""
+ if ("tva" in diction.keys()):
+ if diction['tva']:
+ tva = diction['tva']
+ data['tva'] = diction['tva']
+
+ email = ""
+ if ("email" in diction.keys()):
+ if diction['email']:
+ email = diction['email']
+ data['email'] = diction['email']
+
+ website = ""
+ if ("website" in diction.keys()):
+ if diction['website']:
+ website = diction['website']
+ data['website'] = diction['website']
+
+ comment = ""
+ if ("comment" in diction.keys()):
+ if diction['comment']:
+ comment = diction['comment']
+ data['comment'] = diction['comment']
+
+ address = {}
+ if ("address" in diction.keys()):
+ if diction['address']:
+ address = ast.literal_eval(diction['address'])
+ data['address'] = ast.literal_eval(diction['address'])
+
+ invoice_address = {}
+ if ("invoice_address" in diction.keys()):
+ if diction['invoice_address']:
+ invoice_address = ast.literal_eval(diction['invoice_address'])
+ data['invoice_address'] = ast.literal_eval(diction['invoice_address'])
+
+ list_contact = ""
+ if ("list_contact" in diction.keys()):
+ if diction['list_contact']:
+ list_contact = diction['list_contact']
+ data['list_contact'] = diction['list_contact']
+
+
+ """"
+ /!\ : l'adresse etant directement enregistrée sur le client, alors verification que le ligne "adresse" contient bien les champs :
+ - adresse, code postal, ville, pays
+ """
+
+
+ adresse_field_list_obligatoire = ['adresse', "code_postal", "ville", "pays", ]
+ for val in adresse_field_list_obligatoire:
+ if val not in address.keys():
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Le champ '" + val + "' est obligatoire dans l'adresse")
+ return False, " Le champ '" + val + "' est obligatoire dans l'adresse",
+
+
+ print(" les info client à enregistrer : ", str(data))
+
+ return True, " Le client a été correctement créé"
+
+ 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, " Impossible d'ajouter le client "
+
+"""
+Mise à jour d'un client
+"""
+def Update_Partner_Client(diction):
+ try:
+
+ return True, " Le client a été correctement mise à jour"
+
+ 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, " Impossible de mettre à jour le client "
+
+
+"""
+Recuperation d'une liste de client d'un partenaire
+"""
+
+def Get_Partner_List_Partner_Client(diction):
+ try:
+
+ return True, " Le client a été correctement mise à jour"
+
+ 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, " Impossible de mettre à jour le client "
+
+
+"""
+Recuperation d'un client donnée
+"""
+def Get_Given_Partner_List_Client(diction):
+ try:
+
+ return True, " Le client a été correctement mise à jour"
+
+ 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, " Impossible de mettre à jour le client "