diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f8f5453..36c3fb4 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,11 +1,16 @@
-
+
+
+
+
+
+
@@ -364,7 +369,14 @@
1688911052400
-
+
+ 1688928267551
+
+
+
+ 1688928267551
+
+
@@ -379,7 +391,6 @@
-
@@ -404,6 +415,7 @@
-
+
+
\ No newline at end of file
diff --git a/Inscription_mgt.py b/Inscription_mgt.py
index f220ce3..8568b09 100644
--- a/Inscription_mgt.py
+++ b/Inscription_mgt.py
@@ -557,7 +557,7 @@ def UpdateStagiairetoClass(diction):
mycommon.myprint(" Les données du stagiaire ont été correctement mise à jour")
- if( str(return_message) != " "):
+ if( len(str(return_message)) > 5):
return True, "Les données du stagiaire ont été correctement mise à jour. WARNING : "+return_message
return True, "Les données du stagiaire ont été correctement mise à jour"
diff --git a/Log/log_file.log b/Log/log_file.log
index 6f533f3..9c918e9 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -1626640,3 +1626640,17661 @@ INFO:root:2023-07-09 20:42:18.384499 : ++ FLASK PORT 5001 ++
INFO:root:2023-07-09 20:42:18.384499 : ++ LMS_BAS_URL mysy-training.com/ ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 144-236-516
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:root:2023-07-09 21:01:09.799108 : ++ LANCEMENT JOB Cron_Strip_Get_Customer_Abonnement_Data TOUTES LES 60 sec ++
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-09 21:01:39.785027+02:00 (in 29.985919 seconds)
+INFO:apscheduler.scheduler:Scheduler has been shut down
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "print_date_time" 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-10 09:53:39.426313+02:00 (in 9.995031 seconds)
+INFO:root:2023-07-10 09:53:29.459160 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:53:29.460672 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:53:29.460672 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:53:29.460672 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:53:29.460672 : ++ LMS_BAS_URL mysy-training.com/ ++
+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
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:53:39 CEST)" (scheduled at 2023-07-10 09:53:39.426313+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:53:49.426313+02:00 (in 9.996221 seconds)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:53:49 CEST)" executed successfully
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "print_date_time" 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-10 09:53:52.374212+02:00 (in 9.996947 seconds)
+INFO:root:2023-07-10 09:53:42.377265 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:53:42.377265 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:53:42.377265 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:53:42.377265 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:53:42.377265 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:53:59.426313+02:00 (in 9.987906 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:53:59 CEST)" (scheduled at 2023-07-10 09:53:49.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:53:59 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:53:52 CEST)" (scheduled at 2023-07-10 09:53:52.374212+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:02.374212+02:00 (in 9.990749 seconds)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:02 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:09.426313+02:00 (in 9.997391 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:09 CEST)" (scheduled at 2023-07-10 09:53:59.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:09 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:12.374212+02:00 (in 9.982467 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:12 CEST)" (scheduled at 2023-07-10 09:54:02.374212+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:12 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:19.426313+02:00 (in 9.996125 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:19 CEST)" (scheduled at 2023-07-10 09:54:09.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:19 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:22.374212+02:00 (in 9.992317 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:22 CEST)" (scheduled at 2023-07-10 09:54:12.374212+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:22 CEST)" executed successfully
+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
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:29.426313+02:00 (in 9.994661 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:29 CEST)" (scheduled at 2023-07-10 09:54:19.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:29 CEST)" executed successfully
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:39.426313+02:00 (in 9.988509 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:39 CEST)" (scheduled at 2023-07-10 09:54:29.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:39 CEST)" executed successfully
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "print_date_time" 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-10 09:54:36.580989+02:00 (in 4.997933 seconds)
+INFO:root:2023-07-10 09:54:31.584477 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:54:31.584477 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:54:31.584477 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:54:31.584477 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:54:31.584477 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:36 CEST)" (scheduled at 2023-07-10 09:54:36.580989+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:41.580989+02:00 (in 4.995956 seconds)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:41 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:49.426313+02:00 (in 9.989935 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:49 CEST)" (scheduled at 2023-07-10 09:54:39.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:49 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:46.580989+02:00 (in 4.991159 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:46 CEST)" (scheduled at 2023-07-10 09:54:41.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:46 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:51.580989+02:00 (in 4.998963 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:51 CEST)" (scheduled at 2023-07-10 09:54:46.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:51 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:59.426313+02:00 (in 9.987947 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:59 CEST)" (scheduled at 2023-07-10 09:54:49.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:54:59 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:54:56.580989+02:00 (in 4.998247 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:56 CEST)" (scheduled at 2023-07-10 09:54:51.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:54:56 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:01.580989+02:00 (in 4.985218 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:01 CEST)" (scheduled at 2023-07-10 09:54:56.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:01 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:09.426313+02:00 (in 9.833195 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:09 CEST)" (scheduled at 2023-07-10 09:54:59.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:09 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:06.580989+02:00 (in 4.960363 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:06 CEST)" (scheduled at 2023-07-10 09:55:01.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:06 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:11.580989+02:00 (in 4.990451 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:11 CEST)" (scheduled at 2023-07-10 09:55:06.580989+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:05], next run at: 2023-07-10 09:55:11 CEST)" executed successfully
+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
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:19.426313+02:00 (in 9.994581 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:19 CEST)" (scheduled at 2023-07-10 09:55:09.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:19 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:29.426313+02:00 (in 9.993221 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:29 CEST)" (scheduled at 2023-07-10 09:55:19.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:29 CEST)" executed successfully
+INFO:root:2023-07-10 09:55:20.758962 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:55:20.758962 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:55:20.758962 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:55:20.758962 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:55:20.758962 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:39.426313+02:00 (in 9.995321 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:39 CEST)" (scheduled at 2023-07-10 09:55:29.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:39 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:49.426313+02:00 (in 9.991932 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:49 CEST)" (scheduled at 2023-07-10 09:55:39.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:49 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:55:59.426313+02:00 (in 9.990454 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:59 CEST)" (scheduled at 2023-07-10 09:55:49.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:55:59 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:09.426313+02:00 (in 9.992752 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:09 CEST)" (scheduled at 2023-07-10 09:55:59.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:09 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:19.426313+02:00 (in 9.983948 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:19 CEST)" (scheduled at 2023-07-10 09:56:09.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:19 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:29.426313+02:00 (in 9.991409 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:29 CEST)" (scheduled at 2023-07-10 09:56:19.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:29 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:39.426313+02:00 (in 9.903195 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:39 CEST)" (scheduled at 2023-07-10 09:56:29.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:39 CEST)" executed successfully
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:49.426313+02:00 (in 9.991737 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:49 CEST)" (scheduled at 2023-07-10 09:56:39.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:49 CEST)" executed successfully
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:56:59.426313+02:00 (in 9.990048 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:59 CEST)" (scheduled at 2023-07-10 09:56:49.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:56:59 CEST)" executed successfully
+INFO:root:2023-07-10 09:56:54.359650 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:56:54.359650 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:56:54.359650 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:56:54.359650 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:56:54.359650 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:09.426313+02:00 (in 9.982748 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:09 CEST)" (scheduled at 2023-07-10 09:56:59.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:09 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:19.426313+02:00 (in 9.990165 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:19 CEST)" (scheduled at 2023-07-10 09:57:09.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:19 CEST)" executed successfully
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:29.426313+02:00 (in 9.988059 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:29 CEST)" (scheduled at 2023-07-10 09:57:19.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:29 CEST)" executed successfully
+INFO:root:2023-07-10 09:57:28.002382 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:57:28.003396 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:57:28.003396 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:57:28.003396 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:57:28.003396 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:39.426313+02:00 (in 9.987337 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:39 CEST)" (scheduled at 2023-07-10 09:57:29.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:39 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:49.426313+02:00 (in 9.993866 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:49 CEST)" (scheduled at 2023-07-10 09:57:39.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:49 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:57:59.426313+02:00 (in 9.986988 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:59 CEST)" (scheduled at 2023-07-10 09:57:49.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:57:59 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:58:09.426313+02:00 (in 9.992995 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:58:09 CEST)" (scheduled at 2023-07-10 09:57:59.426313+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:10], next run at: 2023-07-10 09:58:09 CEST)" executed successfully
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:root:2023-07-10 09:58:01.169408 : ++ LANCEMENT JOB Cron_Strip_Get_Customer_Abonnement_Data TOUTES LES 60 sec ++
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 09:58:31.167403+02:00 (in 29.997995 seconds)
+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-10 09:58:24.947463 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:58:24.947463 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:58:24.948557 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:58:24.948557 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:58:24.948557 : ++ LMS_BAS_URL mysy-training.com/ ++
+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-10 09:58:36.228254 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 09:58:36.228254 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 09:58:36.228254 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 09:58:36.228254 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 09:58:36.228254 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:04:31.454312 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:04:31.454312 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:04:31.454312 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:04:31.454312 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:04:31.454312 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:33:41.269790 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:33:41.269790 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:33:41.269790 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:33:41.269790 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:33:41.269790 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-10 10:34:27.883056 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:34:27.883056 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:34:27.884058 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:34:27.884058 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:34:27.884058 : ++ LMS_BAS_URL mysy-training.com/ ++
+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-10 10:34:36.972956 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:34:36.974489 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:34:36.974666 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:34:36.974666 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:34:36.974666 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:35:43.522099 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:35:43.522099 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:35:43.522099 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:35:43.523104 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:35:43.523104 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:36:35.736435 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:36:35.736435 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:36:35.736435 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:36:35.736435 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:36:35.736435 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "print_date_time" 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-10 10:37:14.566207+02:00 (in 2.996735 seconds)
+INFO:root:2023-07-10 10:37:11.569472 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:37:11.570484 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:37:11.570484 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:37:11.570484 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:37:11.570484 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:14 CEST)" (scheduled at 2023-07-10 10:37:14.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:14 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:17.566207+02:00 (in 2.997285 seconds)
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:20.566207+02:00 (in 2.935577 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:20 CEST)" (scheduled at 2023-07-10 10:37:17.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:20 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:23.566207+02:00 (in 2.986229 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:23 CEST)" (scheduled at 2023-07-10 10:37:20.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:23 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:26.566207+02:00 (in 2.987868 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:26 CEST)" (scheduled at 2023-07-10 10:37:23.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:26 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:29.566207+02:00 (in 2.992650 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:29 CEST)" (scheduled at 2023-07-10 10:37:26.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:29 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:32.566207+02:00 (in 2.988106 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:32 CEST)" (scheduled at 2023-07-10 10:37:29.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:32 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:35.566207+02:00 (in 2.989235 seconds)
+INFO:apscheduler.executors.default:Running job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:35 CEST)" (scheduled at 2023-07-10 10:37:32.566207+02:00)
+INFO:apscheduler.executors.default:Job "print_date_time (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:35 CEST)" executed successfully
+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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "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-10 10:37:48.830144+02:00 (in 2.996797 seconds)
+INFO:root:2023-07-10 10:37:45.833865 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:37:45.833865 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:37:45.833865 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:37:45.833865 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:37:45.834886 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:48 CEST)" (scheduled at 2023-07-10 10:37:48.830144+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:51.830144+02:00 (in 2.995877 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:54.830144+02:00 (in 2.992303 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:54 CEST)" (scheduled at 2023-07-10 10:37:51.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:37:57.830144+02:00 (in 2.984272 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:57 CEST)" (scheduled at 2023-07-10 10:37:54.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:37:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:00.830144+02:00 (in 2.999025 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:00 CEST)" (scheduled at 2023-07-10 10:37:57.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:03.830144+02:00 (in 2.991194 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:03 CEST)" (scheduled at 2023-07-10 10:38:00.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:03 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:06.830144+02:00 (in 2.991742 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:06 CEST)" (scheduled at 2023-07-10 10:38:03.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:09.830144+02:00 (in 2.998707 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:09 CEST)" (scheduled at 2023-07-10 10:38:06.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:12.830144+02:00 (in 2.987603 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:12 CEST)" (scheduled at 2023-07-10 10:38:09.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:15.830144+02:00 (in 2.988215 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:15 CEST)" (scheduled at 2023-07-10 10:38:12.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:18.830144+02:00 (in 2.989924 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:18 CEST)" (scheduled at 2023-07-10 10:38:15.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:21.830144+02:00 (in 2.991166 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:21 CEST)" (scheduled at 2023-07-10 10:38:18.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:24.830144+02:00 (in 2.984267 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:24 CEST)" (scheduled at 2023-07-10 10:38:21.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:24 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:27.830144+02:00 (in 2.989166 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:27 CEST)" (scheduled at 2023-07-10 10:38:24.830144+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:38:41.222069+02:00 (in 2.998000 seconds)
+INFO:root:2023-07-10 10:38:38.224069 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:38:38.225069 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:38:38.225069 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:38:38.225069 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:38:38.225069 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:41 CEST)" (scheduled at 2023-07-10 10:38:41.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:41 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:44.222069+02:00 (in 2.982414 seconds)
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:47.222069+02:00 (in 2.964716 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:47 CEST)" (scheduled at 2023-07-10 10:38:44.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:47 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:50.222069+02:00 (in 2.993907 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:50 CEST)" (scheduled at 2023-07-10 10:38:47.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:50 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:53.222069+02:00 (in 2.986202 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:53 CEST)" (scheduled at 2023-07-10 10:38:50.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:53 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:56.222069+02:00 (in 2.988757 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:56 CEST)" (scheduled at 2023-07-10 10:38:53.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:56 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:38:59.222069+02:00 (in 2.988888 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:59 CEST)" (scheduled at 2023-07-10 10:38:56.222069+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:38:59 CEST)" executed successfully
+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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:39:13.487385+02:00 (in 2.998009 seconds)
+INFO:root:2023-07-10 10:39:10.490372 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:39:10.490372 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:39:10.490372 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:39:10.490372 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:39:10.490372 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:13 CEST)" (scheduled at 2023-07-10 10:39:13.487385+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:16.487385+02:00 (in 2.994703 seconds)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:16 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:19.487385+02:00 (in 2.955402 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:19 CEST)" (scheduled at 2023-07-10 10:39:16.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:19 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:22.487385+02:00 (in 2.996856 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:22 CEST)" (scheduled at 2023-07-10 10:39:19.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:22 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:25.487385+02:00 (in 2.997840 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:25 CEST)" (scheduled at 2023-07-10 10:39:22.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:25 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:28.487385+02:00 (in 2.991261 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:28 CEST)" (scheduled at 2023-07-10 10:39:25.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:28 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:31.487385+02:00 (in 2.993983 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:31 CEST)" (scheduled at 2023-07-10 10:39:28.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:31 CEST)" executed successfully
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:34.487385+02:00 (in 2.980610 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:34 CEST)" (scheduled at 2023-07-10 10:39:31.487385+02:00)
+INFO:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:34 CEST)" executed successfully
+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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:39:46.951012+02:00 (in 2.997442 seconds)
+INFO:root:2023-07-10 10:39:43.954800 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:39:43.954800 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:39:43.954800 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:39:43.955902 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:39:43.955902 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:46 CEST)" (scheduled at 2023-07-10 10:39:46.951012+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:39:49.951012+02:00 (in 2.988129 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:39:52.951012+02:00 (in 2.988076 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:52 CEST)" (scheduled at 2023-07-10 10:39:49.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:52 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:39:55.951012+02:00 (in 2.976445 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:55 CEST)" (scheduled at 2023-07-10 10:39:52.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:55 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:39:58.951012+02:00 (in 2.995476 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:58 CEST)" (scheduled at 2023-07-10 10:39:55.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:39:58 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:01.951012+02:00 (in 2.995444 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:01 CEST)" (scheduled at 2023-07-10 10:39:58.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:04.951012+02:00 (in 2.994472 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:04 CEST)" (scheduled at 2023-07-10 10:40:01.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:07.951012+02:00 (in 2.989351 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:07 CEST)" (scheduled at 2023-07-10 10:40:04.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:07 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:10.951012+02:00 (in 2.998289 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:10 CEST)" (scheduled at 2023-07-10 10:40:07.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:10 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:13.951012+02:00 (in 2.996074 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:13 CEST)" (scheduled at 2023-07-10 10:40:10.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:16.951012+02:00 (in 2.994217 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:16 CEST)" (scheduled at 2023-07-10 10:40:13.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:16 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:19.951012+02:00 (in 2.984818 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:19 CEST)" (scheduled at 2023-07-10 10:40:16.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:22.951012+02:00 (in 2.994810 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:22 CEST)" (scheduled at 2023-07-10 10:40:19.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:22 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:40:25.951012+02:00 (in 2.984797 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:25 CEST)" (scheduled at 2023-07-10 10:40:22.951012+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:40:39.795645+02:00 (in 2.997728 seconds)
+INFO:root:2023-07-10 10:40:36.799023 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:40:36.800032 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:40:36.800032 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:40:36.800032 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:40:36.800032 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:39 CEST)" (scheduled at 2023-07-10 10:40:39.795645+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:42.795645+02:00 (in 2.988508 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:45.795645+02:00 (in 2.989570 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:45 CEST)" (scheduled at 2023-07-10 10:40:42.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:48.795645+02:00 (in 2.984989 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:48 CEST)" (scheduled at 2023-07-10 10:40:45.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:48 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:51.795645+02:00 (in 2.986451 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:51 CEST)" (scheduled at 2023-07-10 10:40:48.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:54.795645+02:00 (in 2.999250 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:54 CEST)" (scheduled at 2023-07-10 10:40:51.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:40:57.795645+02:00 (in 2.985081 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:57 CEST)" (scheduled at 2023-07-10 10:40:54.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:40:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:00.795645+02:00 (in 2.989386 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:00 CEST)" (scheduled at 2023-07-10 10:40:57.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:03.795645+02:00 (in 2.992213 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:03 CEST)" (scheduled at 2023-07-10 10:41:00.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:03 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:06.795645+02:00 (in 2.987506 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:06 CEST)" (scheduled at 2023-07-10 10:41:03.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:09.795645+02:00 (in 2.994408 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:09 CEST)" (scheduled at 2023-07-10 10:41:06.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:12.795645+02:00 (in 2.994614 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:12 CEST)" (scheduled at 2023-07-10 10:41:09.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:15.795645+02:00 (in 2.984732 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:15 CEST)" (scheduled at 2023-07-10 10:41:12.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:18.795645+02:00 (in 2.991445 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:18 CEST)" (scheduled at 2023-07-10 10:41:15.795645+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:41:32.717504+02:00 (in 2.997965 seconds)
+INFO:root:2023-07-10 10:41:29.721539 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:41:29.721539 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:41:29.721539 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:41:29.721539 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:41:29.721539 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:32 CEST)" (scheduled at 2023-07-10 10:41:32.717504+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:35.717504+02:00 (in 2.993303 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:38.717504+02:00 (in 2.983281 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:38 CEST)" (scheduled at 2023-07-10 10:41:35.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:41.717504+02:00 (in 2.994994 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:41 CEST)" (scheduled at 2023-07-10 10:41:38.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:44.717504+02:00 (in 2.995755 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:44 CEST)" (scheduled at 2023-07-10 10:41:41.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:47.717504+02:00 (in 2.985724 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:47 CEST)" (scheduled at 2023-07-10 10:41:44.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:50.717504+02:00 (in 2.997658 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:50 CEST)" (scheduled at 2023-07-10 10:41:47.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:53.717504+02:00 (in 2.996892 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:53 CEST)" (scheduled at 2023-07-10 10:41:50.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:56.717504+02:00 (in 2.995982 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:56 CEST)" (scheduled at 2023-07-10 10:41:53.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:41:59.717504+02:00 (in 2.999203 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41:59 CEST)" (scheduled at 2023-07-10 10:41:56.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:41: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:02.717504+02:00 (in 2.987436 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:02 CEST)" (scheduled at 2023-07-10 10:41:59.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:05.717504+02:00 (in 2.989043 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:05 CEST)" (scheduled at 2023-07-10 10:42:02.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:08.717504+02:00 (in 2.995723 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:08 CEST)" (scheduled at 2023-07-10 10:42:05.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:11.717504+02:00 (in 2.993966 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:11 CEST)" (scheduled at 2023-07-10 10:42:08.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:14.717504+02:00 (in 2.995554 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:14 CEST)" (scheduled at 2023-07-10 10:42:11.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:17.717504+02:00 (in 2.986766 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:17 CEST)" (scheduled at 2023-07-10 10:42:14.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:20.717504+02:00 (in 2.986527 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:20 CEST)" (scheduled at 2023-07-10 10:42:17.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:23.717504+02:00 (in 2.990064 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:23 CEST)" (scheduled at 2023-07-10 10:42:20.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:26.717504+02:00 (in 2.981978 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:26 CEST)" (scheduled at 2023-07-10 10:42:23.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:29.717504+02:00 (in 2.984082 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:29 CEST)" (scheduled at 2023-07-10 10:42:26.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:32.717504+02:00 (in 2.995873 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:32 CEST)" (scheduled at 2023-07-10 10:42:29.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:35.717504+02:00 (in 2.999440 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:35 CEST)" (scheduled at 2023-07-10 10:42:32.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:38.717504+02:00 (in 2.989478 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:38 CEST)" (scheduled at 2023-07-10 10:42:35.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:41.717504+02:00 (in 2.987859 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:41 CEST)" (scheduled at 2023-07-10 10:42:38.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:44.717504+02:00 (in 2.987222 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:44 CEST)" (scheduled at 2023-07-10 10:42:41.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:47.717504+02:00 (in 2.997349 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:47 CEST)" (scheduled at 2023-07-10 10:42:44.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:50.717504+02:00 (in 2.984754 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:50 CEST)" (scheduled at 2023-07-10 10:42:47.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:53.717504+02:00 (in 2.993926 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:53 CEST)" (scheduled at 2023-07-10 10:42:50.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:56.717504+02:00 (in 2.985111 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:56 CEST)" (scheduled at 2023-07-10 10:42:53.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:42:59.717504+02:00 (in 2.986060 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42:59 CEST)" (scheduled at 2023-07-10 10:42:56.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:42: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:02.717504+02:00 (in 2.988349 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:02 CEST)" (scheduled at 2023-07-10 10:42:59.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:05.717504+02:00 (in 2.974089 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:05 CEST)" (scheduled at 2023-07-10 10:43:02.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:08.717504+02:00 (in 2.992165 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:08 CEST)" (scheduled at 2023-07-10 10:43:05.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:11.717504+02:00 (in 2.984332 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:11 CEST)" (scheduled at 2023-07-10 10:43:08.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:14.717504+02:00 (in 2.990643 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:14 CEST)" (scheduled at 2023-07-10 10:43:11.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:17.717504+02:00 (in 2.989630 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:17 CEST)" (scheduled at 2023-07-10 10:43:14.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:20.717504+02:00 (in 2.998403 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:20 CEST)" (scheduled at 2023-07-10 10:43:17.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:23.717504+02:00 (in 2.996396 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:23 CEST)" (scheduled at 2023-07-10 10:43:20.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:26.717504+02:00 (in 2.992062 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:26 CEST)" (scheduled at 2023-07-10 10:43:23.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:29.717504+02:00 (in 2.984716 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:29 CEST)" (scheduled at 2023-07-10 10:43:26.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:32.717504+02:00 (in 2.975017 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:32 CEST)" (scheduled at 2023-07-10 10:43:29.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:35.717504+02:00 (in 2.988253 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:35 CEST)" (scheduled at 2023-07-10 10:43:32.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:38.717504+02:00 (in 2.978640 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:38 CEST)" (scheduled at 2023-07-10 10:43:35.717504+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:43:51.561294+02:00 (in 2.997677 seconds)
+INFO:root:2023-07-10 10:43:48.564637 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:43:48.564637 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:43:48.565640 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:43:48.565640 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:43:48.565640 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:51 CEST)" (scheduled at 2023-07-10 10:43:51.561294+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:54.561294+02:00 (in 2.998258 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:43:57.561294+02:00 (in 2.996904 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:57 CEST)" (scheduled at 2023-07-10 10:43:54.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:43:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:00.561294+02:00 (in 2.997238 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:00 CEST)" (scheduled at 2023-07-10 10:43:57.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:03.561294+02:00 (in 2.984538 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:03 CEST)" (scheduled at 2023-07-10 10:44:00.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:03 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:06.561294+02:00 (in 2.985410 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:06 CEST)" (scheduled at 2023-07-10 10:44:03.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:09.561294+02:00 (in 2.988651 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:09 CEST)" (scheduled at 2023-07-10 10:44:06.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:12.561294+02:00 (in 2.987490 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:12 CEST)" (scheduled at 2023-07-10 10:44:09.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:15.561294+02:00 (in 2.991900 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:15 CEST)" (scheduled at 2023-07-10 10:44:12.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:18.561294+02:00 (in 2.988892 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:18 CEST)" (scheduled at 2023-07-10 10:44:15.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:21.561294+02:00 (in 2.992370 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:21 CEST)" (scheduled at 2023-07-10 10:44:18.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:24.561294+02:00 (in 2.993548 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:24 CEST)" (scheduled at 2023-07-10 10:44:21.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:27.561294+02:00 (in 2.997104 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:27 CEST)" (scheduled at 2023-07-10 10:44:24.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:30.561294+02:00 (in 2.988347 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:30 CEST)" (scheduled at 2023-07-10 10:44:27.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:30 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:33.561294+02:00 (in 2.988640 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:33 CEST)" (scheduled at 2023-07-10 10:44:30.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:36.561294+02:00 (in 2.986687 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:36 CEST)" (scheduled at 2023-07-10 10:44:33.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:39.561294+02:00 (in 2.988985 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:39 CEST)" (scheduled at 2023-07-10 10:44:36.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:42.561294+02:00 (in 2.986068 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:42 CEST)" (scheduled at 2023-07-10 10:44:39.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:45.561294+02:00 (in 2.984070 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:45 CEST)" (scheduled at 2023-07-10 10:44:42.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:48.561294+02:00 (in 2.994199 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:48 CEST)" (scheduled at 2023-07-10 10:44:45.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:48 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:51.561294+02:00 (in 2.996804 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:51 CEST)" (scheduled at 2023-07-10 10:44:48.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:54.561294+02:00 (in 2.999124 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:54 CEST)" (scheduled at 2023-07-10 10:44:51.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:44:57.561294+02:00 (in 2.996300 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:57 CEST)" (scheduled at 2023-07-10 10:44:54.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:44:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:00.561294+02:00 (in 2.986880 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:00 CEST)" (scheduled at 2023-07-10 10:44:57.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:03.561294+02:00 (in 2.987887 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:03 CEST)" (scheduled at 2023-07-10 10:45:00.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:03 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:06.561294+02:00 (in 2.984962 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:06 CEST)" (scheduled at 2023-07-10 10:45:03.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:09.561294+02:00 (in 2.992709 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:09 CEST)" (scheduled at 2023-07-10 10:45:06.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:12.561294+02:00 (in 2.995847 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:12 CEST)" (scheduled at 2023-07-10 10:45:09.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:15.561294+02:00 (in 2.986431 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:15 CEST)" (scheduled at 2023-07-10 10:45:12.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:18.561294+02:00 (in 2.986780 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:18 CEST)" (scheduled at 2023-07-10 10:45:15.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:21.561294+02:00 (in 2.997988 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:21 CEST)" (scheduled at 2023-07-10 10:45:18.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:24.561294+02:00 (in 2.995874 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:24 CEST)" (scheduled at 2023-07-10 10:45:21.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45: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 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:27.561294+02:00 (in 2.995668 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:27 CEST)" (scheduled at 2023-07-10 10:45:24.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:30.561294+02:00 (in 2.984520 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:30 CEST)" (scheduled at 2023-07-10 10:45:27.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:30 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:33.561294+02:00 (in 2.995333 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:33 CEST)" (scheduled at 2023-07-10 10:45:30.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:36.561294+02:00 (in 2.984081 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:36 CEST)" (scheduled at 2023-07-10 10:45:33.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:39.561294+02:00 (in 2.984274 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:39 CEST)" (scheduled at 2023-07-10 10:45:36.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:42.561294+02:00 (in 2.992988 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:42 CEST)" (scheduled at 2023-07-10 10:45:39.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:45.561294+02:00 (in 2.884336 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:45 CEST)" (scheduled at 2023-07-10 10:45:42.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45: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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:45:48.561294+02:00 (in 2.994833 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:48 CEST)" (scheduled at 2023-07-10 10:45:45.561294+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:45:48 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:46:02.435214+02:00 (in 2.997986 seconds)
+INFO:root:2023-07-10 10:45:59.438215 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:45:59.438215 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:45:59.438215 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:45:59.438215 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:45:59.438215 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:02 CEST)" (scheduled at 2023-07-10 10:46:02.435214+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:05.435214+02:00 (in 2.997365 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:08.435214+02:00 (in 2.983634 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:08 CEST)" (scheduled at 2023-07-10 10:46:05.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:11.435214+02:00 (in 2.985289 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:11 CEST)" (scheduled at 2023-07-10 10:46:08.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:14.435214+02:00 (in 2.985048 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:14 CEST)" (scheduled at 2023-07-10 10:46:11.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:17.435214+02:00 (in 2.988612 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:17 CEST)" (scheduled at 2023-07-10 10:46:14.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3123, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:20.435214+02:00 (in 2.998671 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:20 CEST)" (scheduled at 2023-07-10 10:46:17.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:23.435214+02:00 (in 2.996570 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:23 CEST)" (scheduled at 2023-07-10 10:46:20.435214+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_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 Cron_Strip_Get_Customer_Abonnement_Data_v2
+ payload = mycommon.strip_dictionary(request.form.to_dict())
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:46:36.149338+02:00 (in 2.998008 seconds)
+INFO:root:2023-07-10 10:46:33.152329 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:46:33.152329 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:46:33.152329 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:46:33.152329 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:46:33.152329 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:36 CEST)" (scheduled at 2023-07-10 10:46:36.149338+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:46:39.149338+02:00 (in 2.990126 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:46:42.149338+02:00 (in 2.995937 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:42 CEST)" (scheduled at 2023-07-10 10:46:39.149338+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:46:45.149338+02:00 (in 2.989868 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:45 CEST)" (scheduled at 2023-07-10 10:46:42.149338+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:46:48.149338+02:00 (in 2.996488 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:48 CEST)" (scheduled at 2023-07-10 10:46:45.149338+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:48 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:46:51.149338+02:00 (in 2.989893 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:51 CEST)" (scheduled at 2023-07-10 10:46:48.149338+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:46:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:47:03.941237+02:00 (in 2.998023 seconds)
+INFO:root:2023-07-10 10:47:00.944216 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:47:00.944216 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:47:00.944216 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:47:00.944216 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:47:00.944216 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:03 CEST)" (scheduled at 2023-07-10 10:47:03.941237+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:47:06.941237+02:00 (in 2.985095 seconds)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OE477Rl8b6dQgx
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 68692,\n "amount_paid": 0,\n "amount_remaining": 68692,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "upcoming",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1691505431,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OE477Rl8b6dQgx",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 35000,\n "amount_excluding_tax": 35000,\n "currency": "eur",\n "description": "7 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 2,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": 1691509031,\n "number": null,\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": null,\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1691505431,\n "period_start": 1688827031,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "draft",\n "status_transitions": {\n "finalized_at": null,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subtotal": 68692,\n "subtotal_excluding_tax": 68692,\n "tax": null,\n "test_clock": null,\n "total": 68692,\n "total_discount_amounts": [],\n "total_excluding_tax": 68692,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7Z3hS1lDV8iLdR message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 35000,\n "amount_excluding_tax": 35000,\n "currency": "eur",\n "description": "7 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_koKJPBpmzqSqHc message='Dashboard link for request'
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:09.941237+02:00 (in 2.989530 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:09 CEST)" (scheduled at 2023-07-10 10:47:06.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:12.941237+02:00 (in 2.996836 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:12 CEST)" (scheduled at 2023-07-10 10:47:09.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:15.941237+02:00 (in 2.988414 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:15 CEST)" (scheduled at 2023-07-10 10:47:12.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:18.941237+02:00 (in 2.984557 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:18 CEST)" (scheduled at 2023-07-10 10:47:15.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:21.941237+02:00 (in 2.991210 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:21 CEST)" (scheduled at 2023-07-10 10:47:18.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:24.941237+02:00 (in 2.985055 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:24 CEST)" (scheduled at 2023-07-10 10:47:21.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:27.941237+02:00 (in 2.984873 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:27 CEST)" (scheduled at 2023-07-10 10:47:24.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:30.941237+02:00 (in 2.963342 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:30 CEST)" (scheduled at 2023-07-10 10:47:27.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:30 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:33.941237+02:00 (in 2.992230 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:33 CEST)" (scheduled at 2023-07-10 10:47:30.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:36.941237+02:00 (in 2.997194 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:36 CEST)" (scheduled at 2023-07-10 10:47:33.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:39.941237+02:00 (in 2.994031 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:39 CEST)" (scheduled at 2023-07-10 10:47:36.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:47:42.941237+02:00 (in 2.985224 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:42 CEST)" (scheduled at 2023-07-10 10:47:39.941237+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:47:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "print_date_time" 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-10 10:47:45.489003+02:00 (in 2.997427 seconds)
+INFO:apscheduler.scheduler:Scheduler has been shut down
+INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
+INFO:apscheduler.scheduler:Added job "Cron_Strip_Get_Customer_Abonnement_Data_v2" to job store "default"
+INFO:apscheduler.scheduler:Scheduler started
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:root:2023-07-10 10:48:17.851741 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:48:17.852731 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:48:17.852731 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:48:17.852731 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:48:17.852731 : ++ LMS_BAS_URL mysy-training.com/ ++
+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-10 10:48:27.056355 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:48:27.056355 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:48:27.056355 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:48:27.056355 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:48:27.056355 : ++ LMS_BAS_URL mysy-training.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:49:21.240413 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:49:21.240413 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:49:21.241447 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:49:21.241447 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:49:21.241447 : ++ 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 "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:49:24.303632+02:00 (in 2.997013 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:24 CEST)" (scheduled at 2023-07-10 10:49:24.303632+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:49:27.303632+02:00 (in 2.987582 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:30.303632+02:00 (in 2.987326 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:30 CEST)" (scheduled at 2023-07-10 10:49:27.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:30 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:33.303632+02:00 (in 2.998228 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:33 CEST)" (scheduled at 2023-07-10 10:49:30.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:36.303632+02:00 (in 2.990713 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:36 CEST)" (scheduled at 2023-07-10 10:49:33.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:39.303632+02:00 (in 2.993449 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:39 CEST)" (scheduled at 2023-07-10 10:49:36.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:42.303632+02:00 (in 2.994252 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:42 CEST)" (scheduled at 2023-07-10 10:49:39.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:45.303632+02:00 (in 2.987814 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:45 CEST)" (scheduled at 2023-07-10 10:49:42.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:48.303632+02:00 (in 2.991758 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:48 CEST)" (scheduled at 2023-07-10 10:49:45.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:48 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:51.303632+02:00 (in 2.988175 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:51 CEST)" (scheduled at 2023-07-10 10:49:48.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:54.303632+02:00 (in 2.986183 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:54 CEST)" (scheduled at 2023-07-10 10:49:51.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:49:57.303632+02:00 (in 2.986779 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:57 CEST)" (scheduled at 2023-07-10 10:49:54.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:49:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:50:00.303632+02:00 (in 2.983510 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:00 CEST)" (scheduled at 2023-07-10 10:49:57.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:50:03.303632+02:00 (in 2.996266 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:03 CEST)" (scheduled at 2023-07-10 10:50:00.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:03 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:50:06.303632+02:00 (in 2.986954 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:06 CEST)" (scheduled at 2023-07-10 10:50:03.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:50:09.303632+02:00 (in 2.988024 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:09 CEST)" (scheduled at 2023-07-10 10:50:06.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:50:12.303632+02:00 (in 2.995869 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:12 CEST)" (scheduled at 2023-07-10 10:50:09.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status="localStatus", message="message")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:15.303632+02:00 (in 2.794000 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:15 CEST)" (scheduled at 2023-07-10 10:50:12.303632+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3126, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ # Declaration of the task as a function.
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:50:23.668851 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:50:23.668851 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:50:23.668851 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:50:23.668851 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:50:23.668851 : ++ 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 "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-10 10:50:26.736547+02:00 (in 2.998009 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:26 CEST)" (scheduled at 2023-07-10 10:50:26.736547+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:29.736547+02:00 (in 2.984517 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:32.736547+02:00 (in 2.990850 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:32 CEST)" (scheduled at 2023-07-10 10:50:29.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:35.736547+02:00 (in 2.991389 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:35 CEST)" (scheduled at 2023-07-10 10:50:32.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:38.736547+02:00 (in 2.989424 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:38 CEST)" (scheduled at 2023-07-10 10:50:35.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:41.736547+02:00 (in 2.991324 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:41 CEST)" (scheduled at 2023-07-10 10:50:38.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:44.736547+02:00 (in 2.996156 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:44 CEST)" (scheduled at 2023-07-10 10:50:41.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:47.736547+02:00 (in 2.990538 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:47 CEST)" (scheduled at 2023-07-10 10:50:44.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:50.736547+02:00 (in 2.990940 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:50 CEST)" (scheduled at 2023-07-10 10:50:47.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:53.736547+02:00 (in 2.990311 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:53 CEST)" (scheduled at 2023-07-10 10:50:50.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:56.736547+02:00 (in 2.998308 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:56 CEST)" (scheduled at 2023-07-10 10:50:53.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:50:59.736547+02:00 (in 2.995422 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50:59 CEST)" (scheduled at 2023-07-10 10:50:56.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:50: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:02.736547+02:00 (in 2.991155 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:02 CEST)" (scheduled at 2023-07-10 10:50:59.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:05.736547+02:00 (in 2.995022 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:05 CEST)" (scheduled at 2023-07-10 10:51:02.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:08.736547+02:00 (in 2.994267 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:08 CEST)" (scheduled at 2023-07-10 10:51:05.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:11.736547+02:00 (in 2.990418 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:11 CEST)" (scheduled at 2023-07-10 10:51:08.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:14.736547+02:00 (in 2.991835 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:14 CEST)" (scheduled at 2023-07-10 10:51:11.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:17.736547+02:00 (in 2.995249 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:17 CEST)" (scheduled at 2023-07-10 10:51:14.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:20.736547+02:00 (in 2.993069 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:20 CEST)" (scheduled at 2023-07-10 10:51:17.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:23.736547+02:00 (in 2.997920 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:23 CEST)" (scheduled at 2023-07-10 10:51:20.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:26.736547+02:00 (in 2.986258 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:26 CEST)" (scheduled at 2023-07-10 10:51:23.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:29.736547+02:00 (in 2.995339 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:29 CEST)" (scheduled at 2023-07-10 10:51:26.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:32.736547+02:00 (in 2.997585 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:32 CEST)" (scheduled at 2023-07-10 10:51:29.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:35.736547+02:00 (in 2.992889 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:35 CEST)" (scheduled at 2023-07-10 10:51:32.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:38.736547+02:00 (in 2.992310 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:38 CEST)" (scheduled at 2023-07-10 10:51:35.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:41.736547+02:00 (in 2.985996 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:41 CEST)" (scheduled at 2023-07-10 10:51:38.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:44.736547+02:00 (in 2.952162 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:44 CEST)" (scheduled at 2023-07-10 10:51:41.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:47.736547+02:00 (in 2.987833 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:47 CEST)" (scheduled at 2023-07-10 10:51:44.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:50.736547+02:00 (in 2.993268 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:50 CEST)" (scheduled at 2023-07-10 10:51:47.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:53.736547+02:00 (in 2.985844 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:53 CEST)" (scheduled at 2023-07-10 10:51:50.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:51:56.736547+02:00 (in 2.985405 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51:56 CEST)" (scheduled at 2023-07-10 10:51:53.736547+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:51: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 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:52:06.585955 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:52:06.585955 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:52:06.586954 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:52:06.586954 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:52:06.586954 : ++ 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 "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:52:09.646519+02:00 (in 2.997163 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:09 CEST)" (scheduled at 2023-07-10 10:52:09.646519+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:52:12.646519+02:00 (in 2.985517 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:15.646519+02:00 (in 2.986845 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:15 CEST)" (scheduled at 2023-07-10 10:52:12.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:15 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:18.646519+02:00 (in 2.997484 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:18 CEST)" (scheduled at 2023-07-10 10:52:15.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:18 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:21.646519+02:00 (in 2.998585 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:21 CEST)" (scheduled at 2023-07-10 10:52:18.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:24.646519+02:00 (in 2.991080 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:24 CEST)" (scheduled at 2023-07-10 10:52:21.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:27.646519+02:00 (in 2.984653 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:27 CEST)" (scheduled at 2023-07-10 10:52:24.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:27 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:30.646519+02:00 (in 2.996818 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:30 CEST)" (scheduled at 2023-07-10 10:52:27.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:30 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:33.646519+02:00 (in 2.985494 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:33 CEST)" (scheduled at 2023-07-10 10:52:30.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:36.646519+02:00 (in 2.995293 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:36 CEST)" (scheduled at 2023-07-10 10:52:33.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:39.646519+02:00 (in 2.994802 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:39 CEST)" (scheduled at 2023-07-10 10:52:36.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:42.646519+02:00 (in 2.986392 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:42 CEST)" (scheduled at 2023-07-10 10:52:39.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:42 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:52:45.646519+02:00 (in 2.997461 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:45 CEST)" (scheduled at 2023-07-10 10:52:42.646519+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:52:56.085506 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:52:56.085506 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:52:56.085506 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:52:56.085506 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:52:56.085506 : ++ 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 "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:52:59.141359+02:00 (in 2.998006 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:52:59 CEST)" (scheduled at 2023-07-10 10:52:59.141359+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:02.141359+02:00 (in 2.988211 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:05.141359+02:00 (in 2.984211 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:05 CEST)" (scheduled at 2023-07-10 10:53:02.141359+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:08.141359+02:00 (in 2.991349 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:08 CEST)" (scheduled at 2023-07-10 10:53:05.141359+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:11.141359+02:00 (in 2.998465 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:11 CEST)" (scheduled at 2023-07-10 10:53:08.141359+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:14.141359+02:00 (in 2.987028 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:14 CEST)" (scheduled at 2023-07-10 10:53:11.141359+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:17.141359+02:00 (in 2.990789 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:17 CEST)" (scheduled at 2023-07-10 10:53:14.141359+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 92, in wrapped_function
+ if automatic_options and request.method == 'OPTIONS':
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of request context.
+
+This typically means that you attempted to use functionality that needed
+an active HTTP request. Consult the documentation on testing for
+information about how to avoid this problem.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:53:26.513459 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:53:26.513459 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:53:26.513459 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:53:26.513459 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:53:26.513459 : ++ 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 "Cron_Strip_Get_Customer_Abonnement_Data_v2" 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-10 10:53:29.574604+02:00 (in 2.997168 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:29 CEST)" (scheduled at 2023-07-10 10:53:29.574604+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:53:32.574604+02:00 (in 2.984232 seconds)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:35.574604+02:00 (in 2.991280 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:35 CEST)" (scheduled at 2023-07-10 10:53:32.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:38.574604+02:00 (in 2.993906 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:38 CEST)" (scheduled at 2023-07-10 10:53:35.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:41.574604+02:00 (in 2.997963 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:41 CEST)" (scheduled at 2023-07-10 10:53:38.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:44.574604+02:00 (in 2.987945 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:44 CEST)" (scheduled at 2023-07-10 10:53:41.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:47.574604+02:00 (in 2.989700 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:47 CEST)" (scheduled at 2023-07-10 10:53:44.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:50.574604+02:00 (in 2.870742 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:50 CEST)" (scheduled at 2023-07-10 10:53:47.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:53.574604+02:00 (in 2.995755 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:53 CEST)" (scheduled at 2023-07-10 10:53:50.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:56.574604+02:00 (in 2.984785 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:56 CEST)" (scheduled at 2023-07-10 10:53:53.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:53:59.574604+02:00 (in 2.987966 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53:59 CEST)" (scheduled at 2023-07-10 10:53:56.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:53: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:02.574604+02:00 (in 2.996765 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:02 CEST)" (scheduled at 2023-07-10 10:53:59.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:05.574604+02:00 (in 2.997950 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:05 CEST)" (scheduled at 2023-07-10 10:54:02.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:08.574604+02:00 (in 2.993755 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:08 CEST)" (scheduled at 2023-07-10 10:54:05.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:11.574604+02:00 (in 2.993759 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:11 CEST)" (scheduled at 2023-07-10 10:54:08.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:14.574604+02:00 (in 2.991627 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:14 CEST)" (scheduled at 2023-07-10 10:54:11.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:17.574604+02:00 (in 2.998257 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:17 CEST)" (scheduled at 2023-07-10 10:54:14.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:20.574604+02:00 (in 2.993321 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:20 CEST)" (scheduled at 2023-07-10 10:54:17.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:23.574604+02:00 (in 2.985725 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:23 CEST)" (scheduled at 2023-07-10 10:54:20.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:26.574604+02:00 (in 2.989164 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:26 CEST)" (scheduled at 2023-07-10 10:54:23.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:29.574604+02:00 (in 2.992660 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:29 CEST)" (scheduled at 2023-07-10 10:54:26.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:32.574604+02:00 (in 2.991492 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:32 CEST)" (scheduled at 2023-07-10 10:54:29.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:35.574604+02:00 (in 2.985533 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:35 CEST)" (scheduled at 2023-07-10 10:54:32.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:38.574604+02:00 (in 2.984624 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:38 CEST)" (scheduled at 2023-07-10 10:54:35.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:38 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:41.574604+02:00 (in 2.993536 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:41 CEST)" (scheduled at 2023-07-10 10:54:38.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:44.574604+02:00 (in 2.992903 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:44 CEST)" (scheduled at 2023-07-10 10:54:41.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:47.574604+02:00 (in 2.987924 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:47 CEST)" (scheduled at 2023-07-10 10:54:44.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:50.574604+02:00 (in 2.983387 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:50 CEST)" (scheduled at 2023-07-10 10:54:47.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:50 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:53.574604+02:00 (in 2.985136 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:53 CEST)" (scheduled at 2023-07-10 10:54:50.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:53 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:56.574604+02:00 (in 2.985993 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:56 CEST)" (scheduled at 2023-07-10 10:54:53.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:54:59.574604+02:00 (in 2.990387 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:54:59 CEST)" (scheduled at 2023-07-10 10:54:56.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:02.574604+02:00 (in 2.994679 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:02 CEST)" (scheduled at 2023-07-10 10:54:59.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:05.574604+02:00 (in 2.995622 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:05 CEST)" (scheduled at 2023-07-10 10:55:02.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:08.574604+02:00 (in 2.995106 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:08 CEST)" (scheduled at 2023-07-10 10:55:05.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:08 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:11.574604+02:00 (in 2.996707 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:11 CEST)" (scheduled at 2023-07-10 10:55:08.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:14.574604+02:00 (in 2.995331 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:14 CEST)" (scheduled at 2023-07-10 10:55:11.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:17.574604+02:00 (in 2.984716 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:17 CEST)" (scheduled at 2023-07-10 10:55:14.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:17 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:20.574604+02:00 (in 2.997324 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:20 CEST)" (scheduled at 2023-07-10 10:55:17.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:20 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:23.574604+02:00 (in 2.987608 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:23 CEST)" (scheduled at 2023-07-10 10:55:20.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:23 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:26.574604+02:00 (in 2.994606 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:26 CEST)" (scheduled at 2023-07-10 10:55:23.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:29.574604+02:00 (in 2.997838 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:29 CEST)" (scheduled at 2023-07-10 10:55:26.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:32.574604+02:00 (in 2.985982 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:32 CEST)" (scheduled at 2023-07-10 10:55:29.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:35.574604+02:00 (in 2.987618 seconds)
+INFO:apscheduler.executors.default:Running job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:35 CEST)" (scheduled at 2023-07-10 10:55:32.574604+02:00)
+ERROR:apscheduler.executors.default:Job "Cron_Strip_Get_Customer_Abonnement_Data_v2 (trigger: interval[0:00:03], next run at: 2023-07-10 10:55: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 3122, in Cron_Strip_Get_Customer_Abonnement_Data_v2
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:55:45.536388 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:55:45.536388 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:55:45.537896 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:55:45.537896 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:55:45.537896 : ++ 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-10 10:55:48.595434+02:00 (in 2.997891 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:48 CEST)" (scheduled at 2023-07-10 10:55:48.595434+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:55:51.595434+02:00 (in 2.982130 seconds)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:54.595434+02:00 (in 2.979595 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:54 CEST)" (scheduled at 2023-07-10 10:55:51.595434+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:55:57.595434+02:00 (in 2.985916 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:57 CEST)" (scheduled at 2023-07-10 10:55:54.595434+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:03], next run at: 2023-07-10 10:55:57 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 10:56:06.783462 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:56:06.783462 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:56:06.784458 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:56:06.784458 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:56:06.784458 : ++ 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-10 10:56:11.840703+02:00 (in 4.996979 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:11 CEST)" (scheduled at 2023-07-10 10:56:11.840703+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:56:16.840703+02:00 (in 4.992743 seconds)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:16 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:21.840703+02:00 (in 4.998017 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:21 CEST)" (scheduled at 2023-07-10 10:56:16.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:26.840703+02:00 (in 4.982913 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:26 CEST)" (scheduled at 2023-07-10 10:56:21.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:31.840703+02:00 (in 4.996185 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:31 CEST)" (scheduled at 2023-07-10 10:56:26.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:36.840703+02:00 (in 4.984177 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:36 CEST)" (scheduled at 2023-07-10 10:56:31.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:41.840703+02:00 (in 4.991527 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:41 CEST)" (scheduled at 2023-07-10 10:56:36.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:46.840703+02:00 (in 4.995076 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:46 CEST)" (scheduled at 2023-07-10 10:56:41.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:46 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:51.840703+02:00 (in 4.994430 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:51 CEST)" (scheduled at 2023-07-10 10:56:46.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:56:56.840703+02:00 (in 4.985817 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56:56 CEST)" (scheduled at 2023-07-10 10:56:51.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:56: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:01.840703+02:00 (in 4.983073 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:01 CEST)" (scheduled at 2023-07-10 10:56:56.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:06.840703+02:00 (in 4.995444 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:06 CEST)" (scheduled at 2023-07-10 10:57:01.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:11.840703+02:00 (in 4.987289 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:11 CEST)" (scheduled at 2023-07-10 10:57:06.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:16.840703+02:00 (in 4.995724 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:16 CEST)" (scheduled at 2023-07-10 10:57:11.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:16 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:21.840703+02:00 (in 4.995024 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:21 CEST)" (scheduled at 2023-07-10 10:57:16.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:26.840703+02:00 (in 4.998025 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:26 CEST)" (scheduled at 2023-07-10 10:57:21.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:31.840703+02:00 (in 4.995915 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:31 CEST)" (scheduled at 2023-07-10 10:57:26.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:36.840703+02:00 (in 4.996707 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:36 CEST)" (scheduled at 2023-07-10 10:57:31.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:41.840703+02:00 (in 4.993556 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:41 CEST)" (scheduled at 2023-07-10 10:57:36.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:46.840703+02:00 (in 4.994065 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:46 CEST)" (scheduled at 2023-07-10 10:57:41.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:46 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:51.840703+02:00 (in 4.985445 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:51 CEST)" (scheduled at 2023-07-10 10:57:46.840703+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OE477Rl8b6dQgx
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 68692,\n "amount_paid": 0,\n "amount_remaining": 68692,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "upcoming",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1691505431,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OE477Rl8b6dQgx",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 35000,\n "amount_excluding_tax": 35000,\n "currency": "eur",\n "description": "7 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 2,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": 1691509031,\n "number": null,\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": null,\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1691505431,\n "period_start": 1688827031,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "draft",\n "status_transitions": {\n "finalized_at": null,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subtotal": 68692,\n "subtotal_excluding_tax": 68692,\n "tax": null,\n "test_clock": null,\n "total": 68692,\n "total_discount_amounts": [],\n "total_excluding_tax": 68692,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_T3j4yHx4RcM6qT message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 35000,\n "amount_excluding_tax": 35000,\n "currency": "eur",\n "description": "7 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fssbgfAui5iw3D message='Dashboard link for request'
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:57:56.840703+02:00 (in 4.992887 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57:56 CEST)" (scheduled at 2023-07-10 10:57:51.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:57: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:01.840703+02:00 (in 4.995950 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:01 CEST)" (scheduled at 2023-07-10 10:57:56.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:06.840703+02:00 (in 4.999390 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:06 CEST)" (scheduled at 2023-07-10 10:58:01.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:06 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:11.840703+02:00 (in 4.994838 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:11 CEST)" (scheduled at 2023-07-10 10:58:06.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:16.840703+02:00 (in 4.986032 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:16 CEST)" (scheduled at 2023-07-10 10:58:11.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:16 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:21.840703+02:00 (in 4.994753 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:21 CEST)" (scheduled at 2023-07-10 10:58:16.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:26.840703+02:00 (in 4.997729 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:26 CEST)" (scheduled at 2023-07-10 10:58:21.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:26 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:31.840703+02:00 (in 4.985452 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:31 CEST)" (scheduled at 2023-07-10 10:58:26.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:36.840703+02:00 (in 4.995013 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:36 CEST)" (scheduled at 2023-07-10 10:58:31.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:36 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:41.840703+02:00 (in 4.995833 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:41 CEST)" (scheduled at 2023-07-10 10:58:36.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:41 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:46.840703+02:00 (in 4.993793 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:46 CEST)" (scheduled at 2023-07-10 10:58:41.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:46 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:58:51.840703+02:00 (in 4.986251 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:51 CEST)" (scheduled at 2023-07-10 10:58:46.840703+02:00)
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:58:51 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 10:58:59.331420 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 10:58:59.331420 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 10:58:59.331420 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 10:58:59.331420 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 10:58:59.332420 : ++ 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-10 10:59:04.388590+02:00 (in 4.997820 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:04 CEST)" (scheduled at 2023-07-10 10:59:04.388590+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 10:59:09.388590+02:00 (in 4.995259 seconds)
+INFO:root:2023-07-10 10:59:04.398326 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:14.388590+02:00 (in 4.993548 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:14 CEST)" (scheduled at 2023-07-10 10:59:09.388590+02:00)
+INFO:root:2023-07-10 10:59:09.397333 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:14 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:19.388590+02:00 (in 4.989598 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:19 CEST)" (scheduled at 2023-07-10 10:59:14.388590+02:00)
+INFO:root:2023-07-10 10:59:14.400981 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:24.388590+02:00 (in 4.999459 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:24 CEST)" (scheduled at 2023-07-10 10:59:19.388590+02:00)
+INFO:root:2023-07-10 10:59:19.390135 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:29.388590+02:00 (in 4.990759 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:29 CEST)" (scheduled at 2023-07-10 10:59:24.388590+02:00)
+INFO:root:2023-07-10 10:59:24.399833 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:34.388590+02:00 (in 4.995443 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:34 CEST)" (scheduled at 2023-07-10 10:59:29.388590+02:00)
+INFO:root:2023-07-10 10:59:29.395666 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:34 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:39.388590+02:00 (in 4.996034 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:39 CEST)" (scheduled at 2023-07-10 10:59:34.388590+02:00)
+INFO:root:2023-07-10 10:59:34.393936 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:44.388590+02:00 (in 4.802972 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:44 CEST)" (scheduled at 2023-07-10 10:59:39.388590+02:00)
+INFO:root:2023-07-10 10:59:39.588612 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:49.388590+02:00 (in 4.977745 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:49 CEST)" (scheduled at 2023-07-10 10:59:44.388590+02:00)
+INFO:root:2023-07-10 10:59:44.413846 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 10:59:54.388590+02:00 (in 4.980530 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:54 CEST)" (scheduled at 2023-07-10 10:59:49.388590+02:00)
+INFO:root:2023-07-10 10:59:49.409344 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 10:59:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 11:00:03.698396 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 11:00:03.698396 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 11:00:03.698396 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 11:00:03.698396 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 11:00:03.698396 : ++ 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-10 11:00:08.756823+02:00 (in 4.997967 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:08 CEST)" (scheduled at 2023-07-10 11:00:08.756823+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 11:00:13.756823+02:00 (in 4.998819 seconds)
+INFO:root:2023-07-10 11:00:08.775677 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 11:00:24.441988 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 11:00:24.441988 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 11:00:24.441988 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 11:00:24.441988 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 11:00:24.441988 : ++ 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-10 11:00:29.582662+02:00 (in 4.997501 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:29 CEST)" (scheduled at 2023-07-10 11:00:29.582662+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 11:00:34.582662+02:00 (in 4.989573 seconds)
+INFO:root:2023-07-10 11:00:29.597078 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:34 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:00:39.582662+02:00 (in 4.989954 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:39 CEST)" (scheduled at 2023-07-10 11:00:34.582662+02:00)
+INFO:root:2023-07-10 11:00:34.594611 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:00:44.582662+02:00 (in 4.984770 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:44 CEST)" (scheduled at 2023-07-10 11:00:39.582662+02:00)
+INFO:root:2023-07-10 11:00:39.599884 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:00:49.582662+02:00 (in 4.997586 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:49 CEST)" (scheduled at 2023-07-10 11:00:44.582662+02:00)
+INFO:root:2023-07-10 11:00:44.587679 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:49 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:00:54.582662+02:00 (in 4.933816 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:54 CEST)" (scheduled at 2023-07-10 11:00:49.582662+02:00)
+INFO:root:2023-07-10 11:00:49.663542 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:00:05], next run at: 2023-07-10 11:00:54 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 11:01:02.910569 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 11:01:02.911554 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 11:01:02.911554 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 11:01:02.911554 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 11:01:02.911554 : ++ 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-10 11:06:02.981101+02:00 (in 299.998607 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 11:06:02 CEST)" (scheduled at 2023-07-10 11:06:02.981101+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 11:11:02.981101+02:00 (in 299.987686 seconds)
+INFO:root:2023-07-10 11:06:02.997804 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 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-10 11:11:02 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 11:07:11.265228 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 11:07:11.265228 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 11:07:11.265228 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 11:07:11.265228 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 11:07:11.265228 : ++ 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-10 11:08:11.320654+02:00 (in 59.997203 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:08:11 CEST)" (scheduled at 2023-07-10 11:08:11.320654+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 11:09:11.320654+02:00 (in 59.994510 seconds)
+INFO:root:2023-07-10 11:08:11.333865 : lundi, 10. juillet 2023 11:08:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:09:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:10:11.320654+02:00 (in 59.991702 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:10:11 CEST)" (scheduled at 2023-07-10 11:09:11.320654+02:00)
+INFO:root:2023-07-10 11:09:11.330954 : lundi, 10. juillet 2023 11:09:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:10:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:11:11.320654+02:00 (in 59.995010 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:11:11 CEST)" (scheduled at 2023-07-10 11:10:11.320654+02:00)
+INFO:root:2023-07-10 11:10:11.327185 : lundi, 10. juillet 2023 11:10:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:11:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:12:11.320654+02:00 (in 59.992989 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:12:11 CEST)" (scheduled at 2023-07-10 11:11:11.320654+02:00)
+INFO:root:2023-07-10 11:11:11.329242 : lundi, 10. juillet 2023 11:11:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:12:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:13:11.320654+02:00 (in 59.989792 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:13:11 CEST)" (scheduled at 2023-07-10 11:12:11.320654+02:00)
+INFO:root:2023-07-10 11:12:11.332894 : lundi, 10. juillet 2023 11:12:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:13:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:14:11.320654+02:00 (in 59.987735 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:14:11 CEST)" (scheduled at 2023-07-10 11:13:11.320654+02:00)
+INFO:root:2023-07-10 11:13:11.334674 : lundi, 10. juillet 2023 11:13:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:14:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:15:11.320654+02:00 (in 59.990706 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:15:11 CEST)" (scheduled at 2023-07-10 11:14:11.320654+02:00)
+INFO:root:2023-07-10 11:14:11.331021 : lundi, 10. juillet 2023 11:14:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:15:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:16:11.320654+02:00 (in 59.991324 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:16:11 CEST)" (scheduled at 2023-07-10 11:15:11.320654+02:00)
+INFO:root:2023-07-10 11:15:11.331343 : lundi, 10. juillet 2023 11:15:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:16:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:17:11.320654+02:00 (in 59.996018 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:17:11 CEST)" (scheduled at 2023-07-10 11:16:11.320654+02:00)
+INFO:root:2023-07-10 11:16:11.326245 : lundi, 10. juillet 2023 11:16:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:17:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:18:11.320654+02:00 (in 59.995068 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:18:11 CEST)" (scheduled at 2023-07-10 11:17:11.320654+02:00)
+INFO:root:2023-07-10 11:17:11.327602 : lundi, 10. juillet 2023 11:17:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:18:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:19:11.320654+02:00 (in 59.984112 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:19:11 CEST)" (scheduled at 2023-07-10 11:18:11.320654+02:00)
+INFO:root:2023-07-10 11:18:11.338518 : lundi, 10. juillet 2023 11:18:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:19:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:20:11.320654+02:00 (in 59.984560 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:20:11 CEST)" (scheduled at 2023-07-10 11:19:11.320654+02:00)
+INFO:root:2023-07-10 11:19:11.337742 : lundi, 10. juillet 2023 11:19:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:20:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:21:11.320654+02:00 (in 59.987622 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:21:11 CEST)" (scheduled at 2023-07-10 11:20:11.320654+02:00)
+INFO:root:2023-07-10 11:20:11.335337 : lundi, 10. juillet 2023 11:20:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:21:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:22:11.320654+02:00 (in 59.986467 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:22:11 CEST)" (scheduled at 2023-07-10 11:21:11.320654+02:00)
+INFO:root:2023-07-10 11:21:11.336104 : lundi, 10. juillet 2023 11:21:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:22:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:23:11.320654+02:00 (in 59.991717 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:23:11 CEST)" (scheduled at 2023-07-10 11:22:11.320654+02:00)
+INFO:root:2023-07-10 11:22:11.331740 : lundi, 10. juillet 2023 11:22:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:23:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:24:11.320654+02:00 (in 59.997502 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:24:11 CEST)" (scheduled at 2023-07-10 11:23:11.320654+02:00)
+INFO:root:2023-07-10 11:23:11.324602 : lundi, 10. juillet 2023 11:23:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:24:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:25:11.320654+02:00 (in 59.995809 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:25:11 CEST)" (scheduled at 2023-07-10 11:24:11.320654+02:00)
+INFO:root:2023-07-10 11:24:11.327187 : lundi, 10. juillet 2023 11:24:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:25:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:26:11.320654+02:00 (in 59.987317 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:26:11 CEST)" (scheduled at 2023-07-10 11:25:11.320654+02:00)
+INFO:root:2023-07-10 11:25:11.336266 : lundi, 10. juillet 2023 11:25:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:26:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:27:11.320654+02:00 (in 59.982419 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:27:11 CEST)" (scheduled at 2023-07-10 11:26:11.320654+02:00)
+INFO:root:2023-07-10 11:26:11.339458 : lundi, 10. juillet 2023 11:26:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:27:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:28:11.320654+02:00 (in 59.984647 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:28:11 CEST)" (scheduled at 2023-07-10 11:27:11.320654+02:00)
+INFO:root:2023-07-10 11:27:11.338216 : lundi, 10. juillet 2023 11:27:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:28:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:29:11.320654+02:00 (in 59.995129 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:29:11 CEST)" (scheduled at 2023-07-10 11:28:11.320654+02:00)
+INFO:root:2023-07-10 11:28:11.326518 : lundi, 10. juillet 2023 11:28:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:29:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:30:11.320654+02:00 (in 59.986304 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:30:11 CEST)" (scheduled at 2023-07-10 11:29:11.320654+02:00)
+INFO:root:2023-07-10 11:29:11.335569 : lundi, 10. juillet 2023 11:29:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:30:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:31:11.320654+02:00 (in 59.996341 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:31:11 CEST)" (scheduled at 2023-07-10 11:30:11.320654+02:00)
+INFO:root:2023-07-10 11:30:11.326315 : lundi, 10. juillet 2023 11:30:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:31:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:32:11.320654+02:00 (in 59.988984 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:32:11 CEST)" (scheduled at 2023-07-10 11:31:11.320654+02:00)
+INFO:root:2023-07-10 11:31:11.333893 : lundi, 10. juillet 2023 11:31:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:32:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:33:11.320654+02:00 (in 59.998108 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:33:11 CEST)" (scheduled at 2023-07-10 11:32:11.320654+02:00)
+INFO:root:2023-07-10 11:32:11.324220 : lundi, 10. juillet 2023 11:32:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:33:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:34:11.320654+02:00 (in 59.995436 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:34:11 CEST)" (scheduled at 2023-07-10 11:33:11.320654+02:00)
+INFO:root:2023-07-10 11:33:11.327199 : lundi, 10. juillet 2023 11:33:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:34:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:35:11.320654+02:00 (in 59.992239 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:35:11 CEST)" (scheduled at 2023-07-10 11:34:11.320654+02:00)
+INFO:root:2023-07-10 11:34:11.330507 : lundi, 10. juillet 2023 11:34:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:35:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:36:11.320654+02:00 (in 59.985028 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:36:11 CEST)" (scheduled at 2023-07-10 11:35:11.320654+02:00)
+INFO:root:2023-07-10 11:35:11.338419 : lundi, 10. juillet 2023 11:35:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:36:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:37:11.320654+02:00 (in 59.986377 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:37:11 CEST)" (scheduled at 2023-07-10 11:36:11.320654+02:00)
+INFO:root:2023-07-10 11:36:11.335260 : lundi, 10. juillet 2023 11:36:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:37:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:38:11.320654+02:00 (in 59.992115 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:38:11 CEST)" (scheduled at 2023-07-10 11:37:11.320654+02:00)
+INFO:root:2023-07-10 11:37:11.330672 : lundi, 10. juillet 2023 11:37:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:38:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:39:11.320654+02:00 (in 59.991908 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:39:11 CEST)" (scheduled at 2023-07-10 11:38:11.320654+02:00)
+INFO:root:2023-07-10 11:38:11.331103 : lundi, 10. juillet 2023 11:38:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:39:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:40:11.320654+02:00 (in 59.986966 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:40:11 CEST)" (scheduled at 2023-07-10 11:39:11.320654+02:00)
+INFO:root:2023-07-10 11:39:11.335930 : lundi, 10. juillet 2023 11:39:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:40:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:41:11.320654+02:00 (in 59.995650 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:41:11 CEST)" (scheduled at 2023-07-10 11:40:11.320654+02:00)
+INFO:root:2023-07-10 11:40:11.326175 : lundi, 10. juillet 2023 11:40:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:41:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:42:11.320654+02:00 (in 59.986409 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:42:11 CEST)" (scheduled at 2023-07-10 11:41:11.320654+02:00)
+INFO:root:2023-07-10 11:41:11.335511 : lundi, 10. juillet 2023 11:41:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:42:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:43:11.320654+02:00 (in 59.992395 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:43:11 CEST)" (scheduled at 2023-07-10 11:42:11.320654+02:00)
+INFO:root:2023-07-10 11:42:11.330762 : lundi, 10. juillet 2023 11:42:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:43:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:44:11.320654+02:00 (in 59.987177 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:44:11 CEST)" (scheduled at 2023-07-10 11:43:11.320654+02:00)
+INFO:root:2023-07-10 11:43:11.335955 : lundi, 10. juillet 2023 11:43:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:44:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:45:11.320654+02:00 (in 59.986946 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:45:11 CEST)" (scheduled at 2023-07-10 11:44:11.320654+02:00)
+INFO:root:2023-07-10 11:44:11.336503 : lundi, 10. juillet 2023 11:44:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:45:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:46:11.320654+02:00 (in 59.992699 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:46:11 CEST)" (scheduled at 2023-07-10 11:45:11.320654+02:00)
+INFO:root:2023-07-10 11:45:11.330312 : lundi, 10. juillet 2023 11:45:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:46:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:47:11.320654+02:00 (in 59.997043 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:47:11 CEST)" (scheduled at 2023-07-10 11:46:11.320654+02:00)
+INFO:root:2023-07-10 11:46:11.325606 : lundi, 10. juillet 2023 11:46:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:47:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:48:11.320654+02:00 (in 59.995715 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:48:11 CEST)" (scheduled at 2023-07-10 11:47:11.320654+02:00)
+INFO:root:2023-07-10 11:47:11.326036 : lundi, 10. juillet 2023 11:47:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:48:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:49:11.320654+02:00 (in 59.990511 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:49:11 CEST)" (scheduled at 2023-07-10 11:48:11.320654+02:00)
+INFO:root:2023-07-10 11:48:11.332008 : lundi, 10. juillet 2023 11:48:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:49:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:50:11.320654+02:00 (in 59.984752 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:50:11 CEST)" (scheduled at 2023-07-10 11:49:11.320654+02:00)
+INFO:root:2023-07-10 11:49:11.338437 : lundi, 10. juillet 2023 11:49:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:50:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:51:11.320654+02:00 (in 59.994074 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:51:11 CEST)" (scheduled at 2023-07-10 11:50:11.320654+02:00)
+INFO:root:2023-07-10 11:50:11.328586 : lundi, 10. juillet 2023 11:50:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:51:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:52:11.320654+02:00 (in 59.991203 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:52:11 CEST)" (scheduled at 2023-07-10 11:51:11.320654+02:00)
+INFO:root:2023-07-10 11:51:11.331566 : lundi, 10. juillet 2023 11:51:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:52:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:53:11.320654+02:00 (in 59.995193 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:53:11 CEST)" (scheduled at 2023-07-10 11:52:11.320654+02:00)
+INFO:root:2023-07-10 11:52:11.327464 : lundi, 10. juillet 2023 11:52:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:53:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:54:11.320654+02:00 (in 59.992072 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:54:11 CEST)" (scheduled at 2023-07-10 11:53:11.320654+02:00)
+INFO:root:2023-07-10 11:53:11.331145 : lundi, 10. juillet 2023 11:53:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:54:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:55:11.320654+02:00 (in 59.992933 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:55:11 CEST)" (scheduled at 2023-07-10 11:54:11.320654+02:00)
+INFO:root:2023-07-10 11:54:11.330455 : lundi, 10. juillet 2023 11:54:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:55:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:56:11.320654+02:00 (in 59.986150 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:56:11 CEST)" (scheduled at 2023-07-10 11:55:11.320654+02:00)
+INFO:root:2023-07-10 11:55:11.337075 : lundi, 10. juillet 2023 11:55:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:56:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 11:57:11.320654+02:00 (in 59.987748 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:57:11 CEST)" (scheduled at 2023-07-10 11:56:11.320654+02:00)
+INFO:root:2023-07-10 11:56:11.335978 : lundi, 10. juillet 2023 11:56:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 11:57:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:04:11.320654+02:00 (in 47.883177 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:04:11 CEST)" was missed by 0:00:12.117609
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 12:05:11.320654+02:00 (in 59.989935 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:05:11 CEST)" (scheduled at 2023-07-10 12:04:11.320654+02:00)
+INFO:root:2023-07-10 12:04:11.332501 : lundi, 10. juillet 2023 12:04:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:05:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:06:11.320654+02:00 (in 59.986158 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:06:11 CEST)" (scheduled at 2023-07-10 12:05:11.320654+02:00)
+INFO:root:2023-07-10 12:05:11.337574 : lundi, 10. juillet 2023 12:05:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:06:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:07:11.320654+02:00 (in 59.996124 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:07:11 CEST)" (scheduled at 2023-07-10 12:06:11.320654+02:00)
+INFO:root:2023-07-10 12:06:11.327607 : lundi, 10. juillet 2023 12:06:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:07:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:08:11.320654+02:00 (in 59.997629 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:08:11 CEST)" (scheduled at 2023-07-10 12:07:11.320654+02:00)
+INFO:root:2023-07-10 12:07:11.324600 : lundi, 10. juillet 2023 12:07:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:08:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:09:11.320654+02:00 (in 59.986532 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:09:11 CEST)" (scheduled at 2023-07-10 12:08:11.320654+02:00)
+INFO:root:2023-07-10 12:08:11.337124 : lundi, 10. juillet 2023 12:08:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:09:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:10:11.320654+02:00 (in 59.990729 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:10:11 CEST)" (scheduled at 2023-07-10 12:09:11.320654+02:00)
+INFO:root:2023-07-10 12:09:11.331746 : lundi, 10. juillet 2023 12:09:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:10:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:11:11.320654+02:00 (in 59.998128 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:11:11 CEST)" (scheduled at 2023-07-10 12:10:11.320654+02:00)
+INFO:root:2023-07-10 12:10:11.324699 : lundi, 10. juillet 2023 12:10:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:11:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:12:11.320654+02:00 (in 59.983457 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:12:11 CEST)" (scheduled at 2023-07-10 12:11:11.320654+02:00)
+INFO:root:2023-07-10 12:11:11.340269 : lundi, 10. juillet 2023 12:11:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:12:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:49:11.320654+02:00 (in 44.560938 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:49:11 CEST)" was missed by 0:00:15.440135
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 12:50:11.320654+02:00 (in 59.992596 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:50:11 CEST)" (scheduled at 2023-07-10 12:49:11.320654+02:00)
+INFO:root:2023-07-10 12:49:11.329831 : lundi, 10. juillet 2023 12:49:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:50:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:51:11.320654+02:00 (in 59.988067 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:51:11 CEST)" (scheduled at 2023-07-10 12:50:11.320654+02:00)
+INFO:root:2023-07-10 12:50:11.335623 : lundi, 10. juillet 2023 12:50:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:51:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:52:11.320654+02:00 (in 59.983708 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:52:11 CEST)" (scheduled at 2023-07-10 12:51:11.320654+02:00)
+INFO:root:2023-07-10 12:51:11.338837 : lundi, 10. juillet 2023 12:51:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:52:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:53:11.320654+02:00 (in 59.995982 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:53:11 CEST)" (scheduled at 2023-07-10 12:52:11.320654+02:00)
+INFO:root:2023-07-10 12:52:11.327736 : lundi, 10. juillet 2023 12:52:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:53:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:54:11.320654+02:00 (in 59.996417 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:54:11 CEST)" (scheduled at 2023-07-10 12:53:11.320654+02:00)
+INFO:root:2023-07-10 12:53:11.326021 : lundi, 10. juillet 2023 12:53:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:54:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:55:11.320654+02:00 (in 59.992823 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:55:11 CEST)" (scheduled at 2023-07-10 12:54:11.320654+02:00)
+INFO:root:2023-07-10 12:54:11.330564 : lundi, 10. juillet 2023 12:54:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:55:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:56:11.320654+02:00 (in 59.983913 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:56:11 CEST)" (scheduled at 2023-07-10 12:55:11.320654+02:00)
+INFO:root:2023-07-10 12:55:11.339824 : lundi, 10. juillet 2023 12:55:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:56:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:57:11.320654+02:00 (in 59.984126 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:57:11 CEST)" (scheduled at 2023-07-10 12:56:11.320654+02:00)
+INFO:root:2023-07-10 12:56:11.338479 : lundi, 10. juillet 2023 12:56:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:57:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:58:11.320654+02:00 (in 59.990789 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:58:11 CEST)" (scheduled at 2023-07-10 12:57:11.320654+02:00)
+INFO:root:2023-07-10 12:57:11.331905 : lundi, 10. juillet 2023 12:57:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:58:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 12:59:11.320654+02:00 (in 59.996404 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:59:11 CEST)" (scheduled at 2023-07-10 12:58:11.320654+02:00)
+INFO:root:2023-07-10 12:58:11.327183 : lundi, 10. juillet 2023 12:58:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 12:59:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:00:11.320654+02:00 (in 59.994873 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:00:11 CEST)" (scheduled at 2023-07-10 12:59:11.320654+02:00)
+INFO:root:2023-07-10 12:59:11.328842 : lundi, 10. juillet 2023 12:59:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:00:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:01:11.320654+02:00 (in 59.984912 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:01:11 CEST)" (scheduled at 2023-07-10 13:00:11.320654+02:00)
+INFO:root:2023-07-10 13:00:11.337795 : lundi, 10. juillet 2023 01:00:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:01:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:02:11.320654+02:00 (in 59.993403 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:02:11 CEST)" (scheduled at 2023-07-10 13:01:11.320654+02:00)
+INFO:root:2023-07-10 13:01:11.330246 : lundi, 10. juillet 2023 01:01:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:02:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:03:11.320654+02:00 (in 59.990042 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:03:11 CEST)" (scheduled at 2023-07-10 13:02:11.320654+02:00)
+INFO:root:2023-07-10 13:02:11.333655 : lundi, 10. juillet 2023 01:02:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:03:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:04:11.320654+02:00 (in 59.983892 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:04:11 CEST)" (scheduled at 2023-07-10 13:03:11.320654+02:00)
+INFO:root:2023-07-10 13:03:11.338544 : lundi, 10. juillet 2023 01:03:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:04:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:05:11.320654+02:00 (in 59.992652 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:05:11 CEST)" (scheduled at 2023-07-10 13:04:11.320654+02:00)
+INFO:root:2023-07-10 13:04:11.331068 : lundi, 10. juillet 2023 01:04:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:05:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:06:11.320654+02:00 (in 59.992099 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:06:11 CEST)" (scheduled at 2023-07-10 13:05:11.320654+02:00)
+INFO:root:2023-07-10 13:05:11.331130 : lundi, 10. juillet 2023 01:05:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:06:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:07:11.320654+02:00 (in 59.997319 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:07:11 CEST)" (scheduled at 2023-07-10 13:06:11.320654+02:00)
+INFO:root:2023-07-10 13:06:11.325374 : lundi, 10. juillet 2023 01:06:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:07:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:08:11.320654+02:00 (in 59.998494 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:08:11 CEST)" (scheduled at 2023-07-10 13:07:11.320654+02:00)
+INFO:root:2023-07-10 13:07:11.325246 : lundi, 10. juillet 2023 01:07:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:08:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:09:11.320654+02:00 (in 59.998174 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:09:11 CEST)" (scheduled at 2023-07-10 13:08:11.320654+02:00)
+INFO:root:2023-07-10 13:08:11.324434 : lundi, 10. juillet 2023 01:08:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:09:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:10:11.320654+02:00 (in 59.984307 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:10:11 CEST)" (scheduled at 2023-07-10 13:09:11.320654+02:00)
+INFO:root:2023-07-10 13:09:11.339431 : lundi, 10. juillet 2023 01:09:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:10:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:11:11.320654+02:00 (in 59.983976 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:11:11 CEST)" (scheduled at 2023-07-10 13:10:11.320654+02:00)
+INFO:root:2023-07-10 13:10:11.339439 : lundi, 10. juillet 2023 01:10:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:11:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:12:11.320654+02:00 (in 59.998441 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:12:11 CEST)" (scheduled at 2023-07-10 13:11:11.320654+02:00)
+INFO:root:2023-07-10 13:11:11.325028 : lundi, 10. juillet 2023 01:11:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:12:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:13:11.320654+02:00 (in 59.998140 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:13:11 CEST)" (scheduled at 2023-07-10 13:12:11.320654+02:00)
+INFO:root:2023-07-10 13:12:11.325599 : lundi, 10. juillet 2023 01:12:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:13:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:14:11.320654+02:00 (in 59.992340 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:14:11 CEST)" (scheduled at 2023-07-10 13:13:11.320654+02:00)
+INFO:root:2023-07-10 13:13:11.330144 : lundi, 10. juillet 2023 01:13:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:14:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:15:11.320654+02:00 (in 59.996848 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:15:11 CEST)" (scheduled at 2023-07-10 13:14:11.320654+02:00)
+INFO:root:2023-07-10 13:14:11.325812 : lundi, 10. juillet 2023 01:14:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:15:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:16:11.320654+02:00 (in 59.997710 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:16:11 CEST)" (scheduled at 2023-07-10 13:15:11.320654+02:00)
+INFO:root:2023-07-10 13:15:11.324920 : lundi, 10. juillet 2023 01:15:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:16:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:17:11.320654+02:00 (in 59.988132 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:17:11 CEST)" (scheduled at 2023-07-10 13:16:11.320654+02:00)
+INFO:root:2023-07-10 13:16:11.335669 : lundi, 10. juillet 2023 01:16:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:17:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 13:18:11.320654+02:00 (in 59.997787 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:18:11 CEST)" (scheduled at 2023-07-10 13:17:11.320654+02:00)
+INFO:root:2023-07-10 13:17:11.325932 : lundi, 10. juillet 2023 01:17:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 13:18:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:21:11.320654+02:00 (in 53.430757 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:21:11 CEST)" was missed by 0:00:06.569243
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 14:22:11.320654+02:00 (in 59.991689 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:22:11 CEST)" (scheduled at 2023-07-10 14:21:11.320654+02:00)
+INFO:root:2023-07-10 14:21:11.330746 : lundi, 10. juillet 2023 02:21:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:22:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:23:11.320654+02:00 (in 59.993739 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:23:11 CEST)" (scheduled at 2023-07-10 14:22:11.320654+02:00)
+INFO:root:2023-07-10 14:22:11.330062 : lundi, 10. juillet 2023 02:22:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:23:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:24:11.320654+02:00 (in 59.987949 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:24:11 CEST)" (scheduled at 2023-07-10 14:23:11.320654+02:00)
+INFO:root:2023-07-10 14:23:11.335693 : lundi, 10. juillet 2023 02:23:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:24:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:25:11.320654+02:00 (in 59.989772 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:25:11 CEST)" (scheduled at 2023-07-10 14:24:11.320654+02:00)
+INFO:root:2023-07-10 14:24:11.334079 : lundi, 10. juillet 2023 02:24:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:25:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:26:11.320654+02:00 (in 59.988558 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:26:11 CEST)" (scheduled at 2023-07-10 14:25:11.320654+02:00)
+INFO:root:2023-07-10 14:25:11.335035 : lundi, 10. juillet 2023 02:25:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:26:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:27:11.320654+02:00 (in 59.988587 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:27:11 CEST)" (scheduled at 2023-07-10 14:26:11.320654+02:00)
+INFO:root:2023-07-10 14:26:11.335163 : lundi, 10. juillet 2023 02:26:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:27:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:28:11.320654+02:00 (in 48.552362 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:28:11 CEST)" was missed by 0:00:11.447638
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 14:29:11.320654+02:00 (in 59.988562 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:29:11 CEST)" (scheduled at 2023-07-10 14:28:11.320654+02:00)
+INFO:root:2023-07-10 14:28:11.335196 : lundi, 10. juillet 2023 02:28:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:29:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:30:11.320654+02:00 (in 59.994744 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:30:11 CEST)" (scheduled at 2023-07-10 14:29:11.320654+02:00)
+INFO:root:2023-07-10 14:29:11.328973 : lundi, 10. juillet 2023 02:29:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:30:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:31:11.320654+02:00 (in 59.985508 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:31:11 CEST)" (scheduled at 2023-07-10 14:30:11.320654+02:00)
+INFO:root:2023-07-10 14:30:11.338337 : lundi, 10. juillet 2023 02:30:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:31:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:32:11.320654+02:00 (in 59.983615 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:32:11 CEST)" (scheduled at 2023-07-10 14:31:11.320654+02:00)
+INFO:root:2023-07-10 14:31:11.340121 : lundi, 10. juillet 2023 02:31:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:32:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:33:11.320654+02:00 (in 59.990445 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:33:11 CEST)" (scheduled at 2023-07-10 14:32:11.320654+02:00)
+INFO:root:2023-07-10 14:32:11.332182 : lundi, 10. juillet 2023 02:32:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:33:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:34:11.320654+02:00 (in 59.997288 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:34:11 CEST)" (scheduled at 2023-07-10 14:33:11.320654+02:00)
+INFO:root:2023-07-10 14:33:11.327357 : lundi, 10. juillet 2023 02:33:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:34:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:35:11.320654+02:00 (in 59.985817 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:35:11 CEST)" (scheduled at 2023-07-10 14:34:11.320654+02:00)
+INFO:root:2023-07-10 14:34:11.337889 : lundi, 10. juillet 2023 02:34:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:35:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:36:11.320654+02:00 (in 59.996126 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:36:11 CEST)" (scheduled at 2023-07-10 14:35:11.320654+02:00)
+INFO:root:2023-07-10 14:35:11.327611 : lundi, 10. juillet 2023 02:35:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:36:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:37:11.320654+02:00 (in 59.995917 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:37:11 CEST)" (scheduled at 2023-07-10 14:36:11.320654+02:00)
+INFO:root:2023-07-10 14:36:11.327901 : lundi, 10. juillet 2023 02:36:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:37:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:42:11.320654+02:00 (in 38.036826 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:42:11 CEST)" was missed by 0:00:21.964183
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 14:43:11.320654+02:00 (in 59.991217 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:43:11 CEST)" (scheduled at 2023-07-10 14:42:11.320654+02:00)
+INFO:root:2023-07-10 14:42:11.330453 : lundi, 10. juillet 2023 02:42:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:43:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:44:11.320654+02:00 (in 59.991257 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:44:11 CEST)" (scheduled at 2023-07-10 14:43:11.320654+02:00)
+INFO:root:2023-07-10 14:43:11.331912 : lundi, 10. juillet 2023 02:43:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:44:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:45:11.320654+02:00 (in 59.984976 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:45:11 CEST)" (scheduled at 2023-07-10 14:44:11.320654+02:00)
+INFO:root:2023-07-10 14:44:11.338747 : lundi, 10. juillet 2023 02:44:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:45:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:46:11.320654+02:00 (in 59.997760 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:46:11 CEST)" (scheduled at 2023-07-10 14:45:11.320654+02:00)
+INFO:root:2023-07-10 14:45:11.325731 : lundi, 10. juillet 2023 02:45:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:46:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:47:11.320654+02:00 (in 59.989087 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:47:11 CEST)" (scheduled at 2023-07-10 14:46:11.320654+02:00)
+INFO:root:2023-07-10 14:46:11.334686 : lundi, 10. juillet 2023 02:46:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:47:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:48:11.320654+02:00 (in 59.991305 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:48:11 CEST)" (scheduled at 2023-07-10 14:47:11.320654+02:00)
+INFO:root:2023-07-10 14:47:11.332658 : lundi, 10. juillet 2023 02:47:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:48:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:49:11.320654+02:00 (in 59.990421 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:49:11 CEST)" (scheduled at 2023-07-10 14:48:11.320654+02:00)
+INFO:root:2023-07-10 14:48:11.334197 : lundi, 10. juillet 2023 02:48:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:49:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:50:11.320654+02:00 (in 59.992251 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:50:11 CEST)" (scheduled at 2023-07-10 14:49:11.320654+02:00)
+INFO:root:2023-07-10 14:49:11.330430 : lundi, 10. juillet 2023 02:49:11 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:50:11 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 14:50:01.506489 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:50:01.507904 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:50:01.507904 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:50:01.507904 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:50:01.507904 : ++ 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-10 14:51:01.782484+02:00 (in 59.996006 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:51:01 CEST)" (scheduled at 2023-07-10 14:51:01.782484+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 14:52:01.782484+02:00 (in 59.995899 seconds)
+INFO:root:2023-07-10 14:51:01.804277 : lundi, 10. juillet 2023 02:51: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:01:00], next run at: 2023-07-10 14:52: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:53:01.782484+02:00 (in 59.988332 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:53:01 CEST)" (scheduled at 2023-07-10 14:52:01.782484+02:00)
+INFO:root:2023-07-10 14:52:01.797491 : lundi, 10. juillet 2023 02:52: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:01:00], next run at: 2023-07-10 14:53: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:54:01.782484+02:00 (in 59.986350 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:54:01 CEST)" (scheduled at 2023-07-10 14:53:01.782484+02:00)
+INFO:root:2023-07-10 14:53:01.799214 : lundi, 10. juillet 2023 02:53: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:01:00], next run at: 2023-07-10 14:54: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 14:55:01.782484+02:00 (in 59.996645 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 14:55:01 CEST)" (scheduled at 2023-07-10 14:54:01.782484+02:00)
+INFO:root:2023-07-10 14:54:01.788430 : lundi, 10. juillet 2023 02:54: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:01:00], next run at: 2023-07-10 14:55: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 14:54:36.888683 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:54:36.888683 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:54:36.888683 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:54:36.890033 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:54:36.890033 : ++ 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-10 14:55:36.964795+02:00 (in 59.997684 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:54:54.301866 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:54:54.301866 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:54:54.302999 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:54:54.302999 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:54:54.302999 : ++ 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-10 14:55:54.366289+02:00 (in 59.997005 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:55:13.293148 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:55:13.293148 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:55:13.293148 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:55:13.293148 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:55:13.293148 : ++ 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-10 14:56:13.358881+02:00 (in 59.997615 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:56:00.600616 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:56:00.601574 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:56:00.601574 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:56:00.601574 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:56:00.601574 : ++ 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-10 14:57:00.663687+02:00 (in 59.997485 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:56:38.514210 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:56:38.514210 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:56:38.514210 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:56:38.514210 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:56:38.514210 : ++ 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-10 14:57:38.573737+02:00 (in 59.996669 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:57:11.845416 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:57:11.846416 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:57:11.846416 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:57:11.846416 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:57:11.846416 : ++ 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-10 14:58:11.908181+02:00 (in 59.998000 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:57:42.424092 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:57:42.424092 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:57:42.424092 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:57:42.424092 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:57:42.424092 : ++ 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-10 14:58:42.497728+02:00 (in 59.997572 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:58:14.374331 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:58:14.374331 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:58:14.374331 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:58:14.374331 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:58:14.374331 : ++ 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-10 14:59:14.447954+02:00 (in 59.996543 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:58:30.148005 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:58:30.149035 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:58:30.149035 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:58:30.149035 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:58:30.149035 : ++ 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-10 14:59:30.219922+02:00 (in 59.997785 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 14:59:13.177623 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 14:59:13.177623 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 14:59:13.177623 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 14:59:13.177623 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 14:59:13.177623 : ++ 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-10 15:00:13.251116+02:00 (in 59.996564 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:00:13 CEST)" (scheduled at 2023-07-10 15:00:13.251116+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:01:13.251116+02:00 (in 59.991031 seconds)
+INFO:root:2023-07-10 15:00:13.266624 : lundi, 10. juillet 2023 03:00:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:01:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:02:13.251116+02:00 (in 59.995113 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:02:13 CEST)" (scheduled at 2023-07-10 15:01:13.251116+02:00)
+INFO:root:2023-07-10 15:01:13.258597 : lundi, 10. juillet 2023 03:01:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:02:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:03:13.251116+02:00 (in 59.986430 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:03:13 CEST)" (scheduled at 2023-07-10 15:02:13.251116+02:00)
+INFO:root:2023-07-10 15:02:13.267077 : lundi, 10. juillet 2023 03:02:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:03:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:04:13.251116+02:00 (in 59.996460 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:04:13 CEST)" (scheduled at 2023-07-10 15:03:13.251116+02:00)
+INFO:root:2023-07-10 15:03:13.256912 : lundi, 10. juillet 2023 03:03:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:04:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:05:13.251116+02:00 (in 59.982343 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:05:13 CEST)" (scheduled at 2023-07-10 15:04:13.251116+02:00)
+INFO:root:2023-07-10 15:04:13.271135 : lundi, 10. juillet 2023 03:04:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:05:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:06:13.251116+02:00 (in 59.984544 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:06:13 CEST)" (scheduled at 2023-07-10 15:05:13.251116+02:00)
+INFO:root:2023-07-10 15:05:13.269736 : lundi, 10. juillet 2023 03:05:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:06:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:07:13.251116+02:00 (in 59.997303 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:07:13 CEST)" (scheduled at 2023-07-10 15:06:13.251116+02:00)
+INFO:root:2023-07-10 15:06:13.256175 : lundi, 10. juillet 2023 03:06:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:07:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:08:13.251116+02:00 (in 59.991246 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:08:13 CEST)" (scheduled at 2023-07-10 15:07:13.251116+02:00)
+INFO:root:2023-07-10 15:07:13.261976 : lundi, 10. juillet 2023 03:07:13 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:08:13 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:08:24.370185 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:08:24.370185 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:08:24.370185 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:08:24.370185 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:08:24.370185 : ++ 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-10 15:09:24.449135+02:00 (in 59.997504 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:09:24 CEST)" (scheduled at 2023-07-10 15:09:24.449135+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:10:24.449135+02:00 (in 59.982914 seconds)
+INFO:root:2023-07-10 15:09:24.470789 : lundi, 10. juillet 2023 03:09: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:01:00], next run at: 2023-07-10 15:10: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:11:24.449135+02:00 (in 59.989474 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:11:24 CEST)" (scheduled at 2023-07-10 15:10:24.449135+02:00)
+INFO:root:2023-07-10 15:10:24.462643 : lundi, 10. juillet 2023 03:10: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:01:00], next run at: 2023-07-10 15: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:11:33.515074 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:11:33.516089 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:11:33.516089 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:11:33.516089 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:11:33.516089 : ++ 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-10 15:12:33.593934+02:00 (in 59.998010 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:12:33 CEST)" (scheduled at 2023-07-10 15:12:33.593934+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:13:33.593934+02:00 (in 59.984139 seconds)
+INFO:root:2023-07-10 15:12:33.614598 : lundi, 10. juillet 2023 03:12:33 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:13:33 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:12:55.667555 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:12:55.667555 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:12:55.667555 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:12:55.667555 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:12:55.667555 : ++ 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-10 15:13:55.741152+02:00 (in 59.997778 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:13:47.121084 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:13:47.121084 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:13:47.122177 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:13:47.122177 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:13:47.122177 : ++ 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-10 15:14:47.190785+02:00 (in 59.997476 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:14:20.791625 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:14:20.791625 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:14:20.791625 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:14:20.793303 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:14:20.793303 : ++ 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-10 15:15:20.885784+02:00 (in 59.996471 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:15:22.628916 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:15:22.629905 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:15:22.629905 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:15:22.629905 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:15:22.629905 : ++ 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-10 15:16:22.701077+02:00 (in 59.996468 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:16:22 CEST)" (scheduled at 2023-07-10 15:16:22.701077+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:17:22.701077+02:00 (in 59.992613 seconds)
+INFO:root:2023-07-10 15:16:22.713757 : lundi, 10. juillet 2023 03:16:22 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:17:22 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:16:52.947599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:16:52.947599 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:16:52.947599 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:16:52.947599 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:16:52.947599 : ++ 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-10 15:17:53.025503+02:00 (in 59.996799 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:17:45.935092 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:17:45.935092 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:17:45.935092 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:17:45.935092 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:17:45.935092 : ++ 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-10 15:18:46.007350+02:00 (in 59.997971 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:18:23.499855 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:18:23.499855 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:18:23.499855 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:18:23.501303 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:18:23.501303 : ++ 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-10 15:19:23.574220+02:00 (in 59.996075 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:18:54.657317 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:18:54.657317 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:18:54.657317 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:18:54.657317 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:18:54.657317 : ++ 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-10 15:19:54.732670+02:00 (in 59.997480 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:19:43.900953 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:19:43.900953 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:19:43.900953 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:19:43.900953 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:19:43.900953 : ++ 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-10 15:20:43.973006+02:00 (in 59.997691 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:20:43 CEST)" (scheduled at 2023-07-10 15:20:43.973006+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:21:43.973006+02:00 (in 59.987549 seconds)
+INFO:root:2023-07-10 15:20:43.993555 : lundi, 10. juillet 2023 03:20: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:01:00], next run at: 2023-07-10 15:21:43 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:22:43.973006+02:00 (in 59.994554 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:22:43 CEST)" (scheduled at 2023-07-10 15:21:43.973006+02:00)
+INFO:root:2023-07-10 15:21:43.981914 : lundi, 10. juillet 2023 03:21: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:01:00], next run at: 2023-07-10 15:22: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:23:43.973006+02:00 (in 59.998468 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:23:43 CEST)" (scheduled at 2023-07-10 15:22:43.973006+02:00)
+INFO:root:2023-07-10 15:22:43.977534 : lundi, 10. juillet 2023 03:22: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:01:00], next run at: 2023-07-10 15:23: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:24:43.973006+02:00 (in 59.985103 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:24:43 CEST)" (scheduled at 2023-07-10 15:23:43.973006+02:00)
+INFO:root:2023-07-10 15:23:43.990148 : lundi, 10. juillet 2023 03:23: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:01:00], next run at: 2023-07-10 15:24: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:25:43.973006+02:00 (in 59.992172 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:25:43 CEST)" (scheduled at 2023-07-10 15:24:43.973006+02:00)
+INFO:root:2023-07-10 15:24:43.983438 : lundi, 10. juillet 2023 03:24: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:01:00], next run at: 2023-07-10 15:25: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:25:47.495924 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:25:47.496944 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:25:47.496944 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:25:47.496944 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:25:47.496944 : ++ 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-10 15:26:47.566037+02:00 (in 59.997022 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:26:47 CEST)" (scheduled at 2023-07-10 15:26:47.566037+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:27:47.566037+02:00 (in 59.985030 seconds)
+INFO:root:2023-07-10 15:26:47.598033 : lundi, 10. juillet 2023 03:26: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:01:00], next run at: 2023-07-10 15:27: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:28:47.566037+02:00 (in 59.996208 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:28:47 CEST)" (scheduled at 2023-07-10 15:27:47.566037+02:00)
+INFO:root:2023-07-10 15:27:47.571356 : lundi, 10. juillet 2023 03:27: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:01:00], next run at: 2023-07-10 15:28: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:28:57.312994 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:28:57.312994 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:28:57.312994 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:28:57.312994 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:28:57.312994 : ++ 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-10 15:29:57.384582+02:00 (in 59.997636 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:29:36.040266 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:29:36.040266 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:29:36.040266 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:29:36.040266 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:29:36.040266 : ++ 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-10 15:30:36.115235+02:00 (in 59.997196 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:29:59.585235 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:29:59.585235 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:29:59.585235 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:29:59.585235 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:29:59.585235 : ++ 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-10 15:30:59.664544+02:00 (in 59.996646 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 15:30:19.720572 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:30:19.720572 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:30:19.720572 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:30:19.720572 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:30:19.720572 : ++ 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-10 15:31:19.784449+02:00 (in 59.997623 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:31:19 CEST)" (scheduled at 2023-07-10 15:31:19.784449+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:32:19.784449+02:00 (in 59.994289 seconds)
+INFO:root:2023-07-10 15:31:19.797292 : lundi, 10. juillet 2023 03:31:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:32:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:33:19.784449+02:00 (in 59.994530 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:33:19 CEST)" (scheduled at 2023-07-10 15:32:19.784449+02:00)
+INFO:root:2023-07-10 15:32:19.791950 : lundi, 10. juillet 2023 03:32:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:33:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:32:37.679382 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:32:37.679382 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:32:37.679382 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:32:37.679382 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:32:37.679382 : ++ 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-10 15:33:37.760330+02:00 (in 59.997458 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:33:37 CEST)" (scheduled at 2023-07-10 15:33:37.760330+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:34:37.760330+02:00 (in 59.995106 seconds)
+INFO:root:2023-07-10 15:33:37.797452 : lundi, 10. juillet 2023 03:33:37 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:34:37 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:35:37.760330+02:00 (in 59.994496 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:35:37 CEST)" (scheduled at 2023-07-10 15:34:37.760330+02:00)
+INFO:root:2023-07-10 15:34:37.768873 : lundi, 10. juillet 2023 03:34:37 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:35:37 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:36:37.760330+02:00 (in 59.993644 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:36:37 CEST)" (scheduled at 2023-07-10 15:35:37.760330+02:00)
+INFO:root:2023-07-10 15:35:37.769337 : lundi, 10. juillet 2023 03:35:37 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:36:37 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:37:37.760330+02:00 (in 59.986025 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:37:37 CEST)" (scheduled at 2023-07-10 15:36:37.760330+02:00)
+INFO:root:2023-07-10 15:36:37.778097 : lundi, 10. juillet 2023 03:36:37 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:37:37 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:37:31.533743 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:37:31.533743 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:37:31.533743 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:37:31.533743 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:37:31.533743 : ++ 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-10 15:38:31.607323+02:00 (in 59.997681 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:38:31 CEST)" (scheduled at 2023-07-10 15:38:31.607323+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:39:31.607323+02:00 (in 59.993353 seconds)
+INFO:root:2023-07-10 15:38:31.620793 : lundi, 10. juillet 2023 03:38:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:39:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:40:31.607323+02:00 (in 59.983714 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:40:31 CEST)" (scheduled at 2023-07-10 15:39:31.607323+02:00)
+INFO:root:2023-07-10 15:39:31.626694 : lundi, 10. juillet 2023 03:39:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:40:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:41:31.607323+02:00 (in 59.991406 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:41:31 CEST)" (scheduled at 2023-07-10 15:40:31.607323+02:00)
+INFO:root:2023-07-10 15:40:31.617430 : lundi, 10. juillet 2023 03:40:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:41:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:42:31.607323+02:00 (in 59.994581 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:42:31 CEST)" (scheduled at 2023-07-10 15:41:31.607323+02:00)
+INFO:root:2023-07-10 15:41:31.614737 : lundi, 10. juillet 2023 03:41:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:42:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:43:31.607323+02:00 (in 59.985655 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:43:31 CEST)" (scheduled at 2023-07-10 15:42:31.607323+02:00)
+INFO:root:2023-07-10 15:42:31.623953 : lundi, 10. juillet 2023 03:42:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:43:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:44:31.607323+02:00 (in 59.987629 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:44:31 CEST)" (scheduled at 2023-07-10 15:43:31.607323+02:00)
+INFO:root:2023-07-10 15:43:31.622058 : lundi, 10. juillet 2023 03:43:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:44:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:45:31.607323+02:00 (in 59.996534 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:45:31 CEST)" (scheduled at 2023-07-10 15:44:31.607323+02:00)
+INFO:root:2023-07-10 15:44:31.612647 : lundi, 10. juillet 2023 03:44:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:45:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\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-10 15:45:09.862786 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:45:09.862786 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:45:09.862786 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:45:09.862786 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:45:09.862786 : ++ 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-10 15:46:09.938945+02:00 (in 59.997277 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:46:09 CEST)" (scheduled at 2023-07-10 15:46:09.938945+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:47:09.938945+02:00 (in 59.984517 seconds)
+INFO:root:2023-07-10 15:46:09.959862 : lundi, 10. juillet 2023 03:46:09 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:47:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:48:09.938945+02:00 (in 59.992696 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:48:09 CEST)" (scheduled at 2023-07-10 15:47:09.938945+02:00)
+INFO:root:2023-07-10 15:47:09.950273 : lundi, 10. juillet 2023 03:47:09 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:48:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:49:09.938945+02:00 (in 59.992466 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:49:09 CEST)" (scheduled at 2023-07-10 15:48:09.938945+02:00)
+INFO:root:2023-07-10 15:48:09.949571 : lundi, 10. juillet 2023 03:48:09 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:49:09 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 15:48:31.824371 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:48:31.824371 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:48:31.824371 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:48:31.824371 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:48:31.824371 : ++ 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-10 15:49:31.895521+02:00 (in 59.998000 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 15:48:59.699737 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:48:59.700826 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:48:59.700826 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:48:59.700826 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:48:59.700826 : ++ 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-10 15:49:59.779987+02:00 (in 59.998999 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:49:59 CEST)" (scheduled at 2023-07-10 15:49:59.779987+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:50:59.779987+02:00 (in 59.984549 seconds)
+INFO:root:2023-07-10 15:49:59.800638 : lundi, 10. juillet 2023 03: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:01:00], next run at: 2023-07-10 15:50: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 15:50:29.561512 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:50:29.562512 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:50:29.562512 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:50:29.562512 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:50:29.562512 : ++ 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-10 15:51:29.641981+02:00 (in 59.995955 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:51:29 CEST)" (scheduled at 2023-07-10 15:51:29.641981+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:52:29.641981+02:00 (in 59.990341 seconds)
+INFO:root:2023-07-10 15:51:29.656937 : lundi, 10. juillet 2023 03:51:29 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:52:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:53:29.641981+02:00 (in 59.984144 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:53:29 CEST)" (scheduled at 2023-07-10 15:52:29.641981+02:00)
+INFO:root:2023-07-10 15:52:29.660022 : lundi, 10. juillet 2023 03:52:29 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:53:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 15:54:29.641981+02:00 (in 59.994832 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:54:29 CEST)" (scheduled at 2023-07-10 15:53:29.641981+02:00)
+INFO:root:2023-07-10 15:53:29.651093 : lundi, 10. juillet 2023 03:53:29 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:54:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 15:54:21.947546 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:54:21.948723 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:54:21.948723 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:54:21.948723 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:54:21.948723 : ++ 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-10 15:55:22.026902+02:00 (in 59.996397 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 15:54:48.798155 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:54:48.799631 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:54:48.799631 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:54:48.799631 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:54:48.799631 : ++ 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-10 15:55:48.872375+02:00 (in 59.997999 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 15:55:22.349818 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:55:22.349818 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:55:22.349818 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:55:22.349818 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:55:22.349818 : ++ 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-10 15:56:22.416390+02:00 (in 59.995104 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 15:56:04.414974 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 15:56:04.415522 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 15:56:04.415522 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 15:56:04.415522 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 15:56:04.415522 : ++ 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-10 15:57:04.492694+02:00 (in 59.997453 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:57:04 CEST)" (scheduled at 2023-07-10 15:57:04.492694+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:58:04.492694+02:00 (in 59.988933 seconds)
+INFO:root:2023-07-10 15:57:04.509777 : lundi, 10. juillet 2023 03:57:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:58:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 15:57:11.706112 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:11.708954 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:11.711006 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:11] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:11] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:12] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.225083 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.227764 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.926955 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.930457 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.935918 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.940006 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.947760 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.951021 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.957973 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.966369 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.971364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.975615 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.977847 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.986539 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:13] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:13.993874 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:13.998432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:14.006378 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:14.013432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:14.019659 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:14.023962 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:14.030407 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:14.036114 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:14] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:20.577236 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:20] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:20.891730 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:20.896059 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:20.902025 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:20.908053 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:20.917245 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:21.355090 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:21] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:24.275629 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:24.280439 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:24.287457 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OE477Rl8b6dQgx/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OE477Rl8b6dQgx/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NRcFBAbmaEugrFTtY1X8aoX",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "MySy DEV",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1688826977,\n "customer": "cus_OE477Rl8b6dQgx",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OE477Rl8b6dQgx/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_YbD6j3iCYbWlzi message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:24] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:25.967267 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:25.972265 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:25] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:26] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:40.103834 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n
\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Dev Compte \n\t\t\t\t\t2 place du dev \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrance \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_237000307\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 10/07/2023 \n\t\t\t\t\t\tDate échéance : 10/07/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00qma-\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tstandard \n\t\t\t\t\t\t\t8 \n\t\t\t\t\t\t\t50 \n\t\t\t\t\t\t\t400.0 \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\tMontant HT: \n\t\t\t\t\t\t400.0 \n\t\t\t\t\t \n\t\t\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\tTVA 20% : \n\t\t\t\t\t80.0 \n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\tMontant TTC : \n\t\t\t\t\t480.0 \n\t\t\t\t \n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t \n\t\n\t\t\n\n\t\t\t
MySy Training \n\n\t\t\t\tCour du Havre 1, 75008, Paris \n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t
\n\t\t
\n\t \n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_237000307.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.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='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 0 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 1 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 2 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 3 has width 0.0
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:paramiko.transport:starting thread (client mode): 0x6025a170
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000307.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000307.pdf', 'wb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000307.pdf')
+INFO:root:2023-07-10 15:57:49.003598 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_237000307.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000307.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-07-10 15:57:49.005126 : Impression facture N° FACT_237000307 OK
+INFO:root:2023-07-10 15:57:49.044909 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-07-10 15:57:49.018438'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:49] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 15:57:49.257605 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 15:57:49.262099 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1688827031,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1688827031,\n "currency": "eur",\n "current_period_end": 1691505431,\n "current_period_start": 1688827031,\n "customer": "cus_OE477Rl8b6dQgx",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OE4OEJGI0IUo7v",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1688827032,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NRcG3AbmaEugrFTfsCksa0L"\n },\n "latest_invoice": "in_1NRcG3AbmaEugrFTO9gtfVEN",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 7,\n "schedule": null,\n "start_date": 1688827031,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VQ1S3m6zW7hICv message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_OE4OEJGI0IUo7v&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=8
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:49] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1688827031,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1688827031,\n "currency": "eur",\n "current_period_end": 1691505431,\n "current_period_start": 1688827031,\n "customer": "cus_OE477Rl8b6dQgx",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OE4OEJGI0IUo7v",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1688827032,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NRcG3AbmaEugrFTfsCksa0L"\n },\n "latest_invoice": "in_1NRcG3AbmaEugrFTO9gtfVEN",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 8,\n "schedule": null,\n "start_date": 1688827031,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7TPznGHonM18SH message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 15:57:50] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 15:59:04.492694+02:00 (in 59.986362 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:59:04 CEST)" (scheduled at 2023-07-10 15:58:04.492694+02:00)
+INFO:root:2023-07-10 15:58:04.509547 : lundi, 10. juillet 2023 03:58:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 15:59:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:00:04.492694+02:00 (in 59.983685 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:00:04 CEST)" (scheduled at 2023-07-10 15:59:04.492694+02:00)
+INFO:root:2023-07-10 15:59:04.510828 : lundi, 10. juillet 2023 03:59:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:00:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:01:04.492694+02:00 (in 59.986616 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:01:04 CEST)" (scheduled at 2023-07-10 16:00:04.492694+02:00)
+INFO:root:2023-07-10 16:00:04.508114 : lundi, 10. juillet 2023 04:00:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:01:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:02:04.492694+02:00 (in 59.994455 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:02:04 CEST)" (scheduled at 2023-07-10 16:01:04.492694+02:00)
+INFO:root:2023-07-10 16:01:04.501463 : lundi, 10. juillet 2023 04:01:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:02:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:03:04.492694+02:00 (in 59.983266 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:03:04 CEST)" (scheduled at 2023-07-10 16:02:04.492694+02:00)
+INFO:root:2023-07-10 16:02:04.511867 : lundi, 10. juillet 2023 04:02:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:03:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:04:04.492694+02:00 (in 59.988261 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:04:04 CEST)" (scheduled at 2023-07-10 16:03:04.492694+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OE477Rl8b6dQgx
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 78374,\n "amount_paid": 0,\n "amount_remaining": 78374,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "upcoming",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1691505431,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OE477Rl8b6dQgx",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NSKb4AbmaEugrFTDgFd1C6z",\n "object": "line_item",\n "amount": -32773,\n "amount_excluding_tax": -32773,\n "currency": "eur",\n "description": "Unused time on 7 × DEV_SPACK_STANDARD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSKb4AbmaEugrFTDgFd1C6z",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688997470\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSKg9AbmaEugrFTh81tjZRR",\n "invoice_line_items": [\n "il_tmp_1NS2IpAbmaEugrFTdgomcDqA"\n ]\n }\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-4682"\n },\n {\n "id": "il_tmp_1NSKb4AbmaEugrFTtQDa0uPw",\n "object": "line_item",\n "amount": 37455,\n "amount_excluding_tax": 37455,\n "currency": "eur",\n "description": "Remaining time on 8 × DEV_SPACK_STANDARD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSKb4AbmaEugrFTtQDa0uPw",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688997470\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4682"\n },\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 40000,\n "amount_excluding_tax": 40000,\n "currency": "eur",\n "description": "8 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "total_count": 4,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": 1691509031,\n "number": null,\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": null,\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1691505431,\n "period_start": 1688827031,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "draft",\n "status_transitions": {\n "finalized_at": null,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subtotal": 78374,\n "subtotal_excluding_tax": 78374,\n "tax": null,\n "test_clock": null,\n "total": 78374,\n "total_discount_amounts": [],\n "total_excluding_tax": 78374,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_a9VihSaBqQOsTg message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NSKb4AbmaEugrFTDgFd1C6z",\n "object": "line_item",\n "amount": -32773,\n "amount_excluding_tax": -32773,\n "currency": "eur",\n "description": "Unused time on 7 × DEV_SPACK_STANDARD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSKb4AbmaEugrFTDgFd1C6z",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688997470\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSKg9AbmaEugrFTSkUvD4b4",\n "invoice_line_items": [\n "il_tmp_1NS2IpAbmaEugrFTdgomcDqA"\n ]\n }\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-4682"\n },\n {\n "id": "il_tmp_1NSKb4AbmaEugrFTtQDa0uPw",\n "object": "line_item",\n "amount": 37455,\n "amount_excluding_tax": 37455,\n "currency": "eur",\n "description": "Remaining time on 8 × DEV_SPACK_STANDARD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSKb4AbmaEugrFTtQDa0uPw",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688997470\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4682"\n },\n {\n "id": "il_tmp_1NS2IpAbmaEugrFTdgomcDqA",\n "object": "line_item",\n "amount": 33692,\n "amount_excluding_tax": 33692,\n "currency": "eur",\n "description": "Remaining time on 7 × DEV_SPACK_STANDARD after 09 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NS2IpAbmaEugrFTdgomcDqA",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691505431,\n "start": 1688927147\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 7,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "4813"\n },\n {\n "id": "il_tmp_147834AbmaEugrFT35657bec",\n "object": "line_item",\n "amount": 40000,\n "amount_excluding_tax": 40000,\n "currency": "eur",\n "description": "8 × DEV_SPACK_STANDARD (at €50.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694183831,\n "start": 1691505431\n },\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "subscription_item": "si_OE4OEJGI0IUo7v",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "5000"\n }\n ],\n "has_more": false,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OE477Rl8b6dQgx"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_9AN58HXUaxsIDO message='Dashboard link for request'
+INFO:root:2023-07-10 16:03:05.954759 : lundi, 10. juillet 2023 04:03:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 1 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:04:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:05:04.492694+02:00 (in 59.992810 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:05:04 CEST)" (scheduled at 2023-07-10 16:04:04.492694+02:00)
+INFO:root:2023-07-10 16:04:04.502282 : lundi, 10. juillet 2023 04:04:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:05:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:06:04.492694+02:00 (in 59.989805 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:06:04 CEST)" (scheduled at 2023-07-10 16:05:04.492694+02:00)
+INFO:root:2023-07-10 16:05:04.505787 : lundi, 10. juillet 2023 04:05:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:06:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:07:04.492694+02:00 (in 59.991258 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:07:04 CEST)" (scheduled at 2023-07-10 16:06:04.492694+02:00)
+INFO:root:2023-07-10 16:06:04.503720 : lundi, 10. juillet 2023 04:06:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:07:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:08:04.492694+02:00 (in 59.993669 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:08:04 CEST)" (scheduled at 2023-07-10 16:07:04.492694+02:00)
+INFO:root:2023-07-10 16:07:04.501799 : lundi, 10. juillet 2023 04:07:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:08:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:09:04.492694+02:00 (in 59.992585 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:09:04 CEST)" (scheduled at 2023-07-10 16:08:04.492694+02:00)
+INFO:root:2023-07-10 16:08:04.502128 : lundi, 10. juillet 2023 04:08:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:09:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:10:04.492694+02:00 (in 59.993428 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:10:04 CEST)" (scheduled at 2023-07-10 16:09:04.492694+02:00)
+INFO:root:2023-07-10 16:09:04.501339 : lundi, 10. juillet 2023 04:09:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:10:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:11:04.492694+02:00 (in 59.986736 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:11:04 CEST)" (scheduled at 2023-07-10 16:10:04.492694+02:00)
+INFO:root:2023-07-10 16:10:04.507940 : lundi, 10. juillet 2023 04:10:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:11:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:12:04.492694+02:00 (in 59.984755 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:12:04 CEST)" (scheduled at 2023-07-10 16:11:04.492694+02:00)
+INFO:root:2023-07-10 16:11:04.510071 : lundi, 10. juillet 2023 04:11:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:12:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:13:04.492694+02:00 (in 59.994912 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:13:04 CEST)" (scheduled at 2023-07-10 16:12:04.492694+02:00)
+INFO:root:2023-07-10 16:12:04.500619 : lundi, 10. juillet 2023 04:12:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:13:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:14:04.492694+02:00 (in 59.988312 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:14:04 CEST)" (scheduled at 2023-07-10 16:13:04.492694+02:00)
+INFO:root:2023-07-10 16:13:04.506983 : lundi, 10. juillet 2023 04:13:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:14:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:15:04.492694+02:00 (in 59.995857 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:15:04 CEST)" (scheduled at 2023-07-10 16:14:04.492694+02:00)
+INFO:root:2023-07-10 16:14:04.499219 : lundi, 10. juillet 2023 04:14:04 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:15:04 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 16:35:25.236331 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 16:35:25.236331 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 16:35:25.236331 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 16:35:25.236331 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 16:35:25.236331 : ++ 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-10 16:36:25.309434+02:00 (in 59.995782 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-10 16:35:35.774710 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 16:35:35.774710 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 16:35:35.774710 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 16:35:35.776244 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 16:35:35.776244 : ++ 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-10 16:36:35.840645+02:00 (in 59.998012 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:36:25 CEST)" (scheduled at 2023-07-10 16:36:25.309434+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 16:37:25.309434+02:00 (in 59.988141 seconds)
+INFO:root:2023-07-10 16:36:25.328577 : lundi, 10. juillet 2023 04:36: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:01:00], next run at: 2023-07-10 16:37: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:01:00], next run at: 2023-07-10 16:36:35 CEST)" (scheduled at 2023-07-10 16:36:35.840645+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 16:37:35.840645+02:00 (in 59.989861 seconds)
+INFO:root:2023-07-10 16:36:35.857946 : lundi, 10. juillet 2023 04: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:01:00], next run at: 2023-07-10 16:37: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:38:25.309434+02:00 (in 59.981866 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:38:25 CEST)" (scheduled at 2023-07-10 16:37:25.309434+02:00)
+INFO:root:2023-07-10 16:37:25.330332 : lundi, 10. juillet 2023 04:37: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:01:00], next run at: 2023-07-10 16:38: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:38:35.840645+02:00 (in 59.983996 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:38:35 CEST)" (scheduled at 2023-07-10 16:37:35.840645+02:00)
+INFO:root:2023-07-10 16:37:35.859449 : lundi, 10. juillet 2023 04:37: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:01:00], next run at: 2023-07-10 16:38: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:39:25.309434+02:00 (in 59.984398 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:39:25 CEST)" (scheduled at 2023-07-10 16:38:25.309434+02:00)
+INFO:root:2023-07-10 16:38:25.328019 : lundi, 10. juillet 2023 04:38: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:01:00], next run at: 2023-07-10 16:39: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 16:39:35.840645+02:00 (in 59.991558 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 16:39:35 CEST)" (scheduled at 2023-07-10 16:38:35.840645+02:00)
+INFO:root:2023-07-10 16:38:35.851577 : lundi, 10. juillet 2023 04:38: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:01:00], next run at: 2023-07-10 16:39: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 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:51:05.501618 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 17:51:05.502618 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 17:51:05.502618 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 17:51:05.502618 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 17:51:05.502618 : ++ 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-10 17:52:05.604718+02:00 (in 59.995965 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-10 17:51:19.462599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 17:51:19.463599 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 17:51:19.463599 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 17:51:19.463599 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 17:51:19.463599 : ++ 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-10 17:52:19.530884+02:00 (in 59.996951 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 17:51:19.585455 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:19.587467 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:19.588466 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:19.591110 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:19.593128 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:19] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:19] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:19] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:19] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:21.544890 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.547074 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.549093 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.551095 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.553527 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.556522 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:21.882361 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:21.895740 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.898139 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.899123 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.900673 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:21.901719 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:21] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.208790 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.222148 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:51:22.228688 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.232167 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.242310 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.253883 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.525052 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:51:22.555275 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:51:22] "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:01:00], next run at: 2023-07-10 17:52:05 CEST)" (scheduled at 2023-07-10 17:52:05.604718+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 17:53:05.604718+02:00 (in 59.994940 seconds)
+INFO:root:2023-07-10 17:52:05.627789 : lundi, 10. juillet 2023 05:52:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:53:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:01:00], next run at: 2023-07-10 17:52:19 CEST)" (scheduled at 2023-07-10 17:52:19.530884+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 17:53:19.530884+02:00 (in 59.998279 seconds)
+INFO:root:2023-07-10 17:52:19.536484 : lundi, 10. juillet 2023 05:52:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:53:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 17:54:05.604718+02:00 (in 59.992573 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:54:05 CEST)" (scheduled at 2023-07-10 17:53:05.604718+02:00)
+INFO:root:2023-07-10 17:53:05.614440 : lundi, 10. juillet 2023 05:53:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:54:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 17:54:19.530884+02:00 (in 59.991214 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:54:19 CEST)" (scheduled at 2023-07-10 17:53:19.530884+02:00)
+INFO:root:2023-07-10 17:53:19.542738 : lundi, 10. juillet 2023 05:53:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:54:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:53:38.506859 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:38.509588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:38.511610 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:38] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:38] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:38] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:39.643944 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:39.645331 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:39] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.109033 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.112694 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.118297 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.122539 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.130070 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.135652 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.141162 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.146568 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.153164 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.156633 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.165718 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.169433 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.175447 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.184021 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.187973 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.192470 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.197250 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:40.203359 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.204612 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:40.211130 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:40] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:46.488053 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:46] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:46.792202 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:46.797182 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:46.801815 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:46] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:46.810487 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:46.814735 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:46] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:46] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:46] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:47.366492 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:47] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:50.405494 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:50] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:53:52.635949 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:52.637943 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:53:52.644946 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:52] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:52] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:53:52] "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-10 17:55:05.604718+02:00 (in 59.986088 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:55:05 CEST)" (scheduled at 2023-07-10 17:54:05.604718+02:00)
+INFO:root:2023-07-10 17:54:05.620644 : lundi, 10. juillet 2023 05:54:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:55:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:54:06.031749 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:06] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:08.254531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:08.258992 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:08.262992 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:08] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:08] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:16.165413 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:16] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:18.469437 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:18.476897 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:18.478195 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:18] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:18] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:18] "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-10 17:55:19.530884+02:00 (in 59.990112 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:55:19 CEST)" (scheduled at 2023-07-10 17:54:19.530884+02:00)
+INFO:root:2023-07-10 17:54:19.542960 : lundi, 10. juillet 2023 05:54:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:55:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:54:22.846443 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:22.852442 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:54:22.855443 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:22] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:22.872157 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:22] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:22.879459 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:22] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:22] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:54:24.526792 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:54:24] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:55:04.577814 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:04] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 17:56:05.604718+02:00 (in 59.986164 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:56:05 CEST)" (scheduled at 2023-07-10 17:55:05.604718+02:00)
+INFO:root:2023-07-10 17:55:05.621557 : lundi, 10. juillet 2023 05:55:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:56:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:55:06.737179 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:06.742228 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:06.745233 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:06] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:06] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:06] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:55:12.427038 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:12.432700 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:12.434900 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:12.443757 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:12.446776 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:12] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:12] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:12] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:12] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:12] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:55:13.895282 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:13] "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-10 17:56:19.530884+02:00 (in 59.993771 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:56:19 CEST)" (scheduled at 2023-07-10 17:55:19.530884+02:00)
+INFO:root:2023-07-10 17:55:19.539110 : lundi, 10. juillet 2023 05:55:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:56:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:55:33.706934 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:55:33.730565 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:55:33] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 17:57:05.604718+02:00 (in 59.987945 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:57:05 CEST)" (scheduled at 2023-07-10 17:56:05.604718+02:00)
+INFO:root:2023-07-10 17:56:05.619797 : lundi, 10. juillet 2023 05:56:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:57:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 17:57:19.530884+02:00 (in 59.992445 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:57:19 CEST)" (scheduled at 2023-07-10 17:56:19.530884+02:00)
+INFO:root:2023-07-10 17:56:19.540465 : lundi, 10. juillet 2023 05:56:19 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:57:19 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 17:57:04.525403 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 17:57:04.525403 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 17:57:04.525403 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 17:57:04.525403 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 17:57:04.525403 : ++ 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-10 18:07:04.602212+02:00 (in 599.997940 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 17:58:05.604718+02:00 (in 59.986875 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:58:05 CEST)" (scheduled at 2023-07-10 17:57:05.604718+02:00)
+INFO:root:2023-07-10 17:57:05.620272 : lundi, 10. juillet 2023 05:57:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:58:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:57:14.390407 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:57:14.416721 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:57:14] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:58:03.342097 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:03.346819 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:03.351836 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:03] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:03] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:03] "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-10 17:59:05.604718+02:00 (in 59.985542 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:59:05 CEST)" (scheduled at 2023-07-10 17:58:05.604718+02:00)
+INFO:root:2023-07-10 17:58:05.624170 : lundi, 10. juillet 2023 05:58:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 17:59:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 17:58:06.811996 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:06.813984 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:06.818512 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:06.825814 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 17:58:06.832683 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:06] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:06] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:06] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:06] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:06] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 17:58:08.370042 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 17:58:08] "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-10 18:00:05.604718+02:00 (in 59.983087 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:00:05 CEST)" (scheduled at 2023-07-10 17:59:05.604718+02:00)
+INFO:root:2023-07-10 17:59:05.624632 : lundi, 10. juillet 2023 05:59:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:00:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:01:05.604718+02:00 (in 59.991144 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:01:05 CEST)" (scheduled at 2023-07-10 18:00:05.604718+02:00)
+INFO:root:2023-07-10 18:00:05.614892 : lundi, 10. juillet 2023 06:00:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:01:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:00:27.739055 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:00:27.764048 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:00:27] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:02:05.604718+02:00 (in 59.997080 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:02:05 CEST)" (scheduled at 2023-07-10 18:01:05.604718+02:00)
+INFO:root:2023-07-10 18:01:05.611077 : lundi, 10. juillet 2023 06:01:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:02:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:03:05.604718+02:00 (in 59.997154 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:03:05 CEST)" (scheduled at 2023-07-10 18:02:05.604718+02:00)
+INFO:root:2023-07-10 18:02:05.610566 : lundi, 10. juillet 2023 06:02:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:03:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:04:05.604718+02:00 (in 59.989961 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:04:05 CEST)" (scheduled at 2023-07-10 18:03:05.604718+02:00)
+INFO:root:2023-07-10 18:03:05.616939 : lundi, 10. juillet 2023 06:03:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:04:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\Inscription_mgt.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 18:03:37.172758 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 18:03:37.172758 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 18:03:37.172758 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 18:03:37.172758 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 18:03:37.172758 : ++ 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-10 18:13:37.244967+02:00 (in 599.997952 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 18:03:48.453956 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:03:50.639437 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:03:50] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:04:00.194661 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:00.198924 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:00.206286 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:00] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:00] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:00] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:04:04.429318 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:04.434529 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:04.439177 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:04.446148 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:04:04.453214 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:04] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:04] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:04] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:04] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:05:05.604718+02:00 (in 59.996971 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:05:05 CEST)" (scheduled at 2023-07-10 18:04:05.604718+02:00)
+INFO:root:2023-07-10 18:04:05.609835 : lundi, 10. juillet 2023 06:04:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:05:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:04:05.959807 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:05] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:04:16.457277 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:04:16.482602 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:04:16] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\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-10 18:04:52.316291 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 18:04:52.316291 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 18:04:52.316291 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 18:04:52.317298 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 18:04:52.317298 : ++ 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-10 18:14:52.380582+02:00 (in 599.997423 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:06:05.604718+02:00 (in 59.988060 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:06:05 CEST)" (scheduled at 2023-07-10 18:05:05.604718+02:00)
+INFO:root:2023-07-10 18:05:05.619958 : lundi, 10. juillet 2023 06:05:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:06:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:05:53.500364 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:05:53.513182 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:05:53.517188 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:05:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:05:53] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:05:53] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:07:05.604718+02:00 (in 59.990121 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:07:05 CEST)" (scheduled at 2023-07-10 18:06:05.604718+02:00)
+INFO:root:2023-07-10 18:06:05.617810 : lundi, 10. juillet 2023 06:06:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:07:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:06:13.729542 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:06:13.752989 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:06:13] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\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-10 18:06:39.606386 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 18:06:39.606386 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 18:06:39.606386 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 18:06:39.606386 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 18:06:39.606386 : ++ 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-10 18:16:39.692660+02:00 (in 599.996840 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:08:05.604718+02:00 (in 59.991066 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:08:05 CEST)" (scheduled at 2023-07-10 18:07:05.604718+02:00)
+INFO:root:2023-07-10 18:07:05.617035 : lundi, 10. juillet 2023 06:07:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:08:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:07:23.499988 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:23.506453 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:23.509455 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:23] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:23] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:29.273549 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:29.287574 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:29] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:29.295588 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:29.300632 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:29.308078 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:29] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:29] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:29] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:29] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:31.041988 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:31] "POST /myclass/api/GetSpecificPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:41.670407 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:41.688036 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:41] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:42.180200 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:42] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:07:42.547162 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:42.552163 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:07:42.557176 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:42] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:42] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:07:42] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:09:05.604718+02:00 (in 59.986118 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:09:05 CEST)" (scheduled at 2023-07-10 18:08:05.604718+02:00)
+INFO:root:2023-07-10 18:08:05.621836 : lundi, 10. juillet 2023 06:08:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:09:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:10:05.604718+02:00 (in 59.989839 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:10:05 CEST)" (scheduled at 2023-07-10 18:09:05.604718+02:00)
+INFO:root:2023-07-10 18:09:05.618884 : lundi, 10. juillet 2023 06:09:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:10:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:09:34.380316 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:34.382324 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:34.390069 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:34] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:34] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:46.587643 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:46.607134 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:46] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:46.873596 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:47.202681 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:47.208730 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:47.215746 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:47] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:47] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:47] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:57.643309 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:57.663753 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:57] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:57.980668 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:57] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:58.208489 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:58] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:09:58.232439 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:09:58.238617 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:58] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:09:58] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:11:05.604718+02:00 (in 59.984585 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:11:05 CEST)" (scheduled at 2023-07-10 18:10:05.604718+02:00)
+INFO:root:2023-07-10 18:10:05.624165 : lundi, 10. juillet 2023 06:10:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:11:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:10:31.519284 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:31] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:10:39.872428 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:10:39.876427 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:10:39.881427 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:39] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:39] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:39] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:10:46.961601 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:10:46.969116 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:10:46.970117 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:10:46.975989 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:10:46.984975 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:46] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:46] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:46] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:46] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:10:48.629592 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:10:48] "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-10 18:12:05.604718+02:00 (in 59.990746 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:12:05 CEST)" (scheduled at 2023-07-10 18:11:05.604718+02:00)
+INFO:root:2023-07-10 18:11:05.617496 : lundi, 10. juillet 2023 06:11:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:12:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:11:10.249410 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:10.267037 : Les données du stagiaire ont été correctement mise à jour
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:10] "POST /myclass/api/UpdateStagiairetoClass/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:10.618287 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:10] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:10.957300 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:10.964260 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:10.969663 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:10] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:10] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:10] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:21.703852 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:21] "POST /myclass/api/check_partner_token_validity_v2/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:23.901651 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:23.906677 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:23.911005 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:23] "POST /myclass/api/GetAllValideSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:23] "POST /myclass/api/GetPartnerAttestation_Certificat/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:23] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:36.755633 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:36.760877 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:36.763041 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:11:36.769322 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:36] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:36.778814 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:36] "POST /myclass/api/GetTableauEmargement/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:36] "POST /myclass/api/GetAllClassStagiaire/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:36] "POST /myclass/api/GetListEvaluation_Session/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:36] "POST /myclass/api/GetSessionFormation/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:11:38.478657 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:11:38] "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-10 18:13:05.604718+02:00 (in 59.994392 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:13:05 CEST)" (scheduled at 2023-07-10 18:12:05.604718+02:00)
+INFO:root:2023-07-10 18:12:05.614588 : lundi, 10. juillet 2023 06:12:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:13:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:14:05.604718+02:00 (in 59.996559 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:14:05 CEST)" (scheduled at 2023-07-10 18:13:05.604718+02:00)
+INFO:root:2023-07-10 18:13:05.611902 : lundi, 10. juillet 2023 06:13:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:14:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:15:05.604718+02:00 (in 59.997870 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:15:05 CEST)" (scheduled at 2023-07-10 18:14:05.604718+02:00)
+INFO:root:2023-07-10 18:14:05.609879 : lundi, 10. juillet 2023 06:14:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:15:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:16:05.604718+02:00 (in 59.997951 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:16:05 CEST)" (scheduled at 2023-07-10 18:15:05.604718+02:00)
+INFO:root:2023-07-10 18:15:05.615809 : lundi, 10. juillet 2023 06:15:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:16:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:17:05.604718+02:00 (in 59.984580 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:17:05 CEST)" (scheduled at 2023-07-10 18:16:05.604718+02:00)
+INFO:root:2023-07-10 18:16:05.622874 : lundi, 10. juillet 2023 06:16:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:17:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:10:00], next run at: 2023-07-10 18:16:39 CEST)" (scheduled at 2023-07-10 18:16:39.692660+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:26:39.692660+02:00 (in 599.985865 seconds)
+INFO:root:2023-07-10 18:16:39.710442 : lundi, 10. juillet 2023 06:16:39 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:26:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:18:05.604718+02:00 (in 59.996433 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:18:05 CEST)" (scheduled at 2023-07-10 18:17:05.604718+02:00)
+INFO:root:2023-07-10 18:17:05.611261 : lundi, 10. juillet 2023 06:17:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:18:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:19:05.604718+02:00 (in 59.997506 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:19:05 CEST)" (scheduled at 2023-07-10 18:18:05.604718+02:00)
+INFO:root:2023-07-10 18:18:05.610188 : lundi, 10. juillet 2023 06:18:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:19:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:20:05.604718+02:00 (in 59.986645 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:20:05 CEST)" (scheduled at 2023-07-10 18:19:05.604718+02:00)
+INFO:root:2023-07-10 18:19:05.621367 : lundi, 10. juillet 2023 06:19:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:20:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:21:05.604718+02:00 (in 59.996025 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:21:05 CEST)" (scheduled at 2023-07-10 18:20:05.604718+02:00)
+INFO:root:2023-07-10 18:20:05.611702 : lundi, 10. juillet 2023 06:20:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:21:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:22:05.604718+02:00 (in 59.987635 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:22:05 CEST)" (scheduled at 2023-07-10 18:21:05.604718+02:00)
+INFO:root:2023-07-10 18:21:05.620928 : lundi, 10. juillet 2023 06:21:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:22:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:23:05.604718+02:00 (in 59.997398 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:23:05 CEST)" (scheduled at 2023-07-10 18:22:05.604718+02:00)
+INFO:root:2023-07-10 18:22:05.611136 : lundi, 10. juillet 2023 06:22:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:23:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:24:05.604718+02:00 (in 59.993018 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:24:05 CEST)" (scheduled at 2023-07-10 18:23:05.604718+02:00)
+INFO:root:2023-07-10 18:23:05.616961 : lundi, 10. juillet 2023 06:23:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:24:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:25:05.604718+02:00 (in 59.985919 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:25:05 CEST)" (scheduled at 2023-07-10 18:24:05.604718+02:00)
+INFO:root:2023-07-10 18:24:05.621987 : lundi, 10. juillet 2023 06:24:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:25:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:26:05.604718+02:00 (in 59.992267 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:26:05 CEST)" (scheduled at 2023-07-10 18:25:05.604718+02:00)
+INFO:root:2023-07-10 18:25:05.615452 : lundi, 10. juillet 2023 06:25:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:26:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:27:05.604718+02:00 (in 59.996510 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:27:05 CEST)" (scheduled at 2023-07-10 18:26:05.604718+02:00)
+INFO:root:2023-07-10 18:26:05.611279 : lundi, 10. juillet 2023 06:26:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:27:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:36:39.692660+02:00 (in 599.988526 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:36:39 CEST)" (scheduled at 2023-07-10 18:26:39.692660+02:00)
+INFO:root:2023-07-10 18:26:39.707118 : lundi, 10. juillet 2023 06:26:39 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:36:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:28:05.604718+02:00 (in 59.983372 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:28:05 CEST)" (scheduled at 2023-07-10 18:27:05.604718+02:00)
+INFO:root:2023-07-10 18:27:05.624350 : lundi, 10. juillet 2023 06:27:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:28:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:29:05.604718+02:00 (in 59.996340 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:29:05 CEST)" (scheduled at 2023-07-10 18:28:05.604718+02:00)
+INFO:root:2023-07-10 18:28:05.612668 : lundi, 10. juillet 2023 06:28:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:29:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:30:05.604718+02:00 (in 59.984453 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:30:05 CEST)" (scheduled at 2023-07-10 18:29:05.604718+02:00)
+INFO:root:2023-07-10 18:29:05.623282 : lundi, 10. juillet 2023 06:29:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:30:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:31:05.604718+02:00 (in 59.994711 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:31:05 CEST)" (scheduled at 2023-07-10 18:30:05.604718+02:00)
+INFO:root:2023-07-10 18:30:05.613731 : lundi, 10. juillet 2023 06:30:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:31:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:32:05.604718+02:00 (in 59.991513 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:32:05 CEST)" (scheduled at 2023-07-10 18:31:05.604718+02:00)
+INFO:root:2023-07-10 18:31:05.623280 : lundi, 10. juillet 2023 06:31:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:32:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:33:05.604718+02:00 (in 59.988324 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:33:05 CEST)" (scheduled at 2023-07-10 18:32:05.604718+02:00)
+INFO:root:2023-07-10 18:32:05.619132 : lundi, 10. juillet 2023 06:32:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:33:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:34:05.604718+02:00 (in 59.993586 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:34:05 CEST)" (scheduled at 2023-07-10 18:33:05.604718+02:00)
+INFO:root:2023-07-10 18:33:05.614631 : lundi, 10. juillet 2023 06:33:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:34:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:35:05.604718+02:00 (in 59.990774 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:35:05 CEST)" (scheduled at 2023-07-10 18:34:05.604718+02:00)
+INFO:root:2023-07-10 18:34:05.616558 : lundi, 10. juillet 2023 06:34:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:35:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:36:05.604718+02:00 (in 59.985952 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:36:05 CEST)" (scheduled at 2023-07-10 18:35:05.604718+02:00)
+INFO:root:2023-07-10 18:35:05.621773 : lundi, 10. juillet 2023 06:35:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:36:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:37:05.604718+02:00 (in 59.995429 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:37:05 CEST)" (scheduled at 2023-07-10 18:36:05.604718+02:00)
+INFO:root:2023-07-10 18:36:05.612564 : lundi, 10. juillet 2023 06:36:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:37:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:46:39.692660+02:00 (in 599.988530 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:46:39 CEST)" (scheduled at 2023-07-10 18:36:39.692660+02:00)
+INFO:root:2023-07-10 18:36:39.708318 : lundi, 10. juillet 2023 06:36:39 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:46:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:38:05.604718+02:00 (in 59.997238 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:38:05 CEST)" (scheduled at 2023-07-10 18:37:05.604718+02:00)
+INFO:root:2023-07-10 18:37:05.610257 : lundi, 10. juillet 2023 06:37:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:38:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:39:05.604718+02:00 (in 59.996257 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:39:05 CEST)" (scheduled at 2023-07-10 18:38:05.604718+02:00)
+INFO:root:2023-07-10 18:38:05.611429 : lundi, 10. juillet 2023 06:38:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:39:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:40:05.604718+02:00 (in 59.994215 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:40:05 CEST)" (scheduled at 2023-07-10 18:39:05.604718+02:00)
+INFO:root:2023-07-10 18:39:05.613931 : lundi, 10. juillet 2023 06:39:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:40:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:41:05.604718+02:00 (in 59.995041 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:41:05 CEST)" (scheduled at 2023-07-10 18:40:05.604718+02:00)
+INFO:root:2023-07-10 18:40:05.612563 : lundi, 10. juillet 2023 06:40:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:41:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:42:05.604718+02:00 (in 59.991184 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:42:05 CEST)" (scheduled at 2023-07-10 18:41:05.604718+02:00)
+INFO:root:2023-07-10 18:41:05.616588 : lundi, 10. juillet 2023 06:41:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:42:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:43:05.604718+02:00 (in 59.988958 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:43:05 CEST)" (scheduled at 2023-07-10 18:42:05.604718+02:00)
+INFO:root:2023-07-10 18:42:05.617288 : lundi, 10. juillet 2023 06:42:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:43:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:44:05.604718+02:00 (in 59.985887 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:44:05 CEST)" (scheduled at 2023-07-10 18:43:05.604718+02:00)
+INFO:root:2023-07-10 18:43:05.628159 : lundi, 10. juillet 2023 06:43:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:44:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:45:05.604718+02:00 (in 59.998483 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:45:05 CEST)" (scheduled at 2023-07-10 18:44:05.604718+02:00)
+INFO:root:2023-07-10 18:44:05.608848 : lundi, 10. juillet 2023 06:44:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:45:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:44:41.368282 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:41.372466 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:41.376947 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:41] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:44:41.382713 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:41.393856 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:41] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:41] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:44:43.022902 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:44:48.888321 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:48.904062 : Connexion du partner recid = 8a77c1642a21a9a417a8583f4ef7f2f9c174a99996abb4c63a OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:44:58.709859 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:58.715862 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:44:58.718853 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:58] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:58] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:44:58] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:05.229444 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:05] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:05.507913 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:05.513942 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:05.520407 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:05.529263 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:05.539374 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:05] "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-10 18:46:05.604718+02:00 (in 59.987174 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:46:05 CEST)" (scheduled at 2023-07-10 18:45:05.604718+02:00)
+INFO:root:2023-07-10 18:45:05.621909 : lundi, 10. juillet 2023 06:45:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:46:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:45:06.001571 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:06] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:07.414598 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:07] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:10.115408 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:10.122944 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:10.132079 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:10.138937 : get_parnter_stripe_account_id_from_recid -'stripe_account_id' - ERRORRRR AT Line : 319
+INFO:root:2023-07-10 18:45:10.142933 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:10] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+INFO:root:2023-07-10 18:45:19.163487 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:19.168717 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:19] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:19.174712 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:19.182719 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:19.190063 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:19.201462 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:19] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:19] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:19.859312 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:21.520632 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:21.525404 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:45:21.531604 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:45:21.537089 : get_parnter_stripe_account_id_from_recid -'stripe_account_id' - ERRORRRR AT Line : 319
+INFO:root:2023-07-10 18:45:21.542118 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:45:21] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:47:05.604718+02:00 (in 59.984502 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:47:05 CEST)" (scheduled at 2023-07-10 18:46:05.604718+02:00)
+INFO:root:2023-07-10 18:46:05.631262 : lundi, 10. juillet 2023 06:46:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:47:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:56:39.692660+02:00 (in 599.990006 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:56:39 CEST)" (scheduled at 2023-07-10 18:46:39.692660+02:00)
+INFO:root:2023-07-10 18:46:39.705240 : lundi, 10. juillet 2023 06:46:39 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 18:56:39 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:48:05.604718+02:00 (in 59.983737 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:48:05 CEST)" (scheduled at 2023-07-10 18:47:05.604718+02:00)
+INFO:root:2023-07-10 18:47:05.624376 : lundi, 10. juillet 2023 06:47:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:48:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:49:05.604718+02:00 (in 59.999043 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:49:05 CEST)" (scheduled at 2023-07-10 18:48:05.604718+02:00)
+INFO:root:2023-07-10 18:48:05.607936 : lundi, 10. juillet 2023 06:48:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:49:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:48:27.153318 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:48:27.156187 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:48:27.160768 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:48:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:48:27.164775 : get_parnter_stripe_account_id_from_recid -'stripe_account_id' - ERRORRRR AT Line : 319
+INFO:root:2023-07-10 18:48:27.166775 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:48:27] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:50:05.604718+02:00 (in 59.989248 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:50:05 CEST)" (scheduled at 2023-07-10 18:49:05.604718+02:00)
+INFO:root:2023-07-10 18:49:05.617470 : lundi, 10. juillet 2023 06:49:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:50:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:49:13.290344 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:49:13.293386 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:49:13.298422 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:49:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:49:13.301420 : get_parnter_stripe_account_id_from_recid -'stripe_account_id' - ERRORRRR AT Line : 319
+INFO:root:2023-07-10 18:49:13.302984 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:49:13] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:51:05.604718+02:00 (in 59.997879 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:51:05 CEST)" (scheduled at 2023-07-10 18:50:05.604718+02:00)
+INFO:root:2023-07-10 18:50:05.608844 : lundi, 10. juillet 2023 06:50:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:51:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:51:00.027592 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:51:00.029831 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:51:00.064999 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:51:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:51:00.068265 : get_parnter_stripe_account_id_from_recid -'stripe_account_id' - ERRORRRR AT Line : 319
+INFO:root:2023-07-10 18:51:00.071278 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:51:00] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:52:05.604718+02:00 (in 59.986508 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:52:05 CEST)" (scheduled at 2023-07-10 18:51:05.604718+02:00)
+INFO:root:2023-07-10 18:51:05.620199 : lundi, 10. juillet 2023 06:51:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:52:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:53:05.604718+02:00 (in 59.987163 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:53:05 CEST)" (scheduled at 2023-07-10 18:52:05.604718+02:00)
+INFO:root:2023-07-10 18:52:05.636595 : lundi, 10. juillet 2023 06:52:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:53:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\prj_common.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:54:05.604718+02:00 (in 59.997997 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:54:05 CEST)" (scheduled at 2023-07-10 18:53:05.604718+02:00)
+INFO:root:2023-07-10 18:53:05.608716 : lundi, 10. juillet 2023 06:53:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:54:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:53:16.637929 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 18:53:16.637929 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 18:53:16.637929 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 18:53:16.637929 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 18:53:16.637929 : ++ 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-10 19:03:16.710005+02:00 (in 599.995568 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 18:53:16.770837 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:53:16.775210 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:53:16.779136 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:53:16.782977 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:16] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:53:16.796002 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:16] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:53:17.624819 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:17] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:53:18.000859 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:53:20.186190 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:53:20.191531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:53:20.194530 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:53:20.197526 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 18:53:20.201529 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:53:20] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:55:05.604718+02:00 (in 59.986270 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:55:05 CEST)" (scheduled at 2023-07-10 18:54:05.604718+02:00)
+INFO:root:2023-07-10 18:54:05.630400 : lundi, 10. juillet 2023 06:54:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:55:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:54:15.062769 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:54:15.066714 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:15] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:54:15.071763 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:54:15.075734 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:54:15.079437 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:54:15.084677 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:15] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:54:15.923377 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:54:21.677566 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:54:21.680777 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:54:21.684790 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:54:21.686788 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 18:54:21.689743 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:54:21] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:56:05.604718+02:00 (in 59.985807 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:56:05 CEST)" (scheduled at 2023-07-10 18:55:05.604718+02:00)
+INFO:root:2023-07-10 18:55:05.620911 : lundi, 10. juillet 2023 06:55:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:56:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 18:55:44.432100 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:55:44.435320 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:55:44.439468 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:55:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:55:44.441468 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 18:55:44.445035 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:55:44] "[35m[1mPOST /myclass/api/get_payement_mode/ HTTP/1.1[0m" 500 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:57:05.604718+02:00 (in 59.987358 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:57:05 CEST)" (scheduled at 2023-07-10 18:56:05.604718+02:00)
+INFO:root:2023-07-10 18:56:05.619442 : lundi, 10. juillet 2023 06:56:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:57:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 18:58:05.604718+02:00 (in 59.998880 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:58:05 CEST)" (scheduled at 2023-07-10 18:57:05.604718+02:00)
+INFO:root:2023-07-10 18:57:05.615556 : lundi, 10. juillet 2023 06:57:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:58:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 18:57:24.317193 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 18:57:24.318193 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 18:57:24.318193 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 18:57:24.318193 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 18:57:24.318193 : ++ 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-10 19:07:24.381715+02:00 (in 599.997317 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 18:57:34.913019 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:57:34.916521 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:57:34.919524 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:57:34.923582 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:57:34.935750 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:34] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:57:35.636889 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:35] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:57:35.739863 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:35] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:57:38.952370 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:57:38.955369 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 18:57:38.960392 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 18:57:38.962390 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 18:57:38.966758 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 18:57:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 18:59:05.604718+02:00 (in 59.990444 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:59:05 CEST)" (scheduled at 2023-07-10 18:58:05.604718+02:00)
+INFO:root:2023-07-10 18:58:05.616254 : lundi, 10. juillet 2023 06:58:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 18:59:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:00:05.604718+02:00 (in 59.990768 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:00:05 CEST)" (scheduled at 2023-07-10 18:59:05.604718+02:00)
+INFO:root:2023-07-10 18:59:05.615530 : lundi, 10. juillet 2023 06:59:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:00:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:01:05.604718+02:00 (in 59.986178 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:01:05 CEST)" (scheduled at 2023-07-10 19:00:05.604718+02:00)
+INFO:root:2023-07-10 19:00:05.620624 : lundi, 10. juillet 2023 07:00:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:01:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:02:05.604718+02:00 (in 59.997442 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:02:05 CEST)" (scheduled at 2023-07-10 19:01:05.604718+02:00)
+INFO:root:2023-07-10 19:01:05.608253 : lundi, 10. juillet 2023 07:01:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:02:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 19:01:50.493243 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 19:01:50.493243 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 19:01:50.493243 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 19:01:50.493243 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 19:01:50.493243 : ++ 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-10 19:11:50.546625+02:00 (in 599.997577 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 19:01:56.426430 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:01:56.430875 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:01:56.434740 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:01:56.437275 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:56] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:01:56.449904 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:56] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:01:57.103263 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:57] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:01:57.487430 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:57] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:01:58.587891 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:01:58.590888 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:01:58.595167 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:58] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:01:58.598189 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 19:01:58.602761 : get_payement_mode - Aucun moyen de payement enregistré
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:01:58] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:03:05.604718+02:00 (in 59.990976 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:03:05 CEST)" (scheduled at 2023-07-10 19:02:05.604718+02:00)
+INFO:root:2023-07-10 19:02:05.622052 : lundi, 10. juillet 2023 07:02:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:03:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 19:02:56.767773 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 19:02:56.767773 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 19:02:56.767773 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 19:02:56.767773 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 19:02:56.767773 : ++ 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-10 19:12:56.823082+02:00 (in 599.997998 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:04:05.604718+02:00 (in 59.978023 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:04:05 CEST)" (scheduled at 2023-07-10 19:03:05.604718+02:00)
+INFO:root:2023-07-10 19:03:05.635604 : lundi, 10. juillet 2023 07:03:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:04:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:03:49.620383 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:03:49.624431 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:03:49.627792 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:03:49.629793 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:03:49.639362 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:03:50.252705 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:03:50.532040 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:50] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:03:51.831976 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:03:51.835726 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:03:51.839309 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:51] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:03:51.846796 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:03:51.849794 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:03:51] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:05:05.604718+02:00 (in 59.983121 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:05:05 CEST)" (scheduled at 2023-07-10 19:04:05.604718+02:00)
+INFO:root:2023-07-10 19:04:05.624853 : lundi, 10. juillet 2023 07:04:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:05:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:06:05.604718+02:00 (in 59.994331 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:06:05 CEST)" (scheduled at 2023-07-10 19:05:05.604718+02:00)
+INFO:root:2023-07-10 19:05:05.612379 : lundi, 10. juillet 2023 07:05:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:06:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:07:05.604718+02:00 (in 59.991536 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:07:05 CEST)" (scheduled at 2023-07-10 19:06:05.604718+02:00)
+INFO:root:2023-07-10 19:06:05.615804 : lundi, 10. juillet 2023 07:06:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:07:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:06:49.256707 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:49.261485 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:49.266017 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:49.273579 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:06:49.275579 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:49] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:52.989481 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:52.995641 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:53.000656 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:53.021526 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:53.024520 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:53.034643 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:53] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:54.171197 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:54] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:55.111315 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:55.114187 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:06:55.118494 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:06:55.126363 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:06:55.128511 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:06:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:08:05.604718+02:00 (in 59.987962 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:08:05 CEST)" (scheduled at 2023-07-10 19:07:05.604718+02:00)
+INFO:root:2023-07-10 19:07:05.625383 : lundi, 10. juillet 2023 07:07:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:08:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:07:14.212077 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:07:14.214142 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:07:14.218859 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:07:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:07:14.225403 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:07:14.228404 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:07:14] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:09:05.604718+02:00 (in 59.987880 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:09:05 CEST)" (scheduled at 2023-07-10 19:08:05.604718+02:00)
+INFO:root:2023-07-10 19:08:05.624689 : lundi, 10. juillet 2023 07:08:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:09:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:08:07.562247 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 19:08:07.562247 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 19:08:07.562247 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 19:08:07.562247 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 19:08:07.562247 : ++ 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-10 19:18:07.616255+02:00 (in 599.997998 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:10:05.604718+02:00 (in 59.991695 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:10:05 CEST)" (scheduled at 2023-07-10 19:09:05.604718+02:00)
+INFO:root:2023-07-10 19:09:05.616101 : lundi, 10. juillet 2023 07:09:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:10:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:11:05.604718+02:00 (in 59.994790 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:11:05 CEST)" (scheduled at 2023-07-10 19:10:05.604718+02:00)
+INFO:root:2023-07-10 19:10:05.611804 : lundi, 10. juillet 2023 07:10:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:11:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:12:05.604718+02:00 (in 59.994755 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:12:05 CEST)" (scheduled at 2023-07-10 19:11:05.604718+02:00)
+INFO:root:2023-07-10 19:11:05.611946 : lundi, 10. juillet 2023 07:11:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:12:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:13:05.604718+02:00 (in 59.998855 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:13:05 CEST)" (scheduled at 2023-07-10 19:12:05.604718+02:00)
+INFO:root:2023-07-10 19:12:05.607484 : lundi, 10. juillet 2023 07:12:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:13:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:13:02.312449 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:02.315767 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:02.341119 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:02] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:02.859684 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:13:02.861702 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:02] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:14:05.604718+02:00 (in 59.988833 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:14:05 CEST)" (scheduled at 2023-07-10 19:13:05.604718+02:00)
+INFO:root:2023-07-10 19:13:05.617947 : lundi, 10. juillet 2023 07:13:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:14:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:13:26.531652 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:26.535179 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:26] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:26.540257 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:26.543640 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:26.547956 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:26] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:26.558120 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:26] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:27.141441 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:27] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:30.085807 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:30.088541 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:30.093544 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:30.098834 : get_parnter_stripe_stripe_paymentmethod_id_from_recid -'stripe_paymentmethod_id' - ERRORRRR AT Line : 346
+INFO:root:2023-07-10 19:13:30.101404 : get_payement_mode - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:30] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:41.101687 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:13:41.107350 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:41] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:13:52.457801 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OErNgdixGKlW56",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689009233,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "A9A9D3AC",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W7n7PkjeVPtg76 message='Dashboard link for request'
+INFO:root:2023-07-10 19:13:52.927182 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OErNgdixGKlW56
+INFO:root:2023-07-10 19:13:52.929742 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:13:52] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:15:05.604718+02:00 (in 59.988892 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:15:05 CEST)" (scheduled at 2023-07-10 19:14:05.604718+02:00)
+INFO:root:2023-07-10 19:14:05.617827 : lundi, 10. juillet 2023 07:14:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:15:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:15:01.088691 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:15:01.091735 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:15:01.096818 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:15:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OErNgdixGKlW56/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_eo05uXj82JcBGT message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:15:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:16:05.604718+02:00 (in 59.997063 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:16:05 CEST)" (scheduled at 2023-07-10 19:15:05.604718+02:00)
+INFO:root:2023-07-10 19:15:05.611259 : lundi, 10. juillet 2023 07:15:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:16:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:17:05.604718+02:00 (in 59.985756 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:17:05 CEST)" (scheduled at 2023-07-10 19:16:05.604718+02:00)
+INFO:root:2023-07-10 19:16:05.620949 : lundi, 10. juillet 2023 07:16:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:17:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:16:06.259172 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=test+carte2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_M4Vav2RzgEIc3K message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSNgxAbmaEugrFTyb9aFGYb/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSNgxAbmaEugrFTyb9aFGYb/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": "cus_OErNgdixGKlW56",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Ub8YveQd5oVOFz message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:07] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:08.592965 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:08.595106 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:08.598116 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:08.602083 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:08] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:08.607319 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:08] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:08] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:08.615315 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:08] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:09.073710 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:09] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:11.218820 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:11.220832 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:11.226486 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": "cus_OErNgdixGKlW56",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErNgdixGKlW56/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ibUZeAQ5rMaEha message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:11] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:28.935164 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:28.939166 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:28.941498 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:28.947080 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:28] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": "cus_OErNgdixGKlW56",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErNgdixGKlW56/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_6E1digp0gOTYT7 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:29] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:29.325337 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:29.329723 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:39.323744 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:39.329375 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1688827031,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": 1689007307,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": "cancellation_requested"\n },\n "collection_method": "charge_automatically",\n "created": 1688827031,\n "currency": "eur",\n "current_period_end": 1691505431,\n "current_period_start": 1688827031,\n "customer": "cus_OE477Rl8b6dQgx",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": 1689007307,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OE4OEJGI0IUo7v",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1688827032,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "inclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 5000,\n "unit_amount_decimal": "5000"\n },\n "quantity": 8,\n "subscription": "sub_1NRcG3AbmaEugrFTfsCksa0L",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NRcG3AbmaEugrFTfsCksa0L"\n },\n "latest_invoice": "in_1NRcG3AbmaEugrFTO9gtfVEN",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FLAbmaEugrFTDgw7MVgb",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 5000,\n "amount_decimal": "5000",\n "billing_scheme": "per_unit",\n "created": 1674392767,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ71B8JnZPoL32",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 8,\n "schedule": null,\n "start_date": 1688827031,\n "status": "canceled",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Hcxep5WZs2Tg3p message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=False&proration_behavior=create_prorations&items[0][id]=si_OE4OEJGI0IUo7v&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=4
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NRcG3AbmaEugrFTfsCksa0L response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription that is `canceled` or `incomplete_expired`.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_BcyRVq9UJ3o1Mu?t=1689009400",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BcyRVq9UJ3o1Mu message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription that is `canceled` or `incomplete_expired`.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:16:39.921012 : strip_update_subscription_plan -Request req_BcyRVq9UJ3o1Mu: You cannot update a subscription that is `canceled` or `incomplete_expired`. - ERRORRRR AT Line : 1174
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:39] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Dev Compte \n\t\t\t\t\t2 place du dev \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrance \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_237000308\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 10/07/2023 \n\t\t\t\t\t\tDate échéance : 10/07/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00niF_\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t4 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t360.0 \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\tMontant HT: \n\t\t\t\t\t\t360.0 \n\t\t\t\t\t \n\t\t\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\tTVA 20% : \n\t\t\t\t\t72.0 \n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\tMontant TTC : \n\t\t\t\t\t432.0 \n\t\t\t\t \n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t \n\t\n\t\t\n\n\t\t\t
MySy Training \n\n\t\t\t\tCour du Havre 1, 75008, Paris \n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t
\n\t\t
\n\t \n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_237000308.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.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='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 0 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 1 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 2 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 3 has width 0.0
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:paramiko.transport:starting thread (client mode): 0x1b1a58a0
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000308.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000308.pdf', 'wb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000308.pdf')
+INFO:root:2023-07-10 19:16:45.763708 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_237000308.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000308.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-07-10 19:16:45.764766 : Impression facture N° FACT_237000308 OK
+INFO:root:2023-07-10 19:16:45.781312 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-07-10 19:16:45.772161'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:45] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:46.062706 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:46] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:54.783495 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:54.786592 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:54.789630 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:54.794840 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:16:54.802051 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:16:55.337725 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:16:55] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:18:05.604718+02:00 (in 59.990530 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:18:05 CEST)" (scheduled at 2023-07-10 19:17:05.604718+02:00)
+INFO:root:2023-07-10 19:17:05.617263 : lundi, 10. juillet 2023 07:17:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:18:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:19:05.604718+02:00 (in 59.985098 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:19:05 CEST)" (scheduled at 2023-07-10 19:18:05.604718+02:00)
+INFO:root:2023-07-10 19:18:05.621635 : lundi, 10. juillet 2023 07:18:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:19:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:10:00], next run at: 2023-07-10 19:18:07 CEST)" (scheduled at 2023-07-10 19:18:07.616255+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:28:07.616255+02:00 (in 599.993952 seconds)
+INFO:root:2023-07-10 19:18:07.625300 : lundi, 10. juillet 2023 07:18:07 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 19:28:07 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:20:05.604718+02:00 (in 59.993773 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:20:05 CEST)" (scheduled at 2023-07-10 19:19:05.604718+02:00)
+INFO:root:2023-07-10 19:19:05.616161 : lundi, 10. juillet 2023 07:19:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:20:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:21:05.604718+02:00 (in 59.998484 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:21:05 CEST)" (scheduled at 2023-07-10 19:20:05.604718+02:00)
+INFO:root:2023-07-10 19:20:05.608506 : lundi, 10. juillet 2023 07:20:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:21:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:22:05.604718+02:00 (in 59.989147 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:22:05 CEST)" (scheduled at 2023-07-10 19:21:05.604718+02:00)
+INFO:root:2023-07-10 19:21:05.623918 : lundi, 10. juillet 2023 07:21:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:22:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:23:05.604718+02:00 (in 59.994040 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:23:05 CEST)" (scheduled at 2023-07-10 19:22:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_pOZc08nV4olS4P?t=1689009726",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_pOZc08nV4olS4P message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:22:07.057880 : Strip_Get_Customer_Abonnement_Data -Request req_pOZc08nV4olS4P: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:22:07.060127 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:22:07.063663 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:22:07.063663 : lundi, 10. juillet 2023 07:22:07 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:23:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:24:05.604718+02:00 (in 59.994966 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:24:05 CEST)" (scheduled at 2023-07-10 19:23:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_XjlI8kPTTuplMG?t=1689009786",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_XjlI8kPTTuplMG message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:23:05.873658 : Strip_Get_Customer_Abonnement_Data -Request req_XjlI8kPTTuplMG: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:23:05.874692 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:23:05.876691 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:23:05.876691 : lundi, 10. juillet 2023 07:23:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:24:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:23:50.536446 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:23:50.541443 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:23:50.547059 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:23:50.554367 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:23:50.559827 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:23:51.222003 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:23:55.402942 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:23:55.405425 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:23:55.411792 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:55] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": "cus_OErNgdixGKlW56",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErNgdixGKlW56/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ADR0UO9dhVqsPw message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:23:55] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:25:05.604718+02:00 (in 59.996754 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:25:05 CEST)" (scheduled at 2023-07-10 19:24:05.604718+02:00)
+INFO:root:2023-07-10 19:24:05.609248 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:24:05.613122 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:root:2023-07-10 19:24:05.617475 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:24:05.622486 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:24:05] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:24:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_p0p3LlJjPpFV7U?t=1689009846",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_p0p3LlJjPpFV7U message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:24:05.866166 : Strip_Get_Customer_Abonnement_Data -Request req_p0p3LlJjPpFV7U: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:24:05.867160 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:24:05.868165 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:24:05.869166 : lundi, 10. juillet 2023 07:24:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:25:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErNgdixGKlW56/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNgxAbmaEugrFTyb9aFGYb",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "test carte2",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689009367,\n "customer": "cus_OErNgdixGKlW56",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErNgdixGKlW56/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ITwOxtUN1a1hb8 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:24:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:24:05.977552 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:24:05.982574 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:24:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:26:05.604718+02:00 (in 59.997199 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:26:05 CEST)" (scheduled at 2023-07-10 19:25:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_JzeCFDIqNR5YGX?t=1689009906",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JzeCFDIqNR5YGX message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:25:05.875789 : Strip_Get_Customer_Abonnement_Data -Request req_JzeCFDIqNR5YGX: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:25:05.876793 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:25:05.878793 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:25:05.878793 : lundi, 10. juillet 2023 07:25:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:26:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:27:05.604718+02:00 (in 59.984458 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:27:05 CEST)" (scheduled at 2023-07-10 19:26:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_BEQfVXHqcB6JqX?t=1689009966",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BEQfVXHqcB6JqX message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:26:05.890843 : Strip_Get_Customer_Abonnement_Data -Request req_BEQfVXHqcB6JqX: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:26:05.891843 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:26:05.894842 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:26:05.894842 : lundi, 10. juillet 2023 07:26:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:27:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:28:05.604718+02:00 (in 59.985000 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:28:05 CEST)" (scheduled at 2023-07-10 19:27:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "invoice_upcoming_none",\n "doc_url": "https://stripe.com/docs/error-codes/invoice-upcoming-none",\n "message": "No upcoming invoices for customer: cus_OErNgdixGKlW56",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_bJWNlpiLLuuIJI?t=1689010026",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_bJWNlpiLLuuIJI message='Dashboard link for request'
+INFO:stripe:error_code=invoice_upcoming_none error_message='No upcoming invoices for customer: cus_OErNgdixGKlW56' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:27:05.863912 : Strip_Get_Customer_Abonnement_Data -Request req_bJWNlpiLLuuIJI: No upcoming invoices for customer: cus_OErNgdixGKlW56 - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:27:05.865239 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:27:05.866773 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:27:05.866773 : lundi, 10. juillet 2023 07:27:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:28:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:29:05.604718+02:00 (in 59.992939 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:29:05 CEST)" (scheduled at 2023-07-10 19:28:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErNgdixGKlW56
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErNgdixGKlW56 response_code=400
+DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such customer: \'cus_OErNgdixGKlW56\'",\n "param": "customer",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_H3LbjVBA45gsCD?t=1689010086",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_H3LbjVBA45gsCD message='Dashboard link for request'
+INFO:stripe:error_code=resource_missing error_message="No such customer: 'cus_OErNgdixGKlW56'" error_param=customer error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:28:05.838223 : Strip_Get_Customer_Abonnement_Data -Request req_H3LbjVBA45gsCD: No such customer: 'cus_OErNgdixGKlW56' - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:28:05.839223 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:28:05.840756 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:28:05.841949 : lundi, 10. juillet 2023 07:28:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:29:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:38:07.616255+02:00 (in 599.982866 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 19:38:07 CEST)" (scheduled at 2023-07-10 19:28:07.616255+02:00)
+INFO:root:2023-07-10 19:28:07.635670 : lundi, 10. juillet 2023 07:28:07 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 19:38:07 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:28:17.309832 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:28:17.313868 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:28:17.315870 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:28:17.320138 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:17] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:28:17.327267 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:28:17.842271 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:17] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:28:20.720894 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:28:20.724531 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:28:20.728532 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:28:20.729523 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 19:28:20.732517 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:28:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:30:05.604718+02:00 (in 59.987966 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:30:05 CEST)" (scheduled at 2023-07-10 19:29:05.604718+02:00)
+INFO:root:2023-07-10 19:29:05.618826 : lundi, 10. juillet 2023 07:29:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:30:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:29:33.297157 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:29:33.299158 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:29:33.303383 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:29:33.307562 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:33] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:29:33.318158 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:29:33.781148 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:33] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:29:36.088121 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:29:36.090246 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:29:36.094401 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers//payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers//payment_methods?type=card response_code=404
+DEBUG:stripe:body='{\n "error": {\n "message": "Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+INFO:stripe:error_code=None error_message='Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:29:36.193740 : get_customer_payement_cards -Unrecognized request URL (GET: /v1/customers//payment_methods). If you are trying to list objects, remove the trailing slash. If you are trying to retrieve an object, make sure you passed a valid (non-empty) identifier in your code. Please see https://stripe.com/docs or we can help at https://support.stripe.com/. - ERRORRRR AT Line : 140
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:36] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:29:48.671205 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:29:48.678229 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:29:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:30:00.170935 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OErdXhWZ3S0OOi",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689010200,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "32C322AF",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JfAwaWzQfHlghe message='Dashboard link for request'
+INFO:root:2023-07-10 19:30:00.550516 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OErdXhWZ3S0OOi
+INFO:root:2023-07-10 19:30:00.554646 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:30:00] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:31:05.604718+02:00 (in 59.991085 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:31:05 CEST)" (scheduled at 2023-07-10 19:30:05.604718+02:00)
+INFO:root:2023-07-10 19:30:05.615593 : lundi, 10. juillet 2023 07:30:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:31:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:30:24.839603 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:30:24.841615 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:30:24.846935 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:30:24] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_lkw8WzV05uy1uS message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:30:25] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:31:01.400587 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=qsdsq
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_p3YSWcnzyOwhel message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSNvOAbmaEugrFT1d6jvPEG/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErdXhWZ3S0OOi
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSNvOAbmaEugrFT1d6jvPEG/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Z5ztSDvu00jdIx message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:02] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:31:03.670940 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:31:03.674624 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:03] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:31:03.678657 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:31:03.681667 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:31:03.686404 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:03] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:03] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:03] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:31:04.132288 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:31:04] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:32:05.604718+02:00 (in 59.984965 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:32:05 CEST)" (scheduled at 2023-07-10 19:31:05.604718+02:00)
+INFO:root:2023-07-10 19:31:05.622827 : lundi, 10. juillet 2023 07:31:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:32:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:33:05.604718+02:00 (in 59.989097 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:33:05 CEST)" (scheduled at 2023-07-10 19:32:05.604718+02:00)
+INFO:root:2023-07-10 19:32:05.617653 : lundi, 10. juillet 2023 07:32:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:33:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:32:26.305316 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:26.307337 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:26.313071 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:26] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_F5RyNM0E6yiTRY message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:26] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:32:39.957022 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:39.961873 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:39.965094 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:39.967839 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:39] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:39] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Z7q5BvCk5GU1yQ message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:40] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:32:40.325480 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:32:40.329607 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:32:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:34:05.604718+02:00 (in 59.985289 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:34:05 CEST)" (scheduled at 2023-07-10 19:33:05.604718+02:00)
+INFO:root:2023-07-10 19:33:05.621041 : lundi, 10. juillet 2023 07:33:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:34:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:33:13.831867 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:13] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:13.889380 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:15.340218 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:33:15.341229 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:root:2023-07-10 19:33:15.353023 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:15] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_JjGgUf3iMZeMGu message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:15] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:20.044245 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:33:20.046514 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:33:20.049848 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:20] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:20.057570 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_2L0LSkFoVgjvQy message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:20] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:20.429857 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:33:20.434468 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:33:24.466128 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErdXhWZ3S0OOi&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-07-10 19:33:24.470719 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:33:25.541876 : CreateInvoice - Le champ 'stripe_subscription_id' n'existe pas, Creation facture annulée
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:25] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689010405,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689010405,\n "currency": "eur",\n "current_period_end": 1691688805,\n "current_period_start": 1689010405,\n "customer": "cus_OErdXhWZ3S0OOi",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OErhB8eWTeBOuV",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689010405,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSNxhAbmaEugrFTT8cTN6cH"\n },\n "latest_invoice": {\n "id": "in_1NSNxhAbmaEugrFTdifvyARL",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1689010405,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OErdXhWZ3S0OOi",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689010405,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXJoSXVzUHh2QXNqVVJXNm9IUGM2cXhqSWN1S0xwLDc5NTUxMjA20200a1tipbWN?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXJoSXVzUHh2QXNqVVJXNm9IUGM2cXhqSWN1S0xwLDc5NTUxMjA20200a1tipbWN/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSNxhAbmaEugrFTwmWmQyTz",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691688805,\n "start": 1689010405\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "subscription_item": "si_OErhB8eWTeBOuV",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSNxhAbmaEugrFTdifvyARL/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0761",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3NSNxhAbmaEugrFT1twgfoKh",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3NSNxhAbmaEugrFT1twgfoKh"\n },\n "client_secret": "pi_3NSNxhAbmaEugrFT1twgfoKh_secret_T5aQhkrtqHLRQ5x4wOtLtoB5o",\n "confirmation_method": "automatic",\n "created": 1689010405,\n "currency": "eur",\n "customer": "cus_OErdXhWZ3S0OOi",\n "description": "Subscription creation",\n "invoice": "in_1NSNxhAbmaEugrFTdifvyARL",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689010405,\n "period_start": 1689010405,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1689010405,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689010405\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1689010405,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_bpt60qTeQeKkWe message='Dashboard link for request'
+INFO:root:2023-07-10 19:33:25.737592 : create_subscription -'_id' - ERRORRRR AT Line : 664
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:33:25] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:35:05.604718+02:00 (in 59.990283 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:35:05 CEST)" (scheduled at 2023-07-10 19:34:05.604718+02:00)
+INFO:root:2023-07-10 19:34:05.616010 : lundi, 10. juillet 2023 07:34:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:35:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:36:05.604718+02:00 (in 59.995800 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:36:05 CEST)" (scheduled at 2023-07-10 19:35:05.604718+02:00)
+INFO:root:2023-07-10 19:35:05.611116 : lundi, 10. juillet 2023 07:35:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:36:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:37:05.604718+02:00 (in 59.986812 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:37:05 CEST)" (scheduled at 2023-07-10 19:36:05.604718+02:00)
+INFO:root:2023-07-10 19:36:05.619918 : lundi, 10. juillet 2023 07:36:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:37:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 19:36:31.895165 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 19:36:31.895165 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 19:36:31.895165 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 19:36:31.895165 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 19:36:31.895165 : ++ 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-10 19:46:31.966820+02:00 (in 599.997965 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 19:36:36.039156 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:36.042473 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:36.044934 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:36] "POST /myclass/api/get_cust_prices_by_partner/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:36] "POST /myclass/api/get_linked_customer_to_partner/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:36:36.956323 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:36.959590 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:36.964997 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZocisW7i2oiUmM message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:37] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:36:44.712285 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:44.715631 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:44.720135 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:44.724143 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:44] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:44] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSNvOAbmaEugrFT1d6jvPEG",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689010262,\n "customer": "cus_OErdXhWZ3S0OOi",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErdXhWZ3S0OOi/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CUUoM6Y3YNe6io message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:36:45.079357 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:45.085065 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:36:50.394850 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:36:50.398577 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NSNxhAbmaEugrFTT8cTN6cH
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSNxhAbmaEugrFTT8cTN6cH response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689010405,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689010405,\n "currency": "eur",\n "current_period_end": 1691688805,\n "current_period_start": 1689010405,\n "customer": "cus_OErdXhWZ3S0OOi",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OErhB8eWTeBOuV",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689010405,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1NSNxhAbmaEugrFTT8cTN6cH",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSNxhAbmaEugrFTT8cTN6cH"\n },\n "latest_invoice": "in_1NSNxhAbmaEugrFTdifvyARL",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1689010405,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_OTSzsLeCl9OZfn message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NSNxhAbmaEugrFTT8cTN6cH
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=cancel_at_period_end=False&proration_behavior=create_prorations&items[0][id]=si_OErhB8eWTeBOuV&items[0][price]=price_1MT3FLAbmaEugrFTDgw7MVgb&items[0][quantity]=2
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSNxhAbmaEugrFTT8cTN6cH response_code=400
+DEBUG:stripe:body='{\n "error": {\n "message": "You cannot update a subscription in `incomplete` status in a way that results in a new invoice or invoice items. Only minor attributes, like `metadata` or `default_payment_method`, can be updated on such subscriptions.",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_Xv3NiUQ02Iw6FJ?t=1689010611",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Xv3NiUQ02Iw6FJ message='Dashboard link for request'
+INFO:stripe:error_code=None error_message='You cannot update a subscription in `incomplete` status in a way that results in a new invoice or invoice items. Only minor attributes, like `metadata` or `default_payment_method`, can be updated on such subscriptions.' error_param=None error_type=invalid_request_error message='Stripe API error received'
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Dev Compte \n\t\t\t\t\t2 place du dev \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrance \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_237000309\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 10/07/2023 \n\t\t\t\t\t\tDate échéance : 10/07/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00C3Aa\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tStandard \n\t\t\t\t\t\t\t2 \n\t\t\t\t\t\t\t50 \n\t\t\t\t\t\t\t100.0 \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\tMontant HT: \n\t\t\t\t\t\t100.0 \n\t\t\t\t\t \n\t\t\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\tTVA 20% : \n\t\t\t\t\t20.0 \n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\tMontant TTC : \n\t\t\t\t\t120.0 \n\t\t\t\t \n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t \n\t\n\t\t\n\n\t\t\t
MySy Training \n\n\t\t\t\tCour du Havre 1, 75008, Paris \n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t
\n\t\t
\n\t \n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_237000309.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.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='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 0 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 1 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 2 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 3 has width 0.0
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+INFO:root:2023-07-10 19:36:51.703829 : strip_update_subscription_plan -Request req_Xv3NiUQ02Iw6FJ: You cannot update a subscription in `incomplete` status in a way that results in a new invoice or invoice items. Only minor attributes, like `metadata` or `default_payment_method`, can be updated on such subscriptions. - ERRORRRR AT Line : 1176
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:51] "POST /myclass/api/strip_update_subscription_plan/ HTTP/1.1" 200 -
+DEBUG:paramiko.transport:starting thread (client mode): 0x9ea12410
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000309.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000309.pdf', 'wb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000309.pdf')
+INFO:root:2023-07-10 19:36:52.495136 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_237000309.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000309.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-07-10 19:36:52.496256 : Impression facture N° FACT_237000309 OK
+INFO:root:2023-07-10 19:36:52.514868 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '20', 'date_update': '2023-07-10 19:36:52.506333'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:52] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:36:52.646109 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:36:52] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:37:01.229267 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:37:01.233153 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:37:01] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:37:01.237224 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:37:01.241273 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:37:01.245234 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:37:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:37:01] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:37:01] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:37:01.744390 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:37:01] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:38:05.604718+02:00 (in 59.997723 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:38:05 CEST)" (scheduled at 2023-07-10 19:37:05.604718+02:00)
+INFO:root:2023-07-10 19:37:05.609593 : lundi, 10. juillet 2023 07:37:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:38:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:39:05.604718+02:00 (in 59.984051 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:39:05 CEST)" (scheduled at 2023-07-10 19:38:05.604718+02:00)
+INFO:root:2023-07-10 19:38:05.622935 : lundi, 10. juillet 2023 07:38:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:39:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:40:05.604718+02:00 (in 59.995752 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:40:05 CEST)" (scheduled at 2023-07-10 19:39:05.604718+02:00)
+INFO:root:2023-07-10 19:39:05.611167 : lundi, 10. juillet 2023 07:39:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:40:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:41:05.604718+02:00 (in 59.991761 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:41:05 CEST)" (scheduled at 2023-07-10 19:40:05.604718+02:00)
+INFO:root:2023-07-10 19:40:05.615688 : lundi, 10. juillet 2023 07:40:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:41:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:42:05.604718+02:00 (in 59.997308 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:42:05 CEST)" (scheduled at 2023-07-10 19:41:05.604718+02:00)
+INFO:root:2023-07-10 19:41:05.610485 : lundi, 10. juillet 2023 07:41:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:42:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:43:05.604718+02:00 (in 59.989928 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:43:05 CEST)" (scheduled at 2023-07-10 19:42:05.604718+02:00)
+INFO:root:2023-07-10 19:42:05.617768 : lundi, 10. juillet 2023 07:42:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:43:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:42:17.938346 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:42:17.943332 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:42:17.947544 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:17] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:42:17.954550 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:42:17.958552 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:17] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:17] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:42:17.975961 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:17] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:42:18.704897 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:18] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:42:22.143858 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:42:22.148853 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:42:22.153857 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:22] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:42:22.157855 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 19:42:22.161862 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:42:22] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:44:05.604718+02:00 (in 59.986621 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:44:05 CEST)" (scheduled at 2023-07-10 19:43:05.604718+02:00)
+INFO:root:2023-07-10 19:43:05.621070 : lundi, 10. juillet 2023 07:43:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:44:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:45:05.604718+02:00 (in 59.998096 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:45:05 CEST)" (scheduled at 2023-07-10 19:44:05.604718+02:00)
+INFO:root:2023-07-10 19:44:05.609622 : lundi, 10. juillet 2023 07:44:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:45:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:46:05.604718+02:00 (in 59.983895 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:46:05 CEST)" (scheduled at 2023-07-10 19:45:05.604718+02:00)
+INFO:root:2023-07-10 19:45:05.624817 : lundi, 10. juillet 2023 07:45:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:46:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:45:36.717272 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:36.720669 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:36.726965 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:36] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:36.732293 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:36.736492 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:36] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:36.746282 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:36] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:37.159699 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:42.346126 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:42.353149 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:42] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:42.359150 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:42.365701 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:42.375689 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:42] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:42.384901 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:42] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:43.320018 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:43] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:45.201117 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:45.206340 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:45:45.212332 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:45] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:45:45.213340 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 19:45:45.217362 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:45:45] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:47:05.604718+02:00 (in 59.994684 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:47:05 CEST)" (scheduled at 2023-07-10 19:46:05.604718+02:00)
+INFO:root:2023-07-10 19:46:05.612026 : lundi, 10. juillet 2023 07:46:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:47:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:46:31.925619 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:46:31.938954 : add_payement_mode -'stripe_account_id' - ERRORRRR AT Line : 177
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:46:31] "POST /myclass/api/add_payement_mode/ 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:10:00], next run at: 2023-07-10 19:46:31 CEST)" (scheduled at 2023-07-10 19:46:31.966820+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:56:31.966820+02:00 (in 599.995112 seconds)
+INFO:root:2023-07-10 19:46:31.976062 : lundi, 10. juillet 2023 07:46:31 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 19:56:31 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:48:05.604718+02:00 (in 59.987040 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:48:05 CEST)" (scheduled at 2023-07-10 19:47:05.604718+02:00)
+INFO:root:2023-07-10 19:47:05.620739 : lundi, 10. juillet 2023 07:47:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:48:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:47:33.475899 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:47:33.486906 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:47:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:47:49.813508 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OErvOtKdk5YgSX",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689011270,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "2BAB2F6E",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_IcmTtVUC6dWh1t message='Dashboard link for request'
+INFO:root:2023-07-10 19:47:50.304070 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OErvOtKdk5YgSX
+INFO:root:2023-07-10 19:47:50.310067 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:47:50] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:49:05.604718+02:00 (in 59.997061 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:49:05 CEST)" (scheduled at 2023-07-10 19:48:05.604718+02:00)
+INFO:root:2023-07-10 19:48:05.610643 : lundi, 10. juillet 2023 07:48:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:49:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:48:14.535636 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:48:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:48:14.648684 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:48:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:48:16.181302 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:48:16.186789 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:48:16.195268 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:48:16] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OErvOtKdk5YgSX/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_WCqiP3hoQIfKdi message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:48:16] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:50:05.604718+02:00 (in 59.996383 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:50:05 CEST)" (scheduled at 2023-07-10 19:49:05.604718+02:00)
+INFO:root:2023-07-10 19:49:05.611171 : lundi, 10. juillet 2023 07:49:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:50:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:49:14.644980 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=sqdqs
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOD1AbmaEugrFTGzvDzu9r",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011355,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_65IJDlnUwCM67p message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSOD1AbmaEugrFTGzvDzu9r/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErvOtKdk5YgSX
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSOD1AbmaEugrFTGzvDzu9r/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOD1AbmaEugrFTGzvDzu9r",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011355,\n "customer": "cus_OErvOtKdk5YgSX",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_fh4PwM3s6qEdqt message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:15] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:49:18.042207 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:49:18.048505 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:49:18.056497 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:49:18.065880 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:18] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:49:18.077634 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:18] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:18] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:49:18.090658 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:18] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:49:19.094288 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:49:19] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:51:05.604718+02:00 (in 59.994375 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:51:05 CEST)" (scheduled at 2023-07-10 19:50:05.604718+02:00)
+INFO:root:2023-07-10 19:50:05.612374 : lundi, 10. juillet 2023 07:50:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:51:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:50:33.932273 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:33.937746 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:33.944352 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:33.949164 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:33.958388 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:33.964922 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:33] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:33] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:34.668734 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:34] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:38.030486 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:38.035022 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:38.041507 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOD1AbmaEugrFTGzvDzu9r",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011355,\n "customer": "cus_OErvOtKdk5YgSX",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErvOtKdk5YgSX/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_VjZUBOo68YAKYv message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:38] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:42.122263 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:42.127072 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:42.134278 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:42] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:42.146781 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OErvOtKdk5YgSX/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOD1AbmaEugrFTGzvDzu9r",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011355,\n "customer": "cus_OErvOtKdk5YgSX",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OErvOtKdk5YgSX/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BCp1HRImL95Lfo message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:42] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:42.654228 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:50:42.664460 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:42] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:46.152513 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErvOtKdk5YgSX&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-07-10 19:50:46.164220 : Security check : IP adresse '127.0.0.1' connected
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Dev Compte \n\t\t\t\t\t2 place du dev \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrance \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_237000310\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 10/07/2023 \n\t\t\t\t\t\tDate échéance : 10/07/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00yVjy\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t2 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t180.0 \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\tMontant HT: \n\t\t\t\t\t\t180.0 \n\t\t\t\t\t \n\t\t\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\tTVA 20% : \n\t\t\t\t\t36.0 \n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\tMontant TTC : \n\t\t\t\t\t216.0 \n\t\t\t\t \n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t \n\t\n\t\t\n\n\t\t\t
MySy Training \n\n\t\t\t\tCour du Havre 1, 75008, Paris \n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t
\n\t\t
\n\t \n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_237000310.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.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='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 0 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 1 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 2 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 3 has width 0.0
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOEUAbmaEugrFTxIoqhZZx",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689011446,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689011446,\n "currency": "eur",\n "current_period_end": 1691689846,\n "current_period_start": 1689011446,\n "customer": "cus_OErvOtKdk5YgSX",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEryCJKkG0jPJe",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689011447,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1NSOEUAbmaEugrFTxIoqhZZx",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOEUAbmaEugrFTxIoqhZZx"\n },\n "latest_invoice": {\n "id": "in_1NSOEVAbmaEugrFTdZQ6bQDJ",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1689011447,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OErvOtKdk5YgSX",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689011447,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXJ5MjdtWjNwUHZEZDJDZHB4MENwdHRGZFNOWHVuLDc5NTUyMjQ30200rYqQs7ZG?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXJ5MjdtWjNwUHZEZDJDZHB4MENwdHRGZFNOWHVuLDc5NTUyMjQ30200rYqQs7ZG/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOEVAbmaEugrFTc8Z8RHNl",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691689846,\n "start": 1689011446\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOEUAbmaEugrFTxIoqhZZx",\n "subscription_item": "si_OEryCJKkG0jPJe",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOEVAbmaEugrFTdZQ6bQDJ/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0762",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3NSOEVAbmaEugrFT11h6FcpJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3NSOEVAbmaEugrFT11h6FcpJ"\n },\n "client_secret": "pi_3NSOEVAbmaEugrFT11h6FcpJ_secret_evi5OCvJ91XfmRYGl2RGP5cqh",\n "confirmation_method": "automatic",\n "created": 1689011447,\n "currency": "eur",\n "customer": "cus_OErvOtKdk5YgSX",\n "description": "Subscription creation",\n "invoice": "in_1NSOEVAbmaEugrFTdZQ6bQDJ",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689011446,\n "period_start": 1689011446,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1689011447,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSOEUAbmaEugrFTxIoqhZZx",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689011447\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1689011446,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DjVAy01WVmcQ32 message='Dashboard link for request'
+INFO:root:2023-07-10 19:50:47.506262 : create_subscription -'_id' - ERRORRRR AT Line : 666
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:47] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+DEBUG:paramiko.transport:starting thread (client mode): 0xcc32ff40
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000310.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000310.pdf', 'wb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000310.pdf')
+INFO:root:2023-07-10 19:50:48.572244 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_237000310.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000310.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-07-10 19:50:48.573280 : Impression facture N° FACT_237000310 OK
+INFO:root:2023-07-10 19:50:48.601956 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-07-10 19:50:48.589333'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:48] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:50:49.047035 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/false/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1NSOD1AbmaEugrFTGzvDzu9r&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00yVjy%2FGold
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/false/confirm response_code=404
+DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such payment_intent: \'false\'",\n "param": "intent",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_NiI1wDHk4KS2Es?t=1689011449",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_NiI1wDHk4KS2Es message='Dashboard link for request'
+INFO:stripe:error_code=resource_missing error_message="No such payment_intent: 'false'" error_param=intent error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:50:49.455047 : confirm_suscription -Request req_NiI1wDHk4KS2Es: No such payment_intent: 'false' - ERRORRRR AT Line : 334
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:50:49] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:52:05.604718+02:00 (in 59.988397 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:52:05 CEST)" (scheduled at 2023-07-10 19:51:05.604718+02:00)
+INFO:root:2023-07-10 19:51:05.619324 : lundi, 10. juillet 2023 07:51:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:52:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:53:05.604718+02:00 (in 59.989972 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:53:05 CEST)" (scheduled at 2023-07-10 19:52:05.604718+02:00)
+INFO:root:2023-07-10 19:52:05.616752 : lundi, 10. juillet 2023 07:52:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:53:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:54:05.604718+02:00 (in 59.997429 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:54:05 CEST)" (scheduled at 2023-07-10 19:53:05.604718+02:00)
+INFO:root:2023-07-10 19:53:05.611566 : lundi, 10. juillet 2023 07:53:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:54:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:55:05.604718+02:00 (in 59.986759 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:55:05 CEST)" (scheduled at 2023-07-10 19:54:05.604718+02:00)
+INFO:root:2023-07-10 19:54:05.619981 : lundi, 10. juillet 2023 07:54:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:55:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 19:54:37.298487 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 19:54:37.299005 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 19:54:37.299005 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 19:54:37.299005 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 19:54:37.299005 : ++ 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-10 20:04:37.380891+02:00 (in 599.997618 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:56:05.604718+02:00 (in 59.986432 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:56:05 CEST)" (scheduled at 2023-07-10 19:55:05.604718+02:00)
+INFO:root:2023-07-10 19:55:05.622309 : lundi, 10. juillet 2023 07:55:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:56:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 19:57:05.604718+02:00 (in 59.995099 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:57:05 CEST)" (scheduled at 2023-07-10 19:56:05.604718+02:00)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErvOtKdk5YgSX
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OErvOtKdk5YgSX
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OErvOtKdk5YgSX response_code=400
+DEBUG:stripe:body='{\n "error": {\n "code": "resource_missing",\n "doc_url": "https://stripe.com/docs/error-codes/resource-missing",\n "message": "No such customer: \'cus_OErvOtKdk5YgSX\'",\n "param": "customer",\n "request_log_url": "https://dashboard.stripe.com/test/logs/req_7q1kLeteQzIFal?t=1689011766",\n "type": "invalid_request_error"\n }\n}\n' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7q1kLeteQzIFal message='Dashboard link for request'
+INFO:stripe:error_code=resource_missing error_message="No such customer: 'cus_OErvOtKdk5YgSX'" error_param=customer error_type=invalid_request_error message='Stripe API error received'
+INFO:root:2023-07-10 19:56:05.959621 : Strip_Get_Customer_Abonnement_Data -Request req_7q1kLeteQzIFal: No such customer: 'cus_OErvOtKdk5YgSX' - ERRORRRR AT Line : 1335
+INFO:root:2023-07-10 19:56:05.961640 : Strip_Get_Customer_Upcoming_Invoice - impossible de recuperer les données de facturation
+INFO:root:2023-07-10 19:56:05.965639 : Cron_Strip_Get_Customer_Abonnement_Data - WARNING : impossible d'envoyer les elements de prefacturation pour le recid : 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0
+INFO:root:2023-07-10 19:56:05.965639 : lundi, 10. juillet 2023 07:56:05 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 0 clients==> traiter OKK. - 1 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:57:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:56:14.871013 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:56:14.876072 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:56:14.881635 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:56:14.884618 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:56:14.895037 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:56:15.685402 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:15] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:56:15.954527 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:15] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:56:19.243952 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:56:19.253535 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:19] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:56:30.425835 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OEs4htLLkhABda",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689011791,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "CB0B4CC9",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_oD0WXCFbHHvaS5 message='Dashboard link for request'
+INFO:root:2023-07-10 19:56:31.672505 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OEs4htLLkhABda
+INFO:root:2023-07-10 19:56:31.679845 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:56:31] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:58:05.604718+02:00 (in 59.995656 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:58:05 CEST)" (scheduled at 2023-07-10 19:57:05.604718+02:00)
+INFO:root:2023-07-10 19:57:05.612354 : lundi, 10. juillet 2023 07:57:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:58:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:57:28.246710 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:57:28.248802 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:57:28.262758 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:57:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OEs4htLLkhABda/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_5eoDMArlGKwIuM message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:57:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 19:59:05.604718+02:00 (in 59.997054 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:59:05 CEST)" (scheduled at 2023-07-10 19:58:05.604718+02:00)
+INFO:root:2023-07-10 19:58:05.609719 : lundi, 10. juillet 2023 07:58:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 19:59:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 19:58:10.792312 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=qsdqs
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOLfAbmaEugrFTdk5Sj192",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011891,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_c86Gcmw0mibvHJ message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSOLfAbmaEugrFTdk5Sj192/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEs4htLLkhABda
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSOLfAbmaEugrFTdk5Sj192/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOLfAbmaEugrFTdk5Sj192",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011891,\n "customer": "cus_OEs4htLLkhABda",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_W0Wo2ZaR4jyKhS message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:11] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:14.110267 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:14.114953 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:14.120369 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:14] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:14.127681 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:14.136088 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:14] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:14] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:14.147520 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:14] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:14.924541 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:14] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:28.120023 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:28.126818 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:28.133090 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOLfAbmaEugrFTdk5Sj192",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011891,\n "customer": "cus_OEs4htLLkhABda",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEs4htLLkhABda/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_teGbVbI0RoUVye message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:40.559978 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:40.566467 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:40.570000 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:40.580030 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:40] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEs4htLLkhABda/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOLfAbmaEugrFTdk5Sj192",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdqs",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689011891,\n "customer": "cus_OEs4htLLkhABda",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEs4htLLkhABda/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_aP6nVjyoQKbis1 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:40] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:40.983418 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 19:58:40.992428 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:40] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:48.800386 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEs4htLLkhABda&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=3&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-07-10 19:58:48.817304 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOMHAbmaEugrFTPKRnzStw",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689011929,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689011929,\n "currency": "eur",\n "current_period_end": 1691690329,\n "current_period_start": 1689011929,\n "customer": "cus_OEs4htLLkhABda",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEs6aBIgufy7DK",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689011930,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 3,\n "subscription": "sub_1NSOMHAbmaEugrFTPKRnzStw",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOMHAbmaEugrFTPKRnzStw"\n },\n "latest_invoice": {\n "id": "in_1NSOMHAbmaEugrFTL4UX3vdg",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 27000,\n "amount_paid": 0,\n "amount_remaining": 27000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1689011929,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEs4htLLkhABda",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689011929,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXM2QldXVmFwRllSaU1yUGswTjBpZVRhUURsd0x0LDc5NTUyNzMw0200kvlQhtyx?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXM2QldXVmFwRllSaU1yUGswTjBpZVRhUURsd0x0LDc5NTUyNzMw0200kvlQhtyx/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOMHAbmaEugrFT7svgDxLc",\n "object": "line_item",\n "amount": 27000,\n "amount_excluding_tax": 27000,\n "currency": "eur",\n "description": "3 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691690329,\n "start": 1689011929\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 3,\n "subscription": "sub_1NSOMHAbmaEugrFTPKRnzStw",\n "subscription_item": "si_OEs6aBIgufy7DK",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOMHAbmaEugrFTL4UX3vdg/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0763",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3NSOMIAbmaEugrFT0yldf5lP",\n "object": "payment_intent",\n "amount": 27000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3NSOMIAbmaEugrFT0yldf5lP"\n },\n "client_secret": "pi_3NSOMIAbmaEugrFT0yldf5lP_secret_WjwWgn5mK7LGAtTpZuzu35uGz",\n "confirmation_method": "automatic",\n "created": 1689011930,\n "currency": "eur",\n "customer": "cus_OEs4htLLkhABda",\n "description": "Subscription creation",\n "invoice": "in_1NSOMHAbmaEugrFTL4UX3vdg",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689011929,\n "period_start": 1689011929,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1689011929,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSOMHAbmaEugrFTPKRnzStw",\n "subtotal": 27000,\n "subtotal_excluding_tax": 27000,\n "tax": null,\n "test_clock": null,\n "total": 27000,\n "total_discount_amounts": [],\n "total_excluding_tax": 27000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689011929\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1689011929,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_y1SXedqASo4yHT message='Dashboard link for request'
+INFO:root:2023-07-10 19:58:50.117480 : create_subscription -'_id' - ERRORRRR AT Line : 691
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:50] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 19:58:50.856387 : CreateInvoice - Le champ 'stripe_subscription_id' n'existe pas, Creation facture annulée
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 19:58:50] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:00:05.604718+02:00 (in 59.996697 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:00:05 CEST)" (scheduled at 2023-07-10 19:59:05.604718+02:00)
+INFO:root:2023-07-10 19:59:05.610768 : lundi, 10. juillet 2023 07:59:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:00:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:01:05.604718+02:00 (in 59.984088 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:01:05 CEST)" (scheduled at 2023-07-10 20:00:05.604718+02:00)
+INFO:root:2023-07-10 20:00:05.623807 : lundi, 10. juillet 2023 08:00:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:01:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 20:00:55.184151 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:00:55.184151 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:00:55.184151 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:00:55.184151 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:00:55.184151 : ++ 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-10 20:10:55.256848+02:00 (in 599.997838 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:02:05.604718+02:00 (in 59.989647 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:02:05 CEST)" (scheduled at 2023-07-10 20:01:05.604718+02:00)
+INFO:root:2023-07-10 20:01:05.627125 : lundi, 10. juillet 2023 08:01:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:02:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:01:57.353746 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:01:57.358079 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:01:57.362073 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:01:57.366593 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:01:57.378997 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:01:57] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:01:57] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:01:57] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:01:57.997669 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:01:58] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:01:58.375259 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:01:58] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:02:01.261517 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:02:01.265627 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:02:01.269894 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:02:01] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:02:01.272893 : Pas de champ : stripe_account_id
+INFO:root:2023-07-10 20:02:01.319940 : get_payement_mode - Impossible de recuperer le stripe_account_id de l'utilisateur
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:02:01] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:02:04.135338 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:02:04.142699 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:02:04] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:03:05.604718+02:00 (in 59.984206 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:03:05 CEST)" (scheduled at 2023-07-10 20:02:05.604718+02:00)
+INFO:root:2023-07-10 20:02:05.623693 : lundi, 10. juillet 2023 08:02:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:03:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:02:22.240590 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OEsAP0XVznlSpZ",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689012143,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "AE49FCA6",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_K5um9uYrQmctND message='Dashboard link for request'
+INFO:root:2023-07-10 20:02:22.763797 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OEsAP0XVznlSpZ
+INFO:root:2023-07-10 20:02:22.769788 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:02:22] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:05.560931 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:03:05.566337 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:03:05.575065 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:04:05.604718+02:00 (in 59.992361 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:04:05 CEST)" (scheduled at 2023-07-10 20:03:05.604718+02:00)
+INFO:root:2023-07-10 20:03:05.616101 : lundi, 10. juillet 2023 08:03:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:04:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_T7oc1Dkq88cc1a message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:05] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:47.377103 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=sqdss
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOR6AbmaEugrFTmm1hvKgn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdss",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689012228,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_QzFiKFi5l1Iawv message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSOR6AbmaEugrFTmm1hvKgn/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsAP0XVznlSpZ
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSOR6AbmaEugrFTmm1hvKgn/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOR6AbmaEugrFTmm1hvKgn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdss",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689012228,\n "customer": "cus_OEsAP0XVznlSpZ",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_eN4569MoMPdFQn message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:48] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:50.740167 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:03:50.745746 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:03:50.750256 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:50] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:50.756955 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:03:50.764900 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:50] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:50.777206 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:50] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:03:51.543620 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:03:51] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:05:05.604718+02:00 (in 59.998146 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:05:05 CEST)" (scheduled at 2023-07-10 20:04:05.604718+02:00)
+INFO:root:2023-07-10 20:04:05.610124 : lundi, 10. juillet 2023 08:04:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:05:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:04:09.070176 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:09.074174 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:09.080174 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:09] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOR6AbmaEugrFTmm1hvKgn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdss",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689012228,\n "customer": "cus_OEsAP0XVznlSpZ",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_CIRHSxAomYbKdr message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:09] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:04:13.064650 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:13.070516 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:13.076681 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:13.079722 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:13] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOR6AbmaEugrFTmm1hvKgn",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "sqdss",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689012228,\n "customer": "cus_OEsAP0XVznlSpZ",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEsAP0XVznlSpZ/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UagvHviwLHHuUC message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:13] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:04:13.475380 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:13.484494 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:13] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:04:24.948914 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsAP0XVznlSpZ&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=4&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-07-10 20:04:24.959001 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:04:26.290985 : CreateInvoice - Le champ 'stripe_subscription_id' n'existe pas, Creation facture annulée
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:26] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSORhAbmaEugrFT1wmQ21wf",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689012265,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689012265,\n "currency": "eur",\n "current_period_end": 1691690665,\n "current_period_start": 1689012265,\n "customer": "cus_OEsAP0XVznlSpZ",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsCn5fQtjPo9D",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689012266,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 4,\n "subscription": "sub_1NSORhAbmaEugrFT1wmQ21wf",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSORhAbmaEugrFT1wmQ21wf"\n },\n "latest_invoice": {\n "id": "in_1NSORhAbmaEugrFTMufDUeJy",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 36000,\n "amount_paid": 0,\n "amount_remaining": 36000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1689012265,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsAP0XVznlSpZ",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689012265,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNDZWh1Wmp1UjIzemRXNHJOd2JvcTgwRUZzWmxnLDc5NTUzMDY202006JQV6CZL?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNDZWh1Wmp1UjIzemRXNHJOd2JvcTgwRUZzWmxnLDc5NTUzMDY202006JQV6CZL/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSORhAbmaEugrFTnMBPsKu0",\n "object": "line_item",\n "amount": 36000,\n "amount_excluding_tax": 36000,\n "currency": "eur",\n "description": "4 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691690665,\n "start": 1689012265\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 4,\n "subscription": "sub_1NSORhAbmaEugrFT1wmQ21wf",\n "subscription_item": "si_OEsCn5fQtjPo9D",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSORhAbmaEugrFTMufDUeJy/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0764",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3NSORiAbmaEugrFT1zDrgUPL",\n "object": "payment_intent",\n "amount": 36000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3NSORiAbmaEugrFT1zDrgUPL"\n },\n "client_secret": "pi_3NSORiAbmaEugrFT1zDrgUPL_secret_xhIXFFCKUhhE8TY44ewqc8Ykp",\n "confirmation_method": "automatic",\n "created": 1689012266,\n "currency": "eur",\n "customer": "cus_OEsAP0XVznlSpZ",\n "description": "Subscription creation",\n "invoice": "in_1NSORhAbmaEugrFTMufDUeJy",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689012265,\n "period_start": 1689012265,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1689012265,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSORhAbmaEugrFT1wmQ21wf",\n "subtotal": 36000,\n "subtotal_excluding_tax": 36000,\n "tax": null,\n "test_clock": null,\n "total": 36000,\n "total_discount_amounts": [],\n "total_excluding_tax": 36000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689012265\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 4,\n "schedule": null,\n "start_date": 1689012265,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_U4SMHoMTx0pH3J message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:04:26] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:06:05.604718+02:00 (in 59.982649 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:06:05 CEST)" (scheduled at 2023-07-10 20:05:05.604718+02:00)
+INFO:root:2023-07-10 20:05:05.626081 : lundi, 10. juillet 2023 08:05:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:06:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:07:05.604718+02:00 (in 59.988182 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:07:05 CEST)" (scheduled at 2023-07-10 20:06:05.604718+02:00)
+INFO:root:2023-07-10 20:06:05.619132 : lundi, 10. juillet 2023 08:06:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:07:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:08:05.604718+02:00 (in 59.993851 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:08:05 CEST)" (scheduled at 2023-07-10 20:07:05.604718+02:00)
+INFO:root:2023-07-10 20:07:05.613940 : lundi, 10. juillet 2023 08:07:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:08:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:09:05.604718+02:00 (in 59.991823 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:09:05 CEST)" (scheduled at 2023-07-10 20:08:05.604718+02:00)
+INFO:root:2023-07-10 20:08:05.615275 : lundi, 10. juillet 2023 08:08:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:09:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 20:08:56.642380 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:08:56.642380 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:08:56.642380 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:08:56.642380 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:08:56.642380 : ++ 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-10 20:18:56.786586+02:00 (in 599.997593 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:10:05.604718+02:00 (in 59.997673 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:10:05 CEST)" (scheduled at 2023-07-10 20:09:05.604718+02:00)
+INFO:root:2023-07-10 20:09:05.616208 : lundi, 10. juillet 2023 08:09:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:10:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 20:10:01.918715 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:10:01.918715 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:10:01.919982 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:10:01.919982 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:10:01.919982 : ++ 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-10 20:20:01.985866+02:00 (in 599.997875 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:11:05.604718+02:00 (in 59.991747 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:11:05 CEST)" (scheduled at 2023-07-10 20:10:05.604718+02:00)
+INFO:root:2023-07-10 20:10:05.624344 : lundi, 10. juillet 2023 08:10:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:11:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 20:10:31.435806 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:10:31.436839 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:10:31.436839 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:10:31.436839 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:10:31.436839 : ++ 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-10 20:20:31.501753+02:00 (in 599.997612 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 20:10:53.110561 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:10:53.110561 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:10:53.110561 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:10:53.110561 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:10:53.110561 : ++ 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-10 20:20:53.180118+02:00 (in 599.997780 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:12:05.604718+02:00 (in 59.977466 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:12:05 CEST)" (scheduled at 2023-07-10 20:11:05.604718+02:00)
+INFO:root:2023-07-10 20:11:05.630627 : lundi, 10. juillet 2023 08:11:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:12:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 20:11:35.607596 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 20:11:35.607596 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 20:11:35.608573 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 20:11:35.608573 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 20:11:35.608573 : ++ 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-10 20:21:35.681116+02:00 (in 599.997001 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:13:05.604718+02:00 (in 59.991570 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:13:05 CEST)" (scheduled at 2023-07-10 20:12:05.604718+02:00)
+INFO:root:2023-07-10 20:12:05.618480 : lundi, 10. juillet 2023 08:12:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:13:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:14:05.604718+02:00 (in 59.997261 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:14:05 CEST)" (scheduled at 2023-07-10 20:13:05.604718+02:00)
+INFO:root:2023-07-10 20:13:05.610684 : lundi, 10. juillet 2023 08:13:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:14:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:15:05.604718+02:00 (in 59.992155 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:15:05 CEST)" (scheduled at 2023-07-10 20:14:05.604718+02:00)
+INFO:root:2023-07-10 20:14:05.621488 : lundi, 10. juillet 2023 08:14:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:15:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:16:05.604718+02:00 (in 59.988203 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:16:05 CEST)" (scheduled at 2023-07-10 20:15:05.604718+02:00)
+INFO:root:2023-07-10 20:15:05.619596 : lundi, 10. juillet 2023 08:15:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:16:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:17:53.714282 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:17:53.718827 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:17:53.724642 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:17:53.726646 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:17:53] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:17:53.743635 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:17:53] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:17:53] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:17:54.696542 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:17:54] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:17:55.063500 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:17:55] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:18:05.604718+02:00 (in 9.944110 seconds)
+WARNING:apscheduler.executors.default:Run time of job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:18:05 CEST)" was missed by 0:00:50.056893
+INFO:root:2023-07-10 20:18:00.416109 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:18:00.425725 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:18:00] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:19:05.604718+02:00 (in 59.997099 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:19:05 CEST)" (scheduled at 2023-07-10 20:18:05.604718+02:00)
+INFO:root:2023-07-10 20:18:05.611203 : lundi, 10. juillet 2023 08:18:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:19:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:18:12.592647 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/customers
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=email=mysytraining%2Bdev%40gmail.com&name=MySy+Dev+Compte&address[city]=&address[country]=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers response_code=200
+DEBUG:stripe:body='{\n "id": "cus_OEsPgUkuj2UIES",\n "object": "customer",\n "address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "balance": 0,\n "created": 1689013093,\n "currency": null,\n "default_currency": null,\n "default_source": null,\n "delinquent": false,\n "description": null,\n "discount": null,\n "email": "mysytraining+dev@gmail.com",\n "invoice_prefix": "6161112F",\n "invoice_settings": {\n "custom_fields": null,\n "default_payment_method": null,\n "footer": null,\n "rendering_options": null\n },\n "livemode": false,\n "metadata": {},\n "name": "MySy Dev Compte",\n "phone": null,\n "preferred_locales": [],\n "shipping": null,\n "tax_exempt": "none",\n "test_clock": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1q25VfTwq5cYSS message='Dashboard link for request'
+INFO:root:2023-07-10 20:18:13.088218 : create_customer - le partenaire mysytraining+dev@gmail.com a été correctement créé dans Stripe. Son Id = cus_OEsPgUkuj2UIES
+INFO:root:2023-07-10 20:18:13.096240 : update_partner_accountLe partenaire a bien ete mise à jour =64a9703922c25fc1e39b3f70
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:18:13] "POST /myclass/api/update_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:18:56.711775 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:18:56.716840 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:18:56.724828 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:18:56] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [],\n "has_more": false,\n "url": "/v1/customers/cus_OEsPgUkuj2UIES/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_qExhjXsrfvroJK message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:18:57] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:20:05.604718+02:00 (in 59.983460 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:20:05 CEST)" (scheduled at 2023-07-10 20:19:05.604718+02:00)
+INFO:root:2023-07-10 20:19:05.623683 : lundi, 10. juillet 2023 08:19:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:20:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:21:05.604718+02:00 (in 59.985576 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:21:05 CEST)" (scheduled at 2023-07-10 20:20:05.604718+02:00)
+INFO:root:2023-07-10 20:20:05.627692 : lundi, 10. juillet 2023 08:20:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:21:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:20:08.027788 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=23&card[cvc]=123&billing_details[name]=qsdsq
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "unchecked"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689013209,\n "customer": null,\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_InzWRnIt8c0uGC message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_methods/pm_1NSOgvAbmaEugrFTUD0D4qei/attach
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsPgUkuj2UIES
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_methods/pm_1NSOgvAbmaEugrFTUD0D4qei/attach response_code=200
+DEBUG:stripe:body='{\n "id": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689013209,\n "customer": "cus_OEsPgUkuj2UIES",\n "livemode": false,\n "metadata": {},\n "type": "card"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_1pJil2v18uTEg5 message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:10] "POST /myclass/api/add_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:12.551118 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:12.558042 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:12.562508 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:12] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:12.567862 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:12.578310 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:12] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:12] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:12.589480 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:12] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:13.409005 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:13] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:27.569325 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:27.574008 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:27.579017 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:27] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:27.587450 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:27.593314 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:27] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:27.603185 : LMS_Get_Partner_Data - impossible de recuperer les données du pack de service
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:27] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:27] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:28.407656 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:28] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:30.846927 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:30.852398 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:30.861907 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689013209,\n "customer": "cus_OEsPgUkuj2UIES",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEsPgUkuj2UIES/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_DsUBhNKerkOkvo message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:31] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:48.611535 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:48.616836 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:48.620865 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:48.630194 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:48] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:48] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689013209,\n "customer": "cus_OEsPgUkuj2UIES",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEsPgUkuj2UIES/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_beNy7BxDMOAPKB message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:48] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:49.043186 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:20:49.054801 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:53.392706 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsPgUkuj2UIES&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=2&payment_behavior=default_incomplete&expand[0]=latest_invoice.payment_intent
+INFO:root:2023-07-10 20:20:53.407234 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689013254,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "current_period_end": 1691691654,\n "current_period_start": 1689013254,\n "customer": "cus_OEsPgUkuj2UIES",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsS1oN5wDaYmD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689013254,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOheAbmaEugrFTroSAF0UI"\n },\n "latest_invoice": {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU0MDU10200NWhiHg56?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU0MDU10200NWhiHg56/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": {\n "id": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 0,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges?payment_intent=pi_3NSOheAbmaEugrFT1850a8TJ"\n },\n "client_secret": "pi_3NSOheAbmaEugrFT1850a8TJ_secret_ZXb1LqWxtowr8TA7AWOgrmJRx",\n "confirmation_method": "automatic",\n "created": 1689013254,\n "currency": "eur",\n "customer": "cus_OEsPgUkuj2UIES",\n "description": "Subscription creation",\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "last_payment_error": null,\n "latest_charge": null,\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": null,\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "requires_payment_method",\n "transfer_data": null,\n "transfer_group": null\n },\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "open",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n },\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1689013254,\n "status": "incomplete",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_AmYe4eU990Uiml message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:54] "POST /myclass/api/create-subscription/ HTTP/1.1" 200 -
+DEBUG:xhtml2pdf:pisaDocument options:
+ src = '\n\n\n\n\t\n\t\t
\n\t
\n\t\n\t\t
\n\t\t\t
\n\t\t\t\t
Facture \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\tMySy Dev Compte \n\t\t\t\t\t2 place du dev \n\t\t\t\t\t75001 Paris \n\t\t\t\t\tFrance \n\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\tFacture n° FACT_237000311\n\n\n\t\t\t\t
\n\t\t\t\t
\n\n\n\t\t\t\t
\n\n\t\t\t\t\t\n\t\t\t\t\t\tDate de facture: 10/07/2023 \n\t\t\t\t\t\tDate échéance : 10/07/2023 \n\t\t\t\t\t \n\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\tOrigine : MySy_00wmnD\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDescription \n\t\t\t\t\t\t\tQuantité \n\t\t\t\t\t\t\tPrix unitaire \n\t\t\t\t\t\t\tMontant \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tGold \n\t\t\t\t\t\t\t2 \n\t\t\t\t\t\t\t90 \n\t\t\t\t\t\t\t180.0 \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\tMontant HT: \n\t\t\t\t\t\t180.0 \n\t\t\t\t\t \n\t\t\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\tTVA 20% : \n\t\t\t\t\t36.0 \n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\tMontant TTC : \n\t\t\t\t\t216.0 \n\t\t\t\t \n\t\t\t
\n\n\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\n\n\n\t\t
\n\n\t
\n\t \n\t\n\t\t\n\n\t\t\t
MySy Training \n\n\t\t\t\tCour du Havre 1, 75008, Paris \n\n\t\t\t\tMySy Training Technology (MTT), société par actions simplifiée au capital de 1000 euros, dont le siège\n\t\t\t\tsocial est\n\t\t\t\tsitué 2, place des magnolias, 77680, Roissy en Brie, immatriculée au Registre du Commerce et des\n\t\t\t\tSociétés sous le numéro 917 500 860 R.C.S. Melun\n\t\t\t
\n\t\t
\n\t \n\n\n'
+ dest = <_io.BufferedRandom name='./Invoices/invoice_FACT_237000311.pdf'>
+ path = None
+ link_callback = None
+ xhtml = False
+ context_meta = None
+DEBUG:xhtml2pdf:FileObject 'https://img.mysy-training.com/MYSY-LOGO-BLUE.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='/MYSY-LOGO-BLUE.png', params='', query='', fragment=''), 'https')
+DEBUG:xhtml2pdf:Parsing img tag, src:
+DEBUG:xhtml2pdf:Attrs: {'src': , 'width': 75.0, 'height': None, 'align': None, 'id': None}
+DEBUG:xhtml2pdf:Sending request for https://img.mysy-training.com/MYSY-LOGO-BLUE.png with httplib
+DEBUG:xhtml2pdf:Uri parsed: https://img.mysy-training.com/MYSY-LOGO-BLUE.png
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 0 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 1 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 2 has width 0.0
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col 3 has width 0.0
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:None
+DEBUG:xhtml2pdf:Col widths: [None, None, None, None]
+DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
+DEBUG:PIL.PngImagePlugin:STREAM b'tEXt' 41 25
+DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 78 6645
+DEBUG:paramiko.transport:starting thread (client mode): 0xbaccd930
+DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
+DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
+INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
+DEBUG:paramiko.transport:=== Key exchange possibilities ===
+DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
+DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
+DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
+DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
+DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
+DEBUG:paramiko.transport:client lang:
+DEBUG:paramiko.transport:server lang:
+DEBUG:paramiko.transport:kex follows: False
+DEBUG:paramiko.transport:=== Key exchange agreements ===
+DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
+DEBUG:paramiko.transport:HostKey: ssh-ed25519
+DEBUG:paramiko.transport:Cipher: aes128-ctr
+DEBUG:paramiko.transport:MAC: hmac-sha2-256
+DEBUG:paramiko.transport:Compression: none
+DEBUG:paramiko.transport:=== End of kex handshake ===
+DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo
+DEBUG:paramiko.transport:Switch to new keys ...
+DEBUG:paramiko.transport:Attempting password auth...
+DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
+DEBUG:paramiko.transport:userauth is OK
+INFO:paramiko.transport:Authentication (password) successful!
+DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
+DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
+DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
+DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
+DEBUG:paramiko.transport:Secsh channel 0 opened.
+DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
+INFO:paramiko.transport.sftp:[chan 0] Opened sftp connection (server version 3)
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000311.pdf', 'wb')
+DEBUG:paramiko.transport.sftp:[chan 0] open(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000311.pdf', 'wb') -> 00000000
+DEBUG:paramiko.transport.sftp:[chan 0] close(00000000)
+DEBUG:paramiko.transport.sftp:[chan 0] stat(b'/var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000311.pdf')
+INFO:root:2023-07-10 20:20:57.436382 : convertHtmlToPdf DEPLACEMENT DE ./Invoices/invoice_FACT_237000311.pdf VERS /var/www/html/sftp_iexercice/mysy_invoices_dev/invoice_FACT_237000311.pdf EST OKKKK
+INFO:paramiko.transport.sftp:[chan 0] sftp session closed.
+DEBUG:paramiko.transport:[chan 0] EOF sent (0)
+DEBUG:paramiko.transport:EOF in transport thread
+INFO:root:2023-07-10 20:20:57.437406 : Impression facture N° FACT_237000311 OK
+INFO:root:2023-07-10 20:20:57.488083 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-07-10 20:20:57.455366'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:57] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:20:57.720347 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/payment_intents/pi_3NSOheAbmaEugrFT1850a8TJ/confirm
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=payment_method=pm_1NSOgvAbmaEugrFTUD0D4qei&return_url=http%3A%2F%2Flocalhost%3A3009%2FOrderConfirmation_3DS%2FMySy_00wmnD%2FGold
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3NSOheAbmaEugrFT1850a8TJ/confirm response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 18000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "object": "charge",\n "amount": 18000,\n "amount_captured": 18000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3NSOheAbmaEugrFT16269WjU",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1689013258,\n "currency": "eur",\n "customer": "cus_OEsPgUkuj2UIES",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 5,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_method": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "network_token": {\n "used": false\n },\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKIuYsaUGMgZ1RxxV7Ic6LBZCla-RGy8D5l7RqcwE6r5zPNN4BobtobZ96_GQWWcTFKOT2hLmmkJ-bdY9?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3NSOheAbmaEugrFT1Jm9M4rc/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3NSOheAbmaEugrFT1850a8TJ"\n },\n "client_secret": "pi_3NSOheAbmaEugrFT1850a8TJ_secret_ZXb1LqWxtowr8TA7AWOgrmJRx",\n "confirmation_method": "automatic",\n "created": 1689013254,\n "currency": "eur",\n "customer": "cus_OEsPgUkuj2UIES",\n "description": "Subscription creation",\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "last_payment_error": null,\n "latest_charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_LTJQDyerZo5YaI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:20:59] "POST /myclass/api/confirm_payment/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:21:01.921646 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:01] "POST /myclass/api/CheckSalesOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:21:01.995133 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/payment_intents/pi_3NSOheAbmaEugrFT1850a8TJ
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/payment_intents/pi_3NSOheAbmaEugrFT1850a8TJ response_code=200
+DEBUG:stripe:body='{\n "id": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "object": "payment_intent",\n "amount": 18000,\n "amount_capturable": 0,\n "amount_details": {\n "tip": {}\n },\n "amount_received": 18000,\n "application": null,\n "application_fee_amount": null,\n "automatic_payment_methods": null,\n "canceled_at": null,\n "cancellation_reason": null,\n "capture_method": "automatic",\n "charges": {\n "object": "list",\n "data": [\n {\n "id": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "object": "charge",\n "amount": 18000,\n "amount_captured": 18000,\n "amount_refunded": 0,\n "application": null,\n "application_fee": null,\n "application_fee_amount": null,\n "balance_transaction": "txn_3NSOheAbmaEugrFT16269WjU",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "calculated_statement_descriptor": "WWW.MYSY-TRAINING.COM",\n "captured": true,\n "created": 1689013258,\n "currency": "eur",\n "customer": "cus_OEsPgUkuj2UIES",\n "description": "Subscription creation",\n "destination": null,\n "dispute": null,\n "disputed": false,\n "failure_balance_transaction": null,\n "failure_code": null,\n "failure_message": null,\n "fraud_details": {},\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "on_behalf_of": null,\n "order": null,\n "outcome": {\n "network_status": "approved_by_network",\n "reason": null,\n "risk_level": "normal",\n "risk_score": 5,\n "seller_message": "Payment complete.",\n "type": "authorized"\n },\n "paid": true,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_method": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "payment_method_details": {\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "installments": null,\n "last4": "4242",\n "mandate": null,\n "network": "visa",\n "network_token": {\n "used": false\n },\n "three_d_secure": null,\n "wallet": null\n },\n "type": "card"\n },\n "receipt_email": null,\n "receipt_number": null,\n "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xTFVVZkFBYm1hRXVnckZUKI6YsaUGMgZEYnJpPTU6LBYtPG1xK2o5en4V3ZRr9gqXoWtwxWuhwSvM5KKegX4zRXUZ9bEKd30XAP57?s=ap",\n "refunded": false,\n "refunds": {\n "object": "list",\n "data": [],\n "has_more": false,\n "total_count": 0,\n "url": "/v1/charges/ch_3NSOheAbmaEugrFT1Jm9M4rc/refunds"\n },\n "review": null,\n "shipping": null,\n "source": null,\n "source_transfer": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/charges?payment_intent=pi_3NSOheAbmaEugrFT1850a8TJ"\n },\n "client_secret": "pi_3NSOheAbmaEugrFT1850a8TJ_secret_ZXb1LqWxtowr8TA7AWOgrmJRx",\n "confirmation_method": "automatic",\n "created": 1689013254,\n "currency": "eur",\n "customer": "cus_OEsPgUkuj2UIES",\n "description": "Subscription creation",\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "last_payment_error": null,\n "latest_charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "livemode": false,\n "metadata": {},\n "next_action": null,\n "on_behalf_of": null,\n "payment_method": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "payment_method_options": {\n "card": {\n "installments": null,\n "mandate_options": null,\n "network": null,\n "request_three_d_secure": "automatic"\n },\n "paypal": {\n "preferred_locale": null,\n "reference": null\n },\n "sepa_debit": {}\n },\n "payment_method_types": [\n "card",\n "paypal",\n "sepa_debit"\n ],\n "processing": null,\n "receipt_email": null,\n "review": null,\n "setup_future_usage": "off_session",\n "shipping": null,\n "source": null,\n "statement_descriptor": null,\n "statement_descriptor_suffix": null,\n "status": "succeeded",\n "transfer_data": null,\n "transfer_group": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_twX0w34IUhfPq7 message='Dashboard link for request'
+INFO:root:2023-07-10 20:21:02.419271 : payment_retrieve_status le Payement pi_3NSOheAbmaEugrFT1850a8TJ est validé
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:02] "POST /myclass/api/payment_retrieve_status/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:21:02.769570 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:03] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:22:05.604718+02:00 (in 59.993828 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:22:05 CEST)" (scheduled at 2023-07-10 20:21:05.604718+02:00)
+INFO:root:2023-07-10 20:21:05.613103 : lundi, 10. juillet 2023 08:21:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:22:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 20:21:10.187992 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:21:10.192675 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:21:10.198029 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:10] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:21:10.202922 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 20:21:10.211233 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:10] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:10] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:10] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 20:21:11.039902 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 20:21:11] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:23:05.604718+02:00 (in 59.992676 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:23:05 CEST)" (scheduled at 2023-07-10 20:22:05.604718+02:00)
+INFO:root:2023-07-10 20:22:05.616730 : lundi, 10. juillet 2023 08:22:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:23:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 20:24:05.604718+02:00 (in 59.989905 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:24:05 CEST)" (scheduled at 2023-07-10 20:23:05.604718+02:00)
+INFO:root:2023-07-10 20:23:05.617793 : lundi, 10. juillet 2023 08:23:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:24:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:10:00], next run at: 2023-07-10 20:21:35 CEST)" was missed by 0:01:50.075384
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:31:35.681116+02:00 (in 489.925653 seconds)
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 20:25:05.604718+02:00 (in 59.997065 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:25:05 CEST)" (scheduled at 2023-07-10 20:24:05.604718+02:00)
+INFO:root:2023-07-10 20:24:05.611721 : lundi, 10. juillet 2023 08:24:05 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 20:25:05 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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-10 21:16:12.351888 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:16:12.352920 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:16:12.352920 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:16:12.352920 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:16:12.353918 : ++ 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-10 21:26:12.532712+02:00 (in 599.994982 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-10 21:16:37.803077 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:16:37.803077 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:16:37.803077 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:16:37.803077 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:16:37.803077 : ++ 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-10 21:26:37.909895+02:00 (in 599.997994 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:16:51.730428 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:51.731441 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:51.734724 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:51] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:51] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:51] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:51.980768 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:51.983802 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:52.480480 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:52.795552 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:52.796550 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:52.798055 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:52.799065 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:52.801432 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:52.806713 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:52] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:53.122881 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.124076 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:53.133902 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.136335 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.137326 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.138324 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:53.448448 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.452451 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:53.464113 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.466146 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.467609 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 21:16:53.468147 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 21:16:53.775327 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:16:53] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 21:21:29.513320 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:21:29.513320 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:21:29.513320 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:21:29.514316 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:21:29.514316 : ++ 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-10 21:31:29.574670+02:00 (in 599.998005 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:26:12 CEST)" (scheduled at 2023-07-10 21:26:12.532712+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 21:36:12.532712+02:00 (in 599.989697 seconds)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OEsPgUkuj2UIES
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsPgUkuj2UIES
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OEsPgUkuj2UIES response_code=200
+DEBUG:stripe:body='{\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 0,\n "amount_remaining": 18000,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "upcoming",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1691691654,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1b5143AbmaEugrFTbcabe8bf",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694370054,\n "start": 1691691654\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": 1691695254,\n "number": null,\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": null,\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1691691654,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "draft",\n "status_transitions": {\n "finalized_at": null,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_hDwSMGME79tgTK message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1b5143AbmaEugrFTbcabe8bf",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694370054,\n "start": 1691691654\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_01hNOd2oKRdsON message='Dashboard link for request'
+INFO:root:2023-07-10 21:26:14.001406 : lundi, 10. juillet 2023 09:26:14 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 1 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:36:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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:10:00], next run at: 2023-07-10 21:31:29 CEST)" (scheduled at 2023-07-10 21:31:29.574670+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 21:41:29.574670+02:00 (in 599.982396 seconds)
+INFO:root:2023-07-10 21:31:29.596920 : lundi, 10. juillet 2023 09:31:29 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:41:29 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve 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-10 21:46:12.532712+02:00 (in 599.986283 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:46:12 CEST)" (scheduled at 2023-07-10 21:36:12.532712+02:00)
+INFO:root:2023-07-10 21:36:12.548473 : lundi, 10. juillet 2023 09:36:12 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:46:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ return jsonify(status=localStatus, message=message)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\statistics.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-10 21:38:34.139005 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:38:34.140001 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:38:34.140001 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:38:34.140001 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:38:34.140001 : ++ 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-10 21:48:34.205899+02:00 (in 599.997001 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\statistics.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-10 21:38:54.936176 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:38:54.937464 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:38:54.937464 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:38:54.937464 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:38:54.937464 : ++ 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-10 21:48:54.995071+02:00 (in 599.997987 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:40:42.729294 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:40:42.730298 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:40:42.730298 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:40:42.730298 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:40:42.730298 : ++ 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-10 21:50:42.787258+02:00 (in 599.996993 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:41:22.233431 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:41:22.233431 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:41:22.233431 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:41:22.233431 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:41:22.233431 : ++ 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-10 21:51:22.295204+02:00 (in 599.997002 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 21:42:53.225487 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:42:53.225487 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:42:53.226466 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:42:53.226466 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:42:53.226466 : ++ 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-10 21:52:53.313456+02:00 (in 599.996006 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:43:05.099424 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:43:05] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:43:05.107415 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU4OTg10200HTNFUoVS?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU4OTg10200HTNFUoVS/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_7KxXrlQxUWuSxw message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:43:05] "POST /myclass/api/test_stripe/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 21:56:12.532712+02:00 (in 599.986643 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:56:12 CEST)" (scheduled at 2023-07-10 21:46:12.532712+02:00)
+INFO:root:2023-07-10 21:46:12.547740 : lundi, 10. juillet 2023 09:46:12 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 21:56:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ print(" ### Flask_Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\strype_payement.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-10 21:47:27.500106 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:47:27.501108 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:47:27.501108 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:47:27.501108 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:47:27.501108 : ++ 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-10 21:57:27.559065+02:00 (in 599.997005 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:47:27.725673 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:47:27] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:47:27.733148 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5MjQ40200b5ZNk3eP?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5MjQ40200b5ZNk3eP/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_l1n34Jb8pp3oyk message='Dashboard link for request'
+INFO:root:2023-07-10 21:47:28.602415 : test_stripe -Expecting value: line 1 column 2 (char 1) - ERRORRRR AT Line : 1482
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:47:28] "[35m[1mPOST /myclass/api/test_stripe/ HTTP/1.1[0m" 500 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:48:13.021974 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:48:13.021974 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:48:13.021974 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:48:13.021974 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:48:13.021974 : ++ 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-10 21:58:13.073021+02:00 (in 599.998507 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:48:17.281355 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:48:17] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:48:17.287472 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5Mjk40200Ii8LPFzn?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5Mjk40200Ii8LPFzn/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_TpKznTDlrKZj1W message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:48:17] "POST /myclass/api/test_stripe/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:48:58.203985 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:48:58.203985 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:48:58.203985 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:48:58.203985 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:48:58.203985 : ++ 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-10 21:58:58.255431+02:00 (in 599.997143 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:49:32.248661 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:49:32.248661 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:49:32.248661 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:49:32.248661 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:49:32.248661 : ++ 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-10 21:59:32.300261+02:00 (in 599.997367 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:49:35.501919 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:49:35] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:49:35.509355 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5Mzc2020012CeMCK4?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5Mzc2020012CeMCK4/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ZBbA8qwfhwUtNM message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:49:35] "POST /myclass/api/test_stripe/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:50:02.991004 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:50:02.992010 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:50:02.992010 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:50:02.992010 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:50:02.992010 : ++ 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-10 22:00:03.045425+02:00 (in 599.998000 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:50:03.481383 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:50:03] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:50:03.491459 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5NDA00200IBnteWvF?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5NDA00200IBnteWvF/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_uS7wRB6y8qLqAm message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:50:03] "POST /myclass/api/test_stripe/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:51:11.966858 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:51:11.966858 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:51:11.967857 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:51:11.967857 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:51:11.967857 : ++ 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-10 22:01:12.045595+02:00 (in 599.997478 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 21:51:12.097350 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:51:12] "[32mPOST /myclass/api/test_stripe HTTP/1.1[0m" 308 -
+INFO:root:2023-07-10 21:51:12.112555 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5NDcy0200gjXSoFRw?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTU5NDcy0200gjXSoFRw/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_SlYMib2XFNmQFz message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 21:51:12] "POST /myclass/api/test_stripe/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 21:54:49.494670 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:54:49.495671 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:54:49.495671 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:54:49.495671 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:54:49.495671 : ++ 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-10 22:04:49.548240+02:00 (in 599.997999 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 21:55:50.269906 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 21:55:50.269906 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 21:55:50.269906 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 21:55:50.269906 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 21:55:50.269906 : ++ 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-10 22:05:50.322496+02:00 (in 599.997425 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 22:06:12.532712+02:00 (in 599.984766 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:06:12 CEST)" (scheduled at 2023-07-10 21:56:12.532712+02:00)
+INFO:root:2023-07-10 21:56:12.549944 : lundi, 10. juillet 2023 09:56:12 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:06:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ print(" ### Flask_Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 22:02:39.552246 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:02:39.553246 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:02:39.553246 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:02:39.553246 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:02:39.553246 : ++ 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-10 22:12:39.606239+02:00 (in 599.997978 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 22:16:12.532712+02:00 (in 599.993384 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:16:12 CEST)" (scheduled at 2023-07-10 22:06:12.532712+02:00)
+INFO:root:2023-07-10 22:06:12.542395 : lundi, 10. juillet 2023 10:06:12 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:16:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ print(" ### Flask_Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use 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\\ela_factures_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-10 22:08:58.170223 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:08:58.170223 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:08:58.170223 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:08:58.170223 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:08:58.170223 : ++ 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-10 22:18:58.226729+02:00 (in 599.997936 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 22:09:15.738065 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:15.740508 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:15.742525 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:15] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:15] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:15] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:16.613032 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:16.615030 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:16] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.100843 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.101857 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.109728 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.115281 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.117301 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.123237 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.133457 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.142922 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.146969 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.153872 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.158810 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.166728 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.174677 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.180351 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.186288 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:17.202391 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.204412 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.205414 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.207807 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:17.213471 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:17] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:25.397531 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:25.575377 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:25.578370 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:25.582372 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:25.583370 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:25.591373 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:25.844477 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:25] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:28.137515 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:28.139919 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:28.146288 : Connexion du partner recid = 6c5ca566d1bc750bae39c85cf9b0282239e998fa8a65e48bd0 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:28] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=type=card
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/customers/cus_OEsPgUkuj2UIES/payment_methods?type=card response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "pm_1NSOgvAbmaEugrFTUD0D4qei",\n "object": "payment_method",\n "billing_details": {\n "address": {\n "city": null,\n "country": null,\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "email": null,\n "name": "qsdsq",\n "phone": null\n },\n "card": {\n "brand": "visa",\n "checks": {\n "address_line1_check": null,\n "address_postal_code_check": null,\n "cvc_check": "pass"\n },\n "country": "US",\n "exp_month": 12,\n "exp_year": 2023,\n "fingerprint": "WLHU5xJ28QiE3f4x",\n "funding": "credit",\n "generated_from": null,\n "last4": "4242",\n "networks": {\n "available": [\n "visa"\n ],\n "preferred": null\n },\n "three_d_secure_usage": {\n "supported": true\n },\n "wallet": null\n },\n "created": 1689013209,\n "customer": "cus_OEsPgUkuj2UIES",\n "livemode": false,\n "metadata": {},\n "type": "card"\n }\n ],\n "has_more": false,\n "url": "/v1/customers/cus_OEsPgUkuj2UIES/payment_methods"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_tDmKpuqiItVXHE message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:28] "POST /myclass/api/get_payement_mode/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:29.279331 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:29.283344 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:29] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:29] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:40.937227 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTYwNTgz0200lsAahRwu?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTYwNTgz0200lsAahRwu/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_ACGXEYhUu6xo4p message='Dashboard link for request'
+INFO:root:2023-07-10 22:09:43.105926 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-07-10 22:09:42.584982'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:43] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:09:43.275372 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:09:43.278995 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689013254,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "current_period_end": 1691691654,\n "current_period_start": 1689013254,\n "customer": "cus_OEsPgUkuj2UIES",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsS1oN5wDaYmD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689013254,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOheAbmaEugrFTroSAF0UI"\n },\n "latest_invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 2,\n "schedule": null,\n "start_date": 1689013254,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_yVdJ2BiFG5OjfJ message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_OEsS1oN5wDaYmD&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=3
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:43] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689013254,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "current_period_end": 1691691654,\n "current_period_start": 1689013254,\n "customer": "cus_OEsPgUkuj2UIES",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsS1oN5wDaYmD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689013254,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOheAbmaEugrFTroSAF0UI"\n },\n "latest_invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1689013254,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_GL01TRsyxjsMdI message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:09:44] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 22:11:54.084949 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:11:54.084949 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:11:54.084949 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:11:54.084949 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:11:54.084949 : ++ 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-10 22:21:54.142056+02:00 (in 599.997996 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\ela_factures_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-10 22:12:16.669528 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:12:16.669528 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:12:16.669528 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:12:16.669528 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:12:16.669528 : ++ 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-10 22:22:16.723393+02:00 (in 599.997016 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:root:2023-07-10 22:12:16.767287 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:12:16.771166 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:12:16] "POST /myclass/api/get_product_service/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:12:16] "POST /myclass/api/Get_Active_Ftions_Mysy_and_Lms/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:12:26.686114 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=query=customer%3A%27cus_OEsPgUkuj2UIES%27
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/search?query=customer%3A%27cus_OEsPgUkuj2UIES%27 response_code=200
+DEBUG:stripe:body='{\n "object": "search_result",\n "data": [\n {\n "id": "in_1NSOheAbmaEugrFTeJxOsryc",\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 18000,\n "amount_paid": 18000,\n "amount_remaining": 0,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 1,\n "attempted": true,\n "auto_advance": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "subscription_create",\n "charge": "ch_3NSOheAbmaEugrFT1Jm9M4rc",\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": 1689013254,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTYwNzQ40200aOSLheLA?s=ap",\n "invoice_pdf": "https://pay.stripe.com/invoice/acct_1LUUfAAbmaEugrFT/test_YWNjdF8xTFVVZkFBYm1hRXVnckZULF9PRXNTakVGSlZQMzlhWll4eld3aGxBeWpkTjZFb1FzLDc5NTYwNzQ40200aOSLheLA/pdf?s=ap",\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_1NSOheAbmaEugrFTeBdjWpyr",\n "object": "line_item",\n "amount": 18000,\n "amount_excluding_tax": 18000,\n "currency": "eur",\n "description": "2 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689013254\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/invoices/in_1NSOheAbmaEugrFTeJxOsryc/lines"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": null,\n "number": "E58073E6-0765",\n "on_behalf_of": null,\n "paid": true,\n "paid_out_of_band": false,\n "payment_intent": "pi_3NSOheAbmaEugrFT1850a8TJ",\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1689013254,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "paid",\n "status_transitions": {\n "finalized_at": 1689013254,\n "marked_uncollectible_at": null,\n "paid_at": 1689013259,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 18000,\n "subtotal_excluding_tax": 18000,\n "tax": null,\n "test_clock": null,\n "total": 18000,\n "total_discount_amounts": [],\n "total_excluding_tax": 18000,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": 1689013254\n }\n ],\n "has_more": false,\n "next_page": null,\n "url": "/v1/invoices/search"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_Gq13z1cauXFJ5q message='Dashboard link for request'
+INFO:root:2023-07-10 22:12:28.460070 : UpdataPartnerRankingClass - Le RANKING de 0 ont été mise à jour avec la valeur {'display_rank': '30', 'date_update': '2023-07-10 22:12:27.938926'}
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:12:28] "POST /myclass/api/createOrder/ HTTP/1.1" 200 -
+INFO:root:2023-07-10 22:12:28.650270 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2023-07-10 22:12:28.652591 : Security check : IP adresse '127.0.0.1' connected
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:12:28] "POST /myclass/api/Check_MySy_LMS_Account/ HTTP/1.1" 200 -
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689013254,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "current_period_end": 1691691654,\n "current_period_start": 1689013254,\n "customer": "cus_OEsPgUkuj2UIES",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsS1oN5wDaYmD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689013254,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOheAbmaEugrFTroSAF0UI"\n },\n "latest_invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 3,\n "schedule": null,\n "start_date": 1689013254,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_cjT6cBRUBdTJwx message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=post path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=proration_behavior=create_prorations&items[0][id]=si_OEsS1oN5wDaYmD&items[0][price]=price_1MT3FmAbmaEugrFTZ5vyJRcZ&items[0][quantity]=4
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/subscriptions/sub_1NSOheAbmaEugrFTroSAF0UI response_code=200
+DEBUG:stripe:body='{\n "id": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "object": "subscription",\n "application": null,\n "application_fee_percent": null,\n "automatic_tax": {\n "enabled": false\n },\n "billing_cycle_anchor": 1689013254,\n "billing_thresholds": null,\n "cancel_at": null,\n "cancel_at_period_end": false,\n "canceled_at": null,\n "cancellation_details": {\n "comment": null,\n "feedback": null,\n "reason": null\n },\n "collection_method": "charge_automatically",\n "created": 1689013254,\n "currency": "eur",\n "current_period_end": 1691691654,\n "current_period_start": 1689013254,\n "customer": "cus_OEsPgUkuj2UIES",\n "days_until_due": null,\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "ended_at": null,\n "items": {\n "object": "list",\n "data": [\n {\n "id": "si_OEsS1oN5wDaYmD",\n "object": "subscription_item",\n "billing_thresholds": null,\n "created": 1689013254,\n "metadata": {},\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "quantity": 4,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "tax_rates": []\n }\n ],\n "has_more": false,\n "total_count": 1,\n "url": "/v1/subscription_items?subscription=sub_1NSOheAbmaEugrFTroSAF0UI"\n },\n "latest_invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "livemode": false,\n "metadata": {},\n "next_pending_invoice_item_invoice": null,\n "on_behalf_of": null,\n "pause_collection": null,\n "payment_settings": {\n "payment_method_options": null,\n "payment_method_types": null,\n "save_default_payment_method": "off"\n },\n "pending_invoice_item_interval": null,\n "pending_setup_intent": null,\n "pending_update": null,\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "quantity": 4,\n "schedule": null,\n "start_date": 1689013254,\n "status": "active",\n "test_clock": null,\n "transfer_data": null,\n "trial_end": null,\n "trial_settings": {\n "end_behavior": {\n "missing_payment_method": "create_invoice"\n }\n },\n "trial_start": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_BBYsx1o7sC9zmg message='Dashboard link for request'
+INFO:werkzeug:127.0.0.1 - - [10/Jul/2023 22:12:30] "POST /myclass/api/strip_update_subscription_qty/ HTTP/1.1" 200 -
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 22:26:12.532712+02:00 (in 599.988995 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:26:12 CEST)" (scheduled at 2023-07-10 22:16:12.532712+02:00)
+INFO:root:2023-07-10 22:16:12.547717 : lundi, 10. juillet 2023 10:16:12 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:10:00], next run at: 2023-07-10 22:26:12 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 3121, in Flask_Cron_Strip_Get_Customer_Abonnement_Data
+ print(" ### Flask_Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\json\__init__.py", line 342, in jsonify
+ return current_app.json.response(*args, **kwargs)
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 316, in __get__
+ obj = instance._get_current_object()
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\local.py", line 513, in _get_current_object
+ raise RuntimeError(unbound_message) from None
+RuntimeError: Working outside of application context.
+
+This typically means that you attempted to use functionality that needed
+the current application. To solve this, set up an application context
+with app.app_context(). See the documentation for more information.
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
+INFO:apscheduler.scheduler:Scheduler has been shut down
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
+INFO:werkzeug: * Restarting with stat
+INFO:root:2023-07-10 22:16:45.233076 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:16:45.233076 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:16:45.234076 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:16:45.234076 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:16:45.234076 : ++ 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-10 22:17:45.299711+02:00 (in 59.998000 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\strype_payement.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-10 22:17:34.818150 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:17:34.818150 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:17:34.818150 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:17:34.818150 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:17:34.818150 : ++ 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-10 22:18:34.894585+02:00 (in 59.997691 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+DEBUG:apscheduler.scheduler:Looking for jobs to run
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 22:18:34 CEST)" (scheduled at 2023-07-10 22:18:34.894585+02:00)
+DEBUG:apscheduler.scheduler:Next wakeup is due at 2023-07-10 22:19:34.894585+02:00 (in 59.990219 seconds)
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OEsPgUkuj2UIES
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=customer=cus_OEsPgUkuj2UIES
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming?customer=cus_OEsPgUkuj2UIES response_code=200
+DEBUG:stripe:body='{\n "object": "invoice",\n "account_country": "FR",\n "account_name": "MYSY Training Technology ",\n "account_tax_ids": null,\n "amount_due": 53955,\n "amount_paid": 0,\n "amount_remaining": 53955,\n "amount_shipping": 0,\n "application": null,\n "application_fee_amount": null,\n "attempt_count": 0,\n "attempted": false,\n "automatic_tax": {\n "enabled": false,\n "status": null\n },\n "billing_reason": "upcoming",\n "charge": null,\n "collection_method": "charge_automatically",\n "created": 1691691654,\n "currency": "eur",\n "custom_fields": null,\n "customer": "cus_OEsPgUkuj2UIES",\n "customer_address": {\n "city": "",\n "country": "",\n "line1": null,\n "line2": null,\n "postal_code": null,\n "state": null\n },\n "customer_email": "mysytraining+dev@gmail.com",\n "customer_name": "MySy Dev Compte",\n "customer_phone": null,\n "customer_shipping": null,\n "customer_tax_exempt": "none",\n "customer_tax_ids": [],\n "default_payment_method": null,\n "default_source": null,\n "default_tax_rates": [],\n "description": null,\n "discount": null,\n "discounts": [],\n "due_date": null,\n "effective_at": null,\n "ending_balance": 0,\n "footer": null,\n "from_invoice": null,\n "last_finalization_error": null,\n "latest_revision": null,\n "lines": {\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NSQRdAbmaEugrFTZ3ZElx6B",\n "object": "line_item",\n "amount": -26933,\n "amount_excluding_tax": -26933,\n "currency": "eur",\n "description": "Unused time on 3 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQRdAbmaEugrFTZ3ZElx6B",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019949\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSQXXAbmaEugrFTchGFVxfE",\n "invoice_line_items": [\n "il_tmp_1NSQOyAbmaEugrFTDKEuS6Dm"\n ]\n }\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-8978"\n },\n {\n "id": "il_tmp_1NSQRdAbmaEugrFTTal676fF",\n "object": "line_item",\n "amount": 35910,\n "amount_excluding_tax": 35910,\n "currency": "eur",\n "description": "Remaining time on 4 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQRdAbmaEugrFTTal676fF",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019949\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 4,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "8978"\n },\n {\n "id": "il_tmp_1NSQOyAbmaEugrFT9YlB2BCF",\n "object": "line_item",\n "amount": -17956,\n "amount_excluding_tax": -17956,\n "currency": "eur",\n "description": "Unused time on 2 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQOyAbmaEugrFT9YlB2BCF",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019784\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "invoice_line_items": [\n "il_1NSOheAbmaEugrFTeBdjWpyr"\n ]\n }\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-8978"\n },\n {\n "id": "il_tmp_1NSQOyAbmaEugrFTDKEuS6Dm",\n "object": "line_item",\n "amount": 26934,\n "amount_excluding_tax": 26934,\n "currency": "eur",\n "description": "Remaining time on 3 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQOyAbmaEugrFTDKEuS6Dm",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019784\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "8978"\n },\n {\n "id": "il_tmp_1b5143AbmaEugrFTbcabe8bf",\n "object": "line_item",\n "amount": 36000,\n "amount_excluding_tax": 36000,\n "currency": "eur",\n "description": "4 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694370054,\n "start": 1691691654\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 4,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "total_count": 5,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES"\n },\n "livemode": false,\n "metadata": {},\n "next_payment_attempt": 1691695254,\n "number": null,\n "on_behalf_of": null,\n "paid": false,\n "paid_out_of_band": false,\n "payment_intent": null,\n "payment_settings": {\n "default_mandate": null,\n "payment_method_options": null,\n "payment_method_types": null\n },\n "period_end": 1691691654,\n "period_start": 1689013254,\n "post_payment_credit_notes_amount": 0,\n "pre_payment_credit_notes_amount": 0,\n "quote": null,\n "receipt_number": null,\n "rendering_options": null,\n "shipping_cost": null,\n "shipping_details": null,\n "starting_balance": 0,\n "statement_descriptor": null,\n "status": "draft",\n "status_transitions": {\n "finalized_at": null,\n "marked_uncollectible_at": null,\n "paid_at": null,\n "voided_at": null\n },\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subtotal": 53955,\n "subtotal_excluding_tax": 53955,\n "tax": null,\n "test_clock": null,\n "total": 53955,\n "total_discount_amounts": [],\n "total_excluding_tax": 53955,\n "total_tax_amounts": [],\n "transfer_data": null,\n "webhooks_delivered_at": null\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_RkbDbinGzebjQL message='Dashboard link for request'
+INFO:stripe:message='Request to Stripe api' method=get path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES
+DEBUG:stripe:api_version=2020-08-27 message='Post details' post_data=
+INFO:stripe:message='Stripe API response' path=https://api.stripe.com/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES response_code=200
+DEBUG:stripe:body='{\n "object": "list",\n "data": [\n {\n "id": "il_tmp_1NSQRdAbmaEugrFTZ3ZElx6B",\n "object": "line_item",\n "amount": -26933,\n "amount_excluding_tax": -26933,\n "currency": "eur",\n "description": "Unused time on 3 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQRdAbmaEugrFTZ3ZElx6B",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019949\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSQXYAbmaEugrFTzvYEA92K",\n "invoice_line_items": [\n "il_tmp_1NSQOyAbmaEugrFTDKEuS6Dm"\n ]\n }\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-8978"\n },\n {\n "id": "il_tmp_1NSQRdAbmaEugrFTTal676fF",\n "object": "line_item",\n "amount": 35910,\n "amount_excluding_tax": 35910,\n "currency": "eur",\n "description": "Remaining time on 4 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQRdAbmaEugrFTTal676fF",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019949\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 4,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "8978"\n },\n {\n "id": "il_tmp_1NSQOyAbmaEugrFT9YlB2BCF",\n "object": "line_item",\n "amount": -17956,\n "amount_excluding_tax": -17956,\n "currency": "eur",\n "description": "Unused time on 2 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQOyAbmaEugrFT9YlB2BCF",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019784\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": {\n "invoice": "in_1NSOheAbmaEugrFTeJxOsryc",\n "invoice_line_items": [\n "il_1NSOheAbmaEugrFTeBdjWpyr"\n ]\n }\n },\n "quantity": 2,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "-8978"\n },\n {\n "id": "il_tmp_1NSQOyAbmaEugrFTDKEuS6Dm",\n "object": "line_item",\n "amount": 26934,\n "amount_excluding_tax": 26934,\n "currency": "eur",\n "description": "Remaining time on 3 × DEV_SPACK_GOLD after 10 Jul 2023",\n "discount_amounts": [],\n "discountable": false,\n "discounts": [],\n "invoice_item": "ii_1NSQOyAbmaEugrFTDKEuS6Dm",\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1691691654,\n "start": 1689019784\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": true,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 3,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "invoiceitem",\n "unit_amount_excluding_tax": "8978"\n },\n {\n "id": "il_tmp_1b5143AbmaEugrFTbcabe8bf",\n "object": "line_item",\n "amount": 36000,\n "amount_excluding_tax": 36000,\n "currency": "eur",\n "description": "4 × DEV_SPACK_GOLD (at €90.00 / month)",\n "discount_amounts": [],\n "discountable": true,\n "discounts": [],\n "livemode": false,\n "metadata": {},\n "period": {\n "end": 1694370054,\n "start": 1691691654\n },\n "plan": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "plan",\n "active": true,\n "aggregate_usage": null,\n "amount": 9000,\n "amount_decimal": "9000",\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "interval": "month",\n "interval_count": 1,\n "livemode": false,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "tiers_mode": null,\n "transform_usage": null,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "price": {\n "id": "price_1MT3FmAbmaEugrFTZ5vyJRcZ",\n "object": "price",\n "active": true,\n "billing_scheme": "per_unit",\n "created": 1674392794,\n "currency": "eur",\n "custom_unit_amount": null,\n "livemode": false,\n "lookup_key": null,\n "metadata": {},\n "nickname": null,\n "product": "prod_MZ6dS05BjL1cLl",\n "recurring": {\n "aggregate_usage": null,\n "interval": "month",\n "interval_count": 1,\n "trial_period_days": null,\n "usage_type": "licensed"\n },\n "tax_behavior": "exclusive",\n "tiers_mode": null,\n "transform_quantity": null,\n "type": "recurring",\n "unit_amount": 9000,\n "unit_amount_decimal": "9000"\n },\n "proration": false,\n "proration_details": {\n "credited_items": null\n },\n "quantity": 4,\n "subscription": "sub_1NSOheAbmaEugrFTroSAF0UI",\n "subscription_item": "si_OEsS1oN5wDaYmD",\n "tax_amounts": [],\n "tax_rates": [],\n "type": "subscription",\n "unit_amount_excluding_tax": "9000"\n }\n ],\n "has_more": false,\n "url": "/v1/invoices/upcoming/lines?customer=cus_OEsPgUkuj2UIES"\n}' message='API response body'
+DEBUG:stripe:link=https://dashboard.stripe.com/test/logs/req_UHKTgRK0gymw0q message='Dashboard link for request'
+INFO:root:2023-07-10 22:18:38.156858 : lundi, 10. juillet 2023 10:18:38 : Envoie des données de prefacturation : - 1 clients ==> A traiter. - 1 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 22:19:34 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 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-10 22:20:34.894585+02:00 (in 59.985660 seconds)
+INFO:apscheduler.executors.default:Running job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 22:20:34 CEST)" (scheduled at 2023-07-10 22:19:34.894585+02:00)
+INFO:root:2023-07-10 22:19:34.911412 : lundi, 10. juillet 2023 10:19:34 : Envoie des données de prefacturation : - 0 clients ==> A traiter. - 0 clients==> traiter OKK. - 0 clients ==> traiter ERREUR.
+ERROR:apscheduler.executors.default:Job "Flask_Cron_Strip_Get_Customer_Abonnement_Data (trigger: interval[0:01:00], next run at: 2023-07-10 22:20:34 CEST)" raised an exception
+Traceback (most recent call last):
+ File "C:\Users\billa\AppData\Local\Programs\Python\Python310\lib\site-packages\apscheduler\executors\base.py", line 125, in run_job
+ retval = job.func(*job.args, **job.kwargs)
+ File "C:\Users\billa\Documents\myclass.com\Siteweb\Production\Ela_back\Back_Office\main.py", line 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\\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-10 22:20:31.535154 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:20:31.535154 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:20:31.535154 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:20:31.535154 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:20:31.535154 : ++ 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-10 22:25:31.599741+02:00 (in 299.997381 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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-10 22:20:57.843471 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2023-07-10 22:20:57.843471 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
+INFO:root:2023-07-10 22:20:57.843471 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
+INFO:root:2023-07-10 22:20:57.843471 : ++ FLASK PORT 5001 ++
+INFO:root:2023-07-10 22:20:57.843471 : ++ 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-10 22:25:57.913316+02:00 (in 299.998328 seconds)
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 372-357-110
+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
diff --git a/abonnement_mgt.py b/abonnement_mgt.py
new file mode 100644
index 0000000..73a3b79
--- /dev/null
+++ b/abonnement_mgt.py
@@ -0,0 +1,411 @@
+"""
+Ce fichier permet de gerer les abonnements d'un partenair.
+
+"""
+
+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
+
+
+"""
+Ajout d'un abonnement
+"""
+def Add_Abonnement(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', "description", "creation_date", "periodicite", "stripe_subscription_id",
+ "last_payement_date", "last_payement_status", "last_payement_amount",
+ "next_payement_date", 'comment']
+ 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', "description", "creation_date", "periodicite", "stripe_subscription_id",
+ ]
+ 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 = {}
+ data['partner_recid'] = diction['partner_recid']
+
+ description = ""
+ if ("description" in diction.keys()):
+ if diction['description']:
+ description = diction['description']
+ data['description'] = diction['description']
+
+ periodicite = ""
+ if ("periodicite" in diction.keys()):
+ if diction['periodicite']:
+ periodicite = diction['periodicite']
+ data['periodicite'] = diction['periodicite']
+
+ creation_date = ""
+ if ("creation_date" in diction.keys()):
+ if diction['creation_date']:
+ creation_date = diction['creation_date']
+ data['creation_date'] = diction['creation_date']
+
+ local_status = mycommon.CheckisDate(creation_date)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La creation_date debut n'est pas au format jj/mm/aaaa ")
+ return False, " La creation_date debut n'est pas au format jj/mm/aaaa "
+
+
+ last_payement_date = ""
+ if ("last_payement_date" in diction.keys()):
+ if diction['last_payement_date']:
+ last_payement_date = diction['last_payement_date']
+ data['last_payement_date'] = diction['last_payement_date']
+
+ local_status = mycommon.CheckisDate(last_payement_date)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La last_payement_date de fin n'est pas au format jj/mm/aaaa ")
+ return False, " La last_payement_date de fin n'est pas au format jj/mm/aaaa "
+
+
+
+ stripe_subscription_id = ""
+ if ("stripe_subscription_id" in diction.keys()):
+ if diction['stripe_subscription_id']:
+ stripe_subscription_id = diction['stripe_subscription_id']
+ data['stripe_subscription_id'] = diction['stripe_subscription_id']
+
+ next_payement_date = ""
+ if ("next_payement_date" in diction.keys()):
+ if diction['next_payement_date']:
+ next_payement_date = diction['next_payement_date']
+ data['next_payement_date'] = diction['next_payement_date']
+
+ local_status = mycommon.CheckisDate(next_payement_date)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La next_payement_date de deliberation n'est pas au format jj/mm/aaaa ")
+ return False, " La next_payement_date de deliberation n'est pas au format jj/mm/aaaa "
+
+
+ last_payement_status = ""
+ if ("last_payement_status" in diction.keys()):
+ if diction['description_critere_selection']:
+ description_critere_selection = diction['description_critere_selection']
+ data['description_critere_selection'] = diction['description_critere_selection']
+
+ comment = ""
+ if ("comment" in diction.keys()):
+ if diction['comment']:
+ comment = diction['comment']
+ data['comment'] = diction['comment']
+
+
+ """
+ Verifier s'il n'y pas deja un abonnement avec le meme stripe_subscription_id et partner_recid
+ """
+ tmp_count = MYSY_GV['abonnement'].count_documents({'stripe_subscription_id': str(stripe_subscription_id),
+ 'valide': '1', 'partner_recid':my_partner['recid']})
+ if (tmp_count > 0):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - Cet abonnement est deja enregistré : stripe_subscription_id = ", str(stripe_subscription_id))
+
+ return False, " - Cet abonnement est deja enregistré "
+
+ data['partner_recid'] = my_partner['recid']
+ data['valide'] = '1'
+ data['locked'] = '0'
+
+ inserted_id = ""
+ inserted_id = MYSY_GV.dbname['abonnement'].insert_one(data).inserted_id
+ if (not inserted_id):
+ mycommon.myprint(
+ " Impossible de créer l'abonnement (1) ")
+ return False, " Impossible de créer l'abonnement (1) "
+
+
+ return True, " L'abonnement 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 l'abonnement "
+
+
+"""
+Mise à jour d'un abonnement
+"""
+def Update_Abonnement(diction):
+
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', "description", "creation_date", "periodicite", "stripe_subscription_id",
+ "last_payement_date", "last_payement_status", "last_payement_amount",
+ "next_payement_date", "comment"]
+
+ 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', 'stripe_subscription_id']
+ 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()):
+ 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 = {}
+
+ description = ""
+ if ("description" in diction.keys()):
+ description = diction['description']
+ data['description'] = diction['description']
+
+ periodicite = ""
+ if ("periodicite" in diction.keys()):
+ periodicite = diction['periodicite']
+ data['periodicite'] = diction['periodicite']
+
+ last_payement_date = ""
+ if ("last_payement_date" in diction.keys()):
+ last_payement_date = diction['last_payement_date']
+ data['last_payement_date'] = diction['last_payement_date']
+
+ local_status = mycommon.CheckisDate(last_payement_date)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La next_payement_date de deliberation n'est pas au format jj/mm/aaaa ")
+ return False, " La next_payement_date de deliberation n'est pas au format jj/mm/aaaa "
+
+ next_payement_date = ""
+ if ("next_payement_date" in diction.keys()):
+ next_payement_date = diction['next_payement_date']
+ data['next_payement_date'] = diction['next_payement_date']
+
+ local_status = mycommon.CheckisDate(next_payement_date)
+ if (local_status is False):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " - La next_payement_date de deliberation n'est pas au format jj/mm/aaaa ")
+ return False, " La next_payement_date de deliberation n'est pas au format jj/mm/aaaa "
+
+
+ description = ""
+ if ("description" in diction.keys()):
+ description = diction['description']
+ data['description'] = diction['description']
+
+ last_payement_status = ""
+ if ("last_payement_status" in diction.keys()):
+ last_payement_status = diction['last_payement_status']
+ data['last_payement_status'] = diction['last_payement_status']
+
+ last_payement_amount = ""
+ if ("last_payement_amount" in diction.keys()):
+ last_payement_amount = diction['last_payement_amount']
+ data['last_payement_amount'] = diction['last_payement_amount']
+
+ comment = ""
+ if ("comment" in diction.keys()):
+ comment = diction['comment']
+ data['comment'] = diction['comment']
+
+
+
+ stripe_subscription_id = ""
+ if ("stripe_subscription_id" in diction.keys()):
+ stripe_subscription_id = diction['stripe_subscription_id']
+
+ """
+ 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"
+
+ inserted_id = ""
+ result = MYSY_GV.dbname['abonnement'].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'abonnement : " + str(stripe_subscription_id))
+ return False, " Impossible de mettre à jour l'abonnement: " + str(stripe_subscription_id) + " "
+
+ return True, " L'abonnement 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'abonnement' "
+
+
+"""
+fonction de recuperation d'un appel d'offre
+"""
+
+
+def Get_Abonnement(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']
+ 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']
+ 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_user = 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. "
+
+ RetObject = []
+ nb_val = 0
+
+ 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 candidats "
diff --git a/appel_offre.py b/appel_offre.py
index 2803028..a141d24 100644
--- a/appel_offre.py
+++ b/appel_offre.py
@@ -376,4 +376,6 @@ 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 "
\ No newline at end of file
+ return False, " Impossible de recuperer la liste des candidats "
+
+
diff --git a/ela_factures_mgt.py b/ela_factures_mgt.py
index 1b234ba..18d6268 100644
--- a/ela_factures_mgt.py
+++ b/ela_factures_mgt.py
@@ -365,7 +365,7 @@ def get_payement_mode(diction):
if val not in field_list:
mycommon.myprint(str(inspect.stack()[0][
3]) + " - Creation partner account : Le champ '" + val + "' n'existe pas, Creation formation annulée")
- return False, " Impossible de recuperer les mode de payement"
+ return False, " Impossible de recuperer les mode de payement", ""
'''
Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente,
@@ -377,7 +377,7 @@ def get_payement_mode(diction):
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
- return False, " Impossible de recuperer les mode de payement"
+ return False, " Impossible de recuperer les mode de payement", ""
# recuperation des paramettre
my_token = ""
@@ -394,17 +394,17 @@ def get_payement_mode(diction):
if retval is False:
mycommon.myprint(str(inspect.stack()[0][3]) + " - La session de connexion n'est pas valide")
- return False, " Impossible de recuperer les mode de payement"
+ return False, " Impossible de recuperer les mode de payement", ""
# Recuperation du recid de l'utilisateur
user_recid = mycommon.get_parnter_recid_from_token(my_token)
if user_recid is False:
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le token de l'utilisateur")
- return False, " Impossible de recuperer les mode de payement"
+ return False, " Impossible de recuperer les mode de payement", ""
if (len(str(my_token)) <= 0):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token est vide")
- return False, " Impossible de recuperer les mode de payement"
+ return False, " Impossible de recuperer les mode de payement", ""
"""
Recuperation du stripe_account_id
@@ -412,7 +412,7 @@ def get_payement_mode(diction):
stripe_account_id = mycommon.get_parnter_stripe_account_id_from_recid(user_recid)
if stripe_account_id is False:
mycommon.myprint(str(inspect.stack()[0][3]) + " - Impossible de recuperer le stripe_account_id de l'utilisateur")
- return False, " Impossible de recuperer les modes de payement"
+ return True, " Impossible de recuperer les modes de payement", "0"
"""
Recuperation de clé de payement stripe : stripe_paymentmethod_id
@@ -421,7 +421,7 @@ def get_payement_mode(diction):
if stripe_paymentmethod_id is False:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - Impossible de recuperer le stripe_paymentmethod_id de l'utilisateur")
- return False, " Impossible de recuperer les modes de payement"
+ return False, " Impossible de recuperer les modes de payement", ""
@@ -539,11 +539,13 @@ def createOrder(diction):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le token est vide")
return False, " Impossible de créer la facture", False
+
new_data = {}
if ("nb_product" in diction.keys()):
if diction['nb_product']:
nb_line = mycommon.tryInt(diction['nb_product'])
+
if ("periodicite" in diction.keys()):
if diction['periodicite']:
new_data['periodicite'] = diction['periodicite']
@@ -824,6 +826,7 @@ def createOrder(diction):
new_data['valide'] = "1"
now = datetime.now()
+
new_data['date_update'] = str(now)
new_data['order_date'] = str(now.strftime("%d/%m/%Y, %H:%M:%S"))
@@ -874,18 +877,56 @@ def createOrder(diction):
# Facturation de la commande
print(" ######## lancement de la facturation total_ttc_float = " + str(total_ttc_float))
- if (total_ttc_float > 0 or len(str(discount_code)) > 2):
- local_invoice_status, local_invoice_retval = CreateInvoice(new_data)
- if( local_invoice_status == False):
- return False, local_invoice_retval, None
- else:
- # La facture a bien été créée, on va mettre à jour le client/partenaire avec les champ : "send_pre_invoice_data" à '1', "date_time_pre_invoice_created" à date_time_now.
- ret_val_local = MYSY_GV.dbname['partnair_account'].find_one_and_update({"recid":str(user_recid), 'active':'1', 'locked':'0'},
- {"$set": {'send_pre_invoice_data':'1', 'datetime_pre_invoice_created':str(datetime.now())}},
- upsert=False,
- return_document=ReturnDocument.AFTER
- )
+ # Recuperation des données du partenaire
+ local_status_01, my_partner_01 = mycommon.get_partner_data_from_recid(user_recid)
+ if (local_status_01 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. "
+
+ #print(" ### my_partner_01 = ", str(my_partner_01))
+
+ if ("stripe_subscription_id" in my_partner_01.keys()):
+ new_data['stripe_subscription_id'] = my_partner_01['stripe_subscription_id']
+
+
+ #print(" ### new_data = ", str(new_data))
+
+
+ """
+ Ici creation de la facture mysy
+ Regle : On ne crée et envoie que la première facture du client.
+ Toutes les autres mises à jour ou changement d'abonnement
+ ne seront envoyé qu'apres payement dans stripe.
+ """
+ # Verifier si on a deja une 1ere facture
+ has_stripe_invoice = False
+ if( "stripe_account_id" in my_partner_01.keys() ):
+ has_stripe_invoice = Stripe.Stripe_Customer_Has_Invoice(my_partner_01['stripe_account_id'])
+
+ if( has_stripe_invoice is False ):
+ print(" ### Il s'agit de la 1ere facturation pour le client ")
+ if (total_ttc_float > 0 or len(str(discount_code)) > 2):
+ local_invoice_status, local_invoice_retval = CreateInvoice(new_data)
+ if( local_invoice_status == False):
+ return False, local_invoice_retval, None
+ """else:
+ # La facture a bien été créée, on va mettre à jour le client/partenaire avec les champ : "send_pre_invoice_data" à '1', "date_time_pre_invoice_created" à date_time_now.
+ ret_val_local = MYSY_GV.dbname['partnair_account'].find_one_and_update({"recid":str(user_recid), 'active':'1', 'locked':'0'},
+ {"$set": {'send_pre_invoice_data':'1', 'datetime_pre_invoice_created':str(datetime.now())}},
+ upsert=False,
+ return_document=ReturnDocument.AFTER
+ )
+ """
+ else:
+ print(" ### Il NE s'agit PAS de la 1ere facturation du client ",str(my_partner_01['stripe_account_id']))
+ # La facture a bien été créée, on va mettre à jour le client/partenaire avec les champ : "send_pre_invoice_data" à '1', "date_time_pre_invoice_created" à date_time_now.
+ ret_val_local = MYSY_GV.dbname['partnair_account'].find_one_and_update(
+ {"recid": str(user_recid), 'active': '1', 'locked': '0'},
+ {"$set": {'send_pre_invoice_data': '1', 'datetime_pre_invoice_created': str(datetime.now())}},
+ upsert=False,
+ return_document=ReturnDocument.AFTER
+ )
# Apres la facturation, on met à jour le display_ranking des formations du partenaire.
@@ -930,7 +971,8 @@ Cette fonction créer une facture
"""
def CreateInvoice(diction):
try:
- field_list_obligatoire = ['client_recid', 'invoice_nom', 'order_id', 'order_date', 'total_ttc','total_tva','total_ht','item_0']
+ field_list_obligatoire = ['client_recid', 'invoice_nom', 'order_id', 'order_date', 'total_ttc','total_tva',
+ 'total_ht','item_0', 'stripe_subscription_id']
for val in field_list_obligatoire:
if val not in diction:
@@ -1009,7 +1051,7 @@ def CreateInvoice(diction):
return_document=ReturnDocument.AFTER
)
- if (ret_val_order['_id'] is False):
+ if ("id" not in ret_val_order.keys()):
mycommon.myprint(
" Impression de mettre à jour la date de la prochaine facturation de la commande : ° " + str(diction['order_id']) + " ")
diff --git a/main.py b/main.py
index 3e8cdfe..15d3202 100644
--- a/main.py
+++ b/main.py
@@ -3,6 +3,8 @@ import atexit
from flask import make_response, request, current_app, Flask, jsonify
from functools import update_wrapper
import json
+
+import strype_payement
import wrapper as wp
import ela_user_account as eua
import prj_common as pc
@@ -3105,13 +3107,33 @@ Les conditions :
@app.route('/myclass/api/Cron_Strip_Get_Customer_Abonnement_Data/', methods=['POST','GET'])
@crossdomain(origin='*')
def Cron_Strip_Get_Customer_Abonnement_Data():
- # On recupere le corps (payload) de la requete
- payload = mycommon.strip_dictionary (request.form.to_dict())
- print(" ### Cron_Strip_Get_Customer_Abonnement_Data : payload = ",payload)
+ print(" ### Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
localStatus, message = Stripe.Cron_Strip_Get_Customer_Abonnement_Data()
return jsonify(status=localStatus, message=message)
+"""
+Fonction de traitement du cron interne avec Flak.
+Flak ne supporte pas "@app.route" pour lancer les cron,
+c'est pour cela qu'on recrée la meme entrée sans "@app.route"
+"""
+def Flask_Cron_Strip_Get_Customer_Abonnement_Data():
+ print(" ### Flask_Cron_Strip_Get_Customer_Abonnement_Data : payload = ")
+ localStatus, message = Stripe.Cron_Strip_Get_Customer_Abonnement_Data()
+ return jsonify(status=localStatus, message=message)
+
+
+
+"""
+API de test Stripe
+"""
+@app.route('/myclass/api/test_stripe/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def test_stripe():
+ # On recupere le corps (payload) de la requete
+ print(" ### test_stripe : payload = ")
+ localStatus, message = Stripe.test_stripe()
+ return jsonify(status=localStatus,)
if __name__ == '__main__':
@@ -3131,23 +3153,37 @@ if __name__ == '__main__':
mycommon.myprint("++ DBNAME " + str(MYSY_GV.dbname) + " ++")
mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_DEV) + " ++")
mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++")
- app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True)
+
scheduler = BackgroundScheduler()
- scheduler.add_job(func=Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", seconds=30)
+ # Create the job
+ scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=5)
+ # Start the scheduler
scheduler.start()
- mycommon.myprint("++ LANCEMENT JOB Cron_Strip_Get_Customer_Abonnement_Data TOUTES LES 60 sec ++")
-
-
- # Shut down the scheduler when exiting the app
+ # /!\ IMPORTANT /!\ : Shut down the scheduler when exiting the app
atexit.register(lambda: scheduler.shutdown())
+ app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True)
+ # Create the background scheduler
+
+
elif (MYSY_GV.MYSY_ENV == "REC"):
mycommon.myprint(" ++++ ENVIRONNEMENT DEVELOPPEMENT ++++")
mycommon.myprint("++ DATABASE " + MYSY_GV.CONNECTION_STRING + " ++")
mycommon.myprint("++ DBNAME " + str(MYSY_GV.dbname) + " ++")
mycommon.myprint("++ FLASK PORT " + str(MYSY_GV.MYSY_PORT_REC) + " ++")
mycommon.myprint("++ LMS_BAS_URL " + str(MYSY_GV.LMS_BAS_URL) + " ++")
+
+ scheduler = BackgroundScheduler()
+ # Create the job
+ scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=5)
+ # Start the scheduler
+ scheduler.start()
+
+ # /!\ IMPORTANT /!\ : Shut down the scheduler when exiting the app
+ atexit.register(lambda: scheduler.shutdown())
+
+
app.run(host='localhost', port=MYSY_GV.MYSY_PORT_REC, debug=True, threaded=True)
diff --git a/prj_common.py b/prj_common.py
index 5755db2..e8010f9 100644
--- a/prj_common.py
+++ b/prj_common.py
@@ -316,6 +316,11 @@ def get_parnter_stripe_account_id_from_recid(recid = ""):
print(" #### recid = "+str(recid))
coll_partner = MYSY_GV.dbname['partnair_account']
tmp_val = coll_partner.find({'recid': str(recid), 'active': '1', 'locked':'0'})
+
+ if( "stripe_account_id" not in tmp_val[0].keys()):
+ myprint(" Pas de champ : stripe_account_id")
+ return False
+
stripe_account_id = tmp_val[0]['stripe_account_id']
return stripe_account_id
diff --git a/statistics.py b/statistics.py
index b11cb75..ab0f1fc 100644
--- a/statistics.py
+++ b/statistics.py
@@ -570,6 +570,8 @@ def Get_X_Best_Class_On_Given_period(diction):
def test_return():
try:
+
+
insertObject = []
nb_val ={'nb_formation':'2'}
tmp_val0 = {}
diff --git a/strype_payement.py b/strype_payement.py
index 4a00fdf..9cebe60 100644
--- a/strype_payement.py
+++ b/strype_payement.py
@@ -631,18 +631,76 @@ def create_subscription(diction):
now = datetime.now()
ret_val = local_coll_name.find_one_and_update({'stripe_account_id':customer_id, 'active':'1', 'locked':'0'},
{"$set":
- {"stripe_subscription_id":str(subscription['id']), "date_update": str(now)}
+ {"stripe_subscription_id":str(subscription['id']),
+ "stripe_subscription_created_timestemp": str(subscription['created']),
+ "date_update": str(now)}
},
upsert=False,
return_document=ReturnDocument.AFTER
)
- if (ret_val is None or ret_val['_id'] is None):
+ if ('_id' not in ret_val.keys()):
mycommon.myprint(
str(inspect.stack()[0][3]) + " - Creation payement : impossible de mettre à jour le client")
return False, False, "Creation payement : impossible de mettre à jour le client"
+ """
+ /!\ Une fois l'abonnement créer, il faut l'enregistrer dans la collection 'abonnement'
+ """
+ # Recuperation du recid du client dans mysy
+ local_partner_data = MYSY_GV.dbname['partnair_account'].find_one({'stripe_account_id':customer_id, 'active':'1', 'locked':'0'})
+
+ if( 'recid' not in local_partner_data):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Creation payement : impossible de recuperer les données client (3)")
+ return False, False, "Creation payement : impossible de recuperer les données client (3) "
+
+
+ abonnement_data = {}
+
+ abonnement_data['partner_recid'] = local_partner_data['recid']
+
+ print(" ### ret_val apres souscription id = ", str(ret_val))
+
+ if ('_id' in ret_val.keys()):
+ abonnement_data['stripe_subscription_id'] = ret_val['_id']
+
+ if ('billing_cycle_anchor' in ret_val.keys()):
+ abonnement_data['billing_cycle_anchor'] = abonnement_data['billing_cycle_anchor']
+
+ if ('created' in ret_val.keys()):
+ abonnement_data['created'] = abonnement_data['created']
+
+ if ('current_period_end' in ret_val.keys()):
+ abonnement_data['current_period_end'] = abonnement_data['current_period_end']
+
+ if ('customer' in ret_val.keys()):
+ abonnement_data['stripe_customer_id'] = abonnement_data['customer']
+
+ if ('latest_invoice' in ret_val.keys()):
+ abonnement_data['latest_invoice'] = abonnement_data['latest_invoice']
+
+ if ('status' in ret_val.keys()):
+ abonnement_data['status'] = abonnement_data['status']
+
+ now = datetime.now()
+ abonnement_data['date_update'] = str(now)
+
+ ret_val_abonnement = MYSY_GV.dbname['abonnement'].find_one_and_update(
+ {'stripe_subscription_id': str(ret_val['_id']), },
+ {"$set":
+ abonnement_data
+ },
+ upsert=True,
+ return_document=ReturnDocument.AFTER
+ )
+
+ if ('_id' not in ret_val_abonnement.keys()):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - Creation payement : impossible de finaliser la creation de l'abonnement")
+ return False, False, "Creation payement : impossible de finaliser la creation de l'abonnement"
+
return True, subscription.latest_invoice.payment_intent.id, subscription.latest_invoice.payment_intent.client_secret
@@ -1370,14 +1428,14 @@ def Cron_Strip_Get_Customer_Abonnement_Data():
query = {}
query['send_pre_invoice_data'] = '1'
- query['datetime_pre_invoice_created'] = { '$lte' : str( datetime.now() - timedelta(minutes=5) )}
+ query['datetime_pre_invoice_created'] = { '$lte' : str( datetime.now() - timedelta(minutes=3) )}
#{}: {"$lte" :1355414400} #datetime.datetime.now() - datetime.timedelta(minutes=5)
query['locked'] = '0'
query['active'] = '1'
- print(" ### query = ", query)
+ #print(" ### query = ", query)
cpt = 0
cpt_erreur = 0
@@ -1402,11 +1460,63 @@ def Cron_Strip_Get_Customer_Abonnement_Data():
return_document=ReturnDocument.AFTER
)
-
-
- return True, "Envoie des données de prefacturation : - "+str(cpt)+ " clients ==> A traiter. - "+str(cpt_ok)+ " clients==> traiter OKK. - "+str(cpt_erreur)+ " clients ==> traiter ERREUR. "
+ output_message = time.strftime("%A, %d. %B %Y %I:%M:%S %p")+" : Envoie des données de prefacturation : - "+str(cpt)+ " clients ==> A traiter. - "+str(cpt_ok)+ " clients==> traiter OKK. - "+str(cpt_erreur)+ " clients ==> traiter ERREUR. "
+ mycommon.myprint(str(output_message))
+ return True, str(output_message)
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
- return False, " Impossible de recuperer les données de l'abonnement "
+ return False, time.strftime("%A, %d. %B %Y %I:%M:%S %p")+" Impossible d'executer le job : Cron_Strip_Get_Customer_Abonnement_Data "
+
+
+
+"""
+Cette fonction verifie si un client a deja une facture stripe.
+si c'est le cas, ca veut qu'on est en mode update avec ce client
+si non il faut créer la première facture
+"""
+def Stripe_Customer_Has_Invoice(stripe_customer_id):
+ try:
+
+ retval = stripe.Invoice.search(query="customer:'"+str(stripe_customer_id)+"'")
+
+ stripe_list_invoice_JSON = json.loads(str(retval))
+
+ for val in stripe_list_invoice_JSON["data"] :
+ if( "id" in val.keys() ):
+ return True
+
+ return False
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
+ return False
+
+
+
+"""
+fonction de test stripe
+"""
+def test_stripe():
+ try:
+
+ retval = stripe.Invoice.search(query="customer:'cus_OEsPgUkuj2UIES'")
+ #print(" #### retval = ", str(retval))
+
+ stripe_list_invoice_JSON = json.loads(str(retval))
+
+
+ for val in stripe_list_invoice_JSON["data"] :
+ print(" #### stripe_list_invoice_JSON_data = ", str(val))
+ if( "id" in val.keys() ):
+ print(" ### l'id de la facture est ", str(val['id']))
+
+ return "OK"
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - ERRORRRR AT Line : " + str(exc_tb.tb_lineno))
+ return False
+